From patchwork Fri May 18 09:28:02 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: 136266 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp998282lji; Fri, 18 May 2018 02:28:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq0FTxDkR1zLTwY6ghA4hzdo++WZ4/iR7BcinUFoYVTpOza5Na60pUlzBNF1rsfd0mOzy4y X-Received: by 2002:a17:902:3103:: with SMTP id w3-v6mr8547591plb.37.1526635729126; Fri, 18 May 2018 02:28:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526635729; cv=none; d=google.com; s=arc-20160816; b=WikjFui3/0QelML2UgkENLnbyKlO7mDFe9JwBtlWBo+bd7g52BUYxdlL6usezdNEyo 3hMgXhqomNGBwCSHUQunBxDOv4hu2ZlpqRSGW4TEyTLj8HjUlmYSwTm+FMhQelj8qtzc oEUu+0vxmruVWA/Woivjgr8B13t+vLczxwHOl4c3mBktsAMyzw3zS6POmSdF/5arKmHB XiL4QRx/e+OQWp3NOI84nHJkKjk8U243h0zjIwd1jLSrF5hpQR3TGwH2L55TDWtMoBQY gmC2I+lJv66CfCIS9A5zGetej/uB0cfUFqwB8dxlWP2gMTEjnrb9FPMT9YmdL1FT+JUp ZM1A== 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=1m6wt/I5Xqy7lleY5kPyQEHM8qrCIpW/qcpICtTnOfs=; b=IxIdQnOKVLQIIdsoAXXCqXLdvBnoT8WcQAZBYQKANnRvRP8S05cQYI0w5RGlj//fMo eQGsOsR7hnME/gmVN/lThELxS6VYOWPNHav+sjRJFvjh8a190o1Thx2xuT1qqdr3Uq1m u+Aw+551vKkrkS+cl5Y7iHTjKvQ5sh6n/u9WyEYn2BhqwZb+yJl2GMVbPsHO75s2UCKL NFEN2OXPmYUy2ngG6DB+AlCToUVJZZ/2d8kgxo91uRZq3sbXN5z2xc5UKHIJtalqWMZ/ i0V4eGJJIz58Wf5iVN0GZfJm+xeF/78YWdJAdRR/T8xydwR7qtWMW5M2rBuQYe+CPvxK 0kCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jpRR32mu; 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 33-v6si7053191plk.83.2018.05.18.02.28.48; Fri, 18 May 2018 02:28:49 -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=jpRR32mu; 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 S1752925AbeERJ2q (ORCPT + 4 others); Fri, 18 May 2018 05:28:46 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:44829 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753392AbeERJ2n (ORCPT ); Fri, 18 May 2018 05:28:43 -0400 Received: by mail-wr0-f195.google.com with SMTP id y15-v6so8455539wrg.11 for ; Fri, 18 May 2018 02:28:43 -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=1m6wt/I5Xqy7lleY5kPyQEHM8qrCIpW/qcpICtTnOfs=; b=jpRR32muL20k0jOEA9gQ7qI7UxOnpRWfLd8bFVSFn7pr26CY4NdoDPKJ3WXZykw9Zm 9EHRorIsUqTRl/S2a5UKGteSX3bwH/2V5lgSVE+8hSU32shzb5C9+IDm6iBQeUQMPwht TWvPj5s2Sc7Il3wHy12+0s7QpHBRaHdVWayfU= 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=1m6wt/I5Xqy7lleY5kPyQEHM8qrCIpW/qcpICtTnOfs=; b=Fxy7+mQCp5EMnJyVgbY8MQGYXH8XLs0GKvKay2SJgx3ERWGtq5w74S4h0fQD7e7ZJ7 URmxYqrRN3qMBrqiNcfUVTHQRWSACwietsVtyqc0tqfxzaWCsRxFyFIjz81bP6arxN/V X5M20xSDBZiHUcN6ccWnkEz6xQrFMKOaRNaXF+J4414iWE5U4mt4Is9VJ7G2xZ+UshyA 7M7sFXgpX8ThOBe47PEyWyqo6lTTAND+Ua/34JS2DR7rnp1B0OpwY4QVC7qAIG5NFXl7 BenqIF/PVFP4F/VyEi6IVCcI2/EOLoJePihaQf75VZkWtWegFCHdlqgS+u+tE1jW++iI dcPQ== X-Gm-Message-State: ALKqPwcEDQR8hZMG+Q6CfjFSUtOc5xIBqhK6G2ZVZegQ0/AnqVCdwBjC X/KX6janWienjNjAhTwHOuQOrw== X-Received: by 2002:adf:adf0:: with SMTP id w103-v6mr7513641wrc.101.1526635722474; Fri, 18 May 2018 02:28:42 -0700 (PDT) Received: from arch-late.local (a109-49-46-234.cpe.netcabo.pt. [109.49.46.234]) by smtp.gmail.com with ESMTPSA id d125-v6sm6544514wmd.24.2018.05.18.02.28.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 02:28:41 -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 , linux-clk@vger.kernel.org, Rui Miguel Silva Subject: [PATCH v5 08/12] ARM: dts: imx7s: add multiplexer controls Date: Fri, 18 May 2018 10:28:02 +0100 Message-Id: <20180518092806.3829-9-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180518092806.3829-1-rui.silva@linaro.org> References: <20180518092806.3829-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 Reviewed-by: Philipp Zabel --- arch/arm/boot/dts/imx7s.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.17.0 diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 67450ad89940..3590dab529f9 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -520,8 +520,14 @@ 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 {