From patchwork Fri Aug 10 14:20:40 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: 143935 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp15948ljj; Fri, 10 Aug 2018 07:21:50 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyybBozJHgyJtlAN6BQPKnc1mgvPsv2GeagjTexFjKZUB3sHHnK2R5yi6fu15bLdWo4JTaL X-Received: by 2002:a17:902:76c7:: with SMTP id j7-v6mr6351438plt.275.1533910910386; Fri, 10 Aug 2018 07:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533910910; cv=none; d=google.com; s=arc-20160816; b=bMlVoQgS9B4myFgMC82ngyqopCK4Yyb8rXdwOuzs+emlwsscbbbxcUdW+1+9NuOG9h RFNhGXgnD/PtKlrMxX+6y2z67DhKA0Jb5UsgtTPu2a0kYmXrQ0DF0BZ6teuarOvN3a4c 37tq0dFnZ4Njuemy6Hui/JYi9bqGyEUJ+bb4/HaYtG2r5fTScQ3/l/y2LjTAOUMUVGcj AZggiu+g6mzKer9UTqqYG3GM0uAH49CDLabj2k01xUPrzpbcWdK3wmH3HAd2oTa1ZMt9 m0fOUoZQKGTSL2hJZYu8BsjfjeCKr7cUvl6oVpSey56d54kJOXzOC2jRE4g4QPCjdsea HPeA== 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=n9zzKDPmKdR5LHHLq7O0JVaGG4NvFBHS7OWGbVGVKR0=; b=tAIAmUEDWngktiTyq6SxdRghzssOzs79PWfV5AMdEreMQigVMDDNDYUt14hFeh3b5B 7FF2Q7gGid3CJ5PzprwDdH+1w0LzR6dNLdMn5JffM4kt6jYJ7vxmrLt3BaYn84YdSoOs sdcAIYCX2Xdm4Po9xiHU12eBJ8sM1+qEAkG2FOUScIJ8vtCi386JHW4Sw8pVrFVT2rDR acl3Iay7ns3svhva0iW9+3KziIntMB/pMYQQYMnxNeVatkMMNN089ZzuXYXuGJCGzmW/ vMJ84sVDgbB5kNz8Bc8Pb3RhqDv2hGnDxdsK8c4cwJetbW2q+U7cz58ZLSj0ojvB71Yk d/+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kcO5P2c1; 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 91-v6si7981107ply.405.2018.08.10.07.21.50; Fri, 10 Aug 2018 07:21:50 -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=kcO5P2c1; 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 S1728211AbeHJQv4 (ORCPT + 4 others); Fri, 10 Aug 2018 12:51:56 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:52019 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728188AbeHJQvz (ORCPT ); Fri, 10 Aug 2018 12:51:55 -0400 Received: by mail-wm0-f66.google.com with SMTP id y2-v6so2108974wma.1 for ; Fri, 10 Aug 2018 07:21:48 -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=n9zzKDPmKdR5LHHLq7O0JVaGG4NvFBHS7OWGbVGVKR0=; b=kcO5P2c1oaHFyIeQSlMx58Rm7e5yXsTU6GC8XQX2bQ9Rq0FmJjzwhbFA4KpVJwOCaa xE8040TtTiWvQy81fu1terAnhJko2pBH69txLNWRBFWjVQnevLWNhpjEDyLeU697QPcF ozAd2J4oWn/uGelU/tApYsi1GsF/VzPhbJwnA= 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=n9zzKDPmKdR5LHHLq7O0JVaGG4NvFBHS7OWGbVGVKR0=; b=ewWjQo2d32yU+qS6CB994dJlELooVz5I68q+TCmvXj+6fKgGpRzaSkJjreCqWaGhzs IwpGLEhJO872lKhv0RqFcF9x+ec0WZQpx9jQch9WEpWvvaAWor32Sblb1o8b9onqzsdk lSzZrelG9iyxXtfrVFC8QyKqfCzOcMhyAq7jnNQndMGKb2iG91zw00ihimp79gaPAtOH HXUY3ujKS72u1vuF+fvQgiSGnahRNPjCIiyJlM/fBit2HhK2AlQhk5kHbGP4vwz1Cltn rSymg+1M49xDlNlp6ycnHmsNyCbpKDMmUhi92OBdD6PnJCLD082HVeU5jHwMVcemKNaM W3Ig== X-Gm-Message-State: AOUpUlHwwIZie8g7qYAbxX+iYcdBgcB56ntvqu/Ks41QjtCZcGGrtVmb E91JFIg7JvNkJRtYeGt/itky5g== X-Received: by 2002:a1c:a691:: with SMTP id p139-v6mr1650261wme.42.1533910907696; Fri, 10 Aug 2018 07:21:47 -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 b13-v6sm13077578wrn.17.2018.08.10.07.21.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 07:21:46 -0700 (PDT) From: Rui Miguel Silva To: mchehab@kernel.org, sakari.ailus@linux.intel.com, Philipp Zabel , Rob Herring Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Fabio Estevam , devicetree@vger.kernel.org, Greg Kroah-Hartman , Ryan Harkin , Rui Miguel Silva Subject: [PATCH v7 07/12] ARM: dts: imx7s: add multiplexer controls Date: Fri, 10 Aug 2018 15:20:40 +0100 Message-Id: <20180810142045.27657-8-rui.silva@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180810142045.27657-1-rui.silva@linaro.org> References: <20180810142045.27657-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.18.0 diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index df4a29365468..f6c7afa51dc1 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -493,8 +493,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 = <0>; + mux-reg-masks = <0x14 0x00000010>; + }; }; ocotp: ocotp-ctrl@30350000 {