From patchwork Thu Jan 24 16:09:22 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: 156490 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2137288jaa; Thu, 24 Jan 2019 08:09:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN7h0q5GFJLaTIjwUFsWhgaI/IAELMv8cS8aoP6wMO3kQMnGKpGYlDUrYhI91npG3sz4hwGU X-Received: by 2002:a62:3305:: with SMTP id z5mr7158036pfz.112.1548346194392; Thu, 24 Jan 2019 08:09:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548346194; cv=none; d=google.com; s=arc-20160816; b=RYeuWoyVtC6di9agrwx2uckn5D53USaxVljzTYVgh5np80EU5XtJvvU+mpb0OBWHzR o/qW26eb8BlN0o9nIAQJ1XawvK7v7cY4ZH61XJ+jfJVpfEnXq4Zn9fjO8svjxE5Z0gCu JeExl+fKvuVHdZCpglS2WeiKu7EMIRGtB1tlGnuDmZShjQUZ+aVtCvjmRU2HQFHT5x3w AA38SPziHeZ63Y17JDzp/cPbIB+R6JVxnUCr5kEbOqMzUL5YnNsrGUvjhejVV3aGLANG z8re5I7j5Jc6d9/XPPua08OwZ1xXu9KaopECbTcusH16RGJO1QExE3aamR+GnFWn3Ai3 6+HQ== 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=GNAd4iV0oNl9TJ7z3rAoBiSqjxnVXzNksgfCPTuCnpiK1UP4arRiT4+XiZZvDGaxJg T5fuQ6YoQFsAO6NJ96MUPMTO9jnHPc6QQGcEY/9yBhmB8GQJNrzPP5Qit8jBg7obaim+ 6d76Va2KH0P5EIc8wOntii+neiVgWrrMFiVhgi7a5ZBVG3F6bt2jhZ5iuvv2HrAciA5y Ic8OUnPK4H1Nu6GHB2KmJUX3/gCEtIJD4n5UEEKo2gp4Fn4IBPYpnZzHQCSQtsd3mBHS fKCWeCrL0uOc3oqBQaxBZiacU6C2sAR81UKF5o06W/vxxsl50BwLrvmvenDgUSzMnxYH 212Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="I1gg/fj6"; 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 34si15994576pgt.455.2019.01.24.08.09.54; Thu, 24 Jan 2019 08:09:54 -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="I1gg/fj6"; 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 S1728868AbfAXQJx (ORCPT + 4 others); Thu, 24 Jan 2019 11:09:53 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37372 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728605AbfAXQJx (ORCPT ); Thu, 24 Jan 2019 11:09:53 -0500 Received: by mail-wr1-f65.google.com with SMTP id s12so7091740wrt.4 for ; Thu, 24 Jan 2019 08:09:52 -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=I1gg/fj6wSkjMVbnQV3f/voVph+RSRA53helsBqtCoHeH+Bv9mhb63ryrfZbqgZy+P xKAJ/OdM7UgPK+2mIz5vBdUpJWJ9TPkT0Po1sy8t8ehGoVrv3I+D0BLKJJJ7vdP89ysB bS2aR3jgg8txDl30LX7XDnO1Km8ILfyMxpz0k= 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=mvz/Vrljeqhq7v9spmFFEFjH2VmCpnx1uy40+HZB43N9o1ShrBjB2T86dSqZTDsMPK 8arUbVUA0wCNk86hUGUOg5+9KoWH0pU3ejMZVYhwVYj57QES3cjO3mM8kDMOEAxMFDSg cX/dQElP0DokKu4+2P8NYkn82Y3P90Qhakn4ODyfd/JRAEzL3Gwm2dfY8Omem0a4BFAc tOPlc4SgB43dQ2p2kytB8wIokzIVyj0GPo6d2uJgJVLODbH1o3xhWDPN7hLMNcDtK4Y6 Jl4OQAMJFeu2rcTe3myrElz5vjL6HoWMYoyuU5gvjrGoufwMDkBZHgHD/NobedjBguWj PEkQ== X-Gm-Message-State: AJcUukfEF1UzqC2bFxYLTEwXs2Xg3PIBCKezLXgSQvq/Z6iweb/ZnqhJ 5ROmLJfBnDr83FFd//pxOZCnYw== X-Received: by 2002:a5d:4ac7:: with SMTP id y7mr7425811wrs.196.1548346191386; Thu, 24 Jan 2019 08:09:51 -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 e16sm179880299wrn.72.2019.01.24.08.09.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 08:09:50 -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 v11 07/13] ARM: dts: imx7s: add multiplexer controls Date: Thu, 24 Jan 2019 16:09:22 +0000 Message-Id: <20190124160928.31884-8-rui.silva@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190124160928.31884-1-rui.silva@linaro.org> References: <20190124160928.31884-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 {