From patchwork Wed Feb 6 10:25:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 157596 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp6240654jaa; Wed, 6 Feb 2019 02:26:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IYlsmhVIGd5/IZh/3tV2JVehSsEo/RHP5hZRNpn35oJSuXrnzF05mWvz8lrBDe+qV4SjV8J X-Received: by 2002:a63:200e:: with SMTP id g14mr8977074pgg.235.1549448768280; Wed, 06 Feb 2019 02:26:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549448768; cv=none; d=google.com; s=arc-20160816; b=fAytzHoiUpui/LT4CaqlBs0GxgVWrixbsH7mxBsxkTIFQtuDokX42jMwIQpoHHRjdq /XFCqOj2btkg9zkwtYNcBeRz7WKcoAJzTYZ07gUlR7jJcCLWL69uh7ENaVqpT3x/6Yli z5ztPaWOQ91tFwFl7P9loseWIkZakO+WBPbfQFbDGoXxp0xhh87F2uXXvg+G3lmg+dMq rAiRyZVmD2s8ug6L7nNmbvFCWn+IEFd3Qdp/91KRfIPrmo00YivLQ/IXPcWimGVrtN/n +ZZ6J4vHzWY48crjvSj2mIGQT19IFNNWijYerXjLZ8YlwHxrGNhenivYR++mnjBcDtc7 muyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PZIgvxbRSp4W/ltSJos2CgWWjWg2sGcAUX9XqZxaGQg=; b=zrVaqT1qpx90ACV8Ujti2d7k/A5cemoR4jd3MERuIvrrrGvOH+Qi09yKglkxJKjWjM vlBFLipAQcm2M8JmafKhAjWdqg09PG6WnHdDBjwSTBe/xkmsCV3EFIjOR4m54oxoVZMG HQ7XEnVOtGdW4+2Mb8dS8C2uO/ZC0WU6h0T6QGBRlZlHsnWidkqMAz50ho9xpEd4xLM2 VrgP13FbpH0tiKbffCKpH7n3ip5nG6oOGBrbO3SsPZ2Q8fg3jkgN5HLhTNnwrBb783M9 TspzPv2OxOOou27nec1NB2856S+OYHcyJubBomXjwdAmWYNfk03OSkVC260A9zucBMk3 s96g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r4lDcVNT; 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 90si776785plf.62.2019.02.06.02.26.08; Wed, 06 Feb 2019 02:26:08 -0800 (PST) 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=r4lDcVNT; 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 S1729380AbfBFK0G (ORCPT + 4 others); Wed, 6 Feb 2019 05:26:06 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39222 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729393AbfBFK0F (ORCPT ); Wed, 6 Feb 2019 05:26:05 -0500 Received: by mail-wr1-f67.google.com with SMTP id t27so6894452wra.6 for ; Wed, 06 Feb 2019 02:26:04 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=PZIgvxbRSp4W/ltSJos2CgWWjWg2sGcAUX9XqZxaGQg=; b=r4lDcVNTjvknTqzUaXnaOuK0xVjaXCSPSujK0IQCcAnfEQGfhxxYS0/d7w/mlgOY7i zZ/qAWx70TM+cXmUNRHqEztfHGCN6b/8gyhqMmKDtatdD6YUf1pDSaE3rtCYdVWqtRVo AKYrlK5kuzvmXRBhiy8xq1S/eZq6FQS5wZaH6Q6x3HtYujMt8ii7rUlOEYTAIY9EVFWq MEzgZE3uCasYiFQNgJnJIxEMMfvjk0uFtudiVIeUfCgCfYsD9n3s07iu+gsO3rg7IoXv P1DY6uKvmSPh6eCSWD/7xjDlYsLuklrlvFMM4HMvdCyCS+1UR1b/Z2CIF28Xjm5V3zYH Fhmg== 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:mime-version:content-transfer-encoding; bh=PZIgvxbRSp4W/ltSJos2CgWWjWg2sGcAUX9XqZxaGQg=; b=LL5xmiyJBJzoKkNXNGzJ+C+GP8wuWYOuw05rnnBLFciUB/2JivxyjtEV2esq+zDhtS quMwBFcmk7EcEhgqtP42CHhJFjylCqmrRYYX/V1dy8qcSI8s/B/sCzR5YwjRWjOzmGi8 nsI6GdBiUAQ1j1nM9XKFy11qCY5bc9ilBoKATpeb+4vw4fD9Eu+v0IB9JkSXL9sBFDBK CRRsjuAiMlchCHI2hTdL35Z85JupPBXHZdkD9z7zs7aLB9S0ygRwmOMmOK7qjOBcyiVy KMLUPii7m8AhB14qQavXF2sAir9MytL9DSpWcjkY2zhUTokTuxT9iyoMERmbQR9oNHr2 v6Eg== X-Gm-Message-State: AHQUAub+WSjGf4UmnDzwx4IBxIofBzdeLS0cDDX2Guy+NMBuGscf4AZ5 EArptKAf73ThP3efbSt8jfXwpA== X-Received: by 2002:adf:e589:: with SMTP id l9mr6988959wrm.312.1549448764101; Wed, 06 Feb 2019 02:26:04 -0800 (PST) Received: from arch-late.local (a109-49-46-234.cpe.netcabo.pt. [109.49.46.234]) by smtp.gmail.com with ESMTPSA id i192sm18149631wmg.7.2019.02.06.02.26.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Feb 2019 02:26:03 -0800 (PST) From: Rui Miguel Silva To: sakari.ailus@linux.intel.com, Steve Longerbeam , Hans Verkuil , Philipp Zabel Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , Rui Miguel Silva Subject: [PATCH v13 07/13] ARM: dts: imx7s: add multiplexer controls Date: Wed, 6 Feb 2019 10:25:16 +0000 Message-Id: <20190206102522.29212-8-rui.silva@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190206102522.29212-1-rui.silva@linaro.org> References: <20190206102522.29212-1-rui.silva@linaro.org> MIME-Version: 1.0 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 Reviewed-by: Philipp Zabel --- arch/arm/boot/dts/imx7s.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 9a680d3d6424..792efcd2caa1 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -497,8 +497,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 = <0>; + mux-reg-masks = <0x14 0x00000010>; + }; }; ocotp: ocotp-ctrl@30350000 {