From patchwork Mon Apr 23 13:47:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 134008 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1021460lji; Mon, 23 Apr 2018 06:49:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx48ncrYs8nnl/FKEHPRvqdqMH7I0/i5HMYGTCn9TQfCW+pN4WGPzWq8MTll5ZR7eGEuxQT4S X-Received: by 2002:a17:902:76c7:: with SMTP id j7-v6mr20902600plt.108.1524491345115; Mon, 23 Apr 2018 06:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524491345; cv=none; d=google.com; s=arc-20160816; b=coK0wPrzoRTmravPdpH49MxJnR7LEWfPQUqTbhM1I+REYos5ugidStoTmj6stQxDUb d7AiFXz82YAtpssKgUmGFfmdruarZ3NzzsWKcrJAHAnGMb0M7RaMzCttVNXhA2aOeROr V6B54sg3NZt4wCRM/lruTB4xkFB0eNB56EeENAN0jVqDCZxlLgWnjWLLqqzXkAdKTjeD ifjkrs1klOgY5BZ8aMgDNGv9Chqmfsjh0PimGcva5mNJWJCfmx1dOEgeCdrInGxEXDP2 CwVmQQ0mklJ+LIwsNA0+ELjYVA2dwEbS0vn3rGBFph8BtZvs2iMV3abN9jc80vAsM9ZF 00Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Xa4v1qUIiXCo5Ho2lIiBxLnUGEl1BaTMlbR/f3J2gKI=; b=a5zilKl33BjNEJR0Rig2YErCl/Aq4RZUNzLb10m42ujhcFDDPhPRn5hUFVkoyIjc1x vGhl+VbUd9k3z224H5y12Ki5ICMKixLdr78BLVIrIJ/sYU1n+S9EkrJCpZJbvGm+NOTN h3XhvPXYxQZGaVSBDm82uNODI73dDNHJraMAaMbH+HKM/HUU9sMQ+ihoe9mFdzhDUU4/ 03VLRkorNVV5VUR0TR9ExBFXq1sDHBJkbfx+ZFcHs9n/HkCe87lbBsimM2JnDYtKy1ag FK4cxlOmNwXQYaAzJNvsKSsDcx9InuaqwjwC8qcfR9Zj5GXMIUS/P2BPoA93vnxVO0/q RmIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NvIRyypL; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7si9006758pgv.251.2018.04.23.06.49.04; Mon, 23 Apr 2018 06:49:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NvIRyypL; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755381AbeDWNtC (ORCPT + 5 others); Mon, 23 Apr 2018 09:49:02 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:44617 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755372AbeDWNs6 (ORCPT ); Mon, 23 Apr 2018 09:48:58 -0400 Received: by mail-wr0-f193.google.com with SMTP id o15-v6so41482558wro.11 for ; Mon, 23 Apr 2018 06:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Xa4v1qUIiXCo5Ho2lIiBxLnUGEl1BaTMlbR/f3J2gKI=; b=NvIRyypLJHibBP3w4yYDSRlHVPXkRKJWeV0NO/0LNdBaGzr4PT+R+2SjEpdWIUM4AI 3JJDM7upWhnYXFg4EydWX2KgeYpC304zOhU+pLKiARyRG/GxNUD9rtYq8UkrjfKXC8ou C9467LUkrz+p3HzOBN4qL+9qLJhk3l+muBqfY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Xa4v1qUIiXCo5Ho2lIiBxLnUGEl1BaTMlbR/f3J2gKI=; b=snCyRwLmgc5sZJhWc5VPkeDWDtd13RuwG23D7q4g7uuRx+RxywRXH8xuC0BpmfNDvM eRp+g9KGklvIYyOHgoog+i5kUcqE5mGPovzBBjqK7FV5pXeULZKqAplbKxCQJJizxOAs mTeyVqFXi/i8tDMmqK9z8hQt8lfqhUG1dtvfhplRhfdXJW/XyGJeKAbf2UmVLoLJaePh sMgLa1o2z5DUf81ll7jchCCTFU33G35Ab/x8oyM8+9zO0MxGCnJgRNyn/i80iFtKuV+j QfyuIzlOp6/O8Fz2d0i3/W4d5B8hFBEjuzkm/+Kf9rH71i/hVHWg7M4VCn0vnkA3r+wB vyhA== X-Gm-Message-State: ALQs6tD8qyKsTpcIO85T5s5kq2WnG/nqBJyb+WYaag5mqlACLIB3OeSL 7reCDcraztRa6lzqZWYeCVmePg== X-Received: by 10.28.45.86 with SMTP id t83mr9895198wmt.118.1524491337637; Mon, 23 Apr 2018 06:48:57 -0700 (PDT) Received: from localhost.localdomain ([2001:8a0:6606:9100:b159:5390:182d:7dce]) by smtp.gmail.com with ESMTPSA id n14-v6sm14680319wrj.16.2018.04.23.06.48.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 06:48:56 -0700 (PDT) From: Rui Miguel Silva To: mchehab@kernel.org, sakari.ailus@linux.intel.com, Steve Longerbeam , Philipp Zabel , Rob Herring Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Shawn Guo , Fabio Estevam , devicetree@vger.kernel.org, Greg Kroah-Hartman , Ryan Harkin , Rui Miguel Silva Subject: [PATCH v2 10/15] ARM: dts: imx7s: add multiplexer controls Date: Mon, 23 Apr 2018 14:47:45 +0100 Message-Id: <20180423134750.30403-11-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180423134750.30403-1-rui.silva@linaro.org> References: <20180423134750.30403-1-rui.silva@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The IOMUXC General Purpose Register has bitfield to control video bus multiplexer to control the CSI input between the MIPI-CSI2 and parallel interface. Add that register and mask. Signed-off-by: Rui Miguel Silva --- arch/arm/boot/dts/imx7s.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 2.17.0 diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index d913c3f9c284..3027d6a62021 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -534,8 +534,15 @@ gpr: iomuxc-gpr@30340000 { compatible = "fsl,imx7d-iomuxc-gpr", - "fsl,imx6q-iomuxc-gpr", "syscon"; + "fsl,imx6q-iomuxc-gpr", "syscon", "simple-mfd"; reg = <0x30340000 0x10000>; + + mux: mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + + mux-reg-masks = <0x14 0x00000010>; + }; }; ocotp: ocotp-ctrl@30350000 {