From patchwork Wed Nov 21 11:15:53 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: 151663 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1790224ljp; Wed, 21 Nov 2018 03:16:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/V4sn8eCsm33UzvDh9i6EeMC90s41DgkyUO5bfYpzayVxfvmFmhzQY9YD1+mv51RIf25gJK X-Received: by 2002:a63:e545:: with SMTP id z5mr5586683pgj.195.1542799002312; Wed, 21 Nov 2018 03:16:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542799002; cv=none; d=google.com; s=arc-20160816; b=IZ6SJ2ly1JkHdw945e3OS+dfnix1tc4elVO0mOCDdlx4IbR6PK++RkTVA9uBINka1F NybI7Pt74Pp244dpOgBt7aVhfXHvjEQbVALzc7SApukIQPFpOWl9I7/Jc4ElNjFfd6sN LQSjRbmBY5cW9AjF6QJRacDkXTjt8YcATVunfilru5AV3e5ho6DmGjWKzRIXuV3IyAvt HJsdSgEa9rL2LkIeexfMhrKsj5JOr+mkNgJXZecqNimzt29AXKWIwgK1zeoe5fRoibw/ UTs82cQUatZGs84bmLQvU6ICBTIeXM3vhBJxwDGXIcwAFScVglqtKxGaTBAaf28tsnQv m4hA== 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=Bcn68uTSuuFP8TVc4kj1CgitpBTX171NOiZ/Hg+Yjmo=; b=CJ8rJ8cKDdPvSP7UGxmCN3+WOtIpE/7g7HTIFXtut46JB1orrRhIP5EmIXg6Bo4nMw LYtnGtFLYcS55gAvPpFwrk28JCsPh5H01L6zC32w3nfUJfZkhQ6IEmGqIHxC0ioXrbn/ HYJ2OLpbYQzM8oamcsoPmuPXZ+g2q0gQ7cpH3FHCQNJPRjmOuAmKwd1uZlxtkWOIVHEb BZzf7JUTMyfQZgvAhDuP0GmtZTQaLpGHdO86YSVAPP+7u47/q1JHiXOV5F3ErjhgMEtn leLh3F7fFSHoAmb0dOMkG8nGdj/ORmenNWPhu8IJ15dcK3f5A8Iwdz0+RjnROOrUqKsN bVHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eohyakcQ; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 n3si9574252pfn.285.2018.11.21.03.16.42; Wed, 21 Nov 2018 03:16:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=eohyakcQ; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1730045AbeKUVuk (ORCPT + 6 others); Wed, 21 Nov 2018 16:50:40 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44352 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730042AbeKUVuk (ORCPT ); Wed, 21 Nov 2018 16:50:40 -0500 Received: by mail-wr1-f65.google.com with SMTP id z5so952182wrt.11 for ; Wed, 21 Nov 2018 03:16:39 -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=Bcn68uTSuuFP8TVc4kj1CgitpBTX171NOiZ/Hg+Yjmo=; b=eohyakcQkMEw/PxIfYy9JbkuzMkXWPAn762qTIDOa/KiBuNNK9cSyiWBZallh2yqnq grCEC+c/rs5jIldbUEt61HBCmpF+MFm5wn6HxavT/zQmt9wHSwmtaqqtp/+cSiGHdZQ7 EoS2OIRkUeAHPhyAZAy8IM4vr/PYm8xTtgE3s= 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=Bcn68uTSuuFP8TVc4kj1CgitpBTX171NOiZ/Hg+Yjmo=; b=pIhyOJdufnI/wlJmfxILPsW5mVs8Okpsb9M8sYeUIQgOJ3p7/FEwmJKjutOJQ193Zh mV//ZeOANSXKutc6YuhV48UodfighefLovR8RnDxrYtMMs6R9DWSrB8s2DsBuZ1SRFj0 +OqClqDFZGBjfA3G9cZzFyiRDnYWXuMa9OwBtIZ6fG89leZWodPn3rbrbyaYHRgrV7kC F1OlwXM0pxxqlvys5mj+z4JKlM1BwiJK8l2LV5p5XrW8eL/j7ZKIUsfd+pycwT9Rf+t/ Qw0YwPwwWwZpz+7nQCxNj+XX2UJDFLdTlqzLvqOdhZ0nk5tg3PKY3W54/H4rPYIhkKaL RTEQ== X-Gm-Message-State: AA+aEWaZ0c4/u+/7vi+Q5v5XwigXgXpx6kmvs6hucKN2Ld6UxY6f2uYq bB7Kdq6U2bTnh7OCUCaI2HZhmA== X-Received: by 2002:adf:ba05:: with SMTP id o5mr1155015wrg.325.1542798998754; Wed, 21 Nov 2018 03:16:38 -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 a125-v6sm771526wmf.8.2018.11.21.03.16.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 03:16:38 -0800 (PST) From: Rui Miguel Silva To: sakari.ailus@linux.intel.com, Philipp Zabel Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , Rui Miguel Silva Subject: [PATCH v8 07/12] ARM: dts: imx7s: add multiplexer controls Date: Wed, 21 Nov 2018 11:15:53 +0000 Message-Id: <20181121111558.10838-8-rui.silva@linaro.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181121111558.10838-1-rui.silva@linaro.org> References: <20181121111558.10838-1-rui.silva@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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.19.1 diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 6e2e4f99cdb0..964f19c997d4 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -499,8 +499,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 {