Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp488154pxb; Fri, 15 Oct 2021 09:32:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzC9bNO3BK9cWiBO/l11oyevQOgQzAE1hBSsJNdH3w9TP6wFiEiST+6etMqOihvfUl0Jhxk X-Received: by 2002:a63:7d42:: with SMTP id m2mr9823437pgn.349.1634315541244; Fri, 15 Oct 2021 09:32:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634315541; cv=none; d=google.com; s=arc-20160816; b=0hAv2JI+j8ksMU/03nbSYUan5+/yr9zVkx2BetBn+CwOvmitl8Q0Mnsj369gZp1ZUi 9yuIpvHtYtSmn6AB0IqY/UP8OngqyKpi1E+AMrzkChYjKWjJD43AIyrLMjV5BctcD6Yr K98KvSYLyNeQMH6lX7zn9mfs8mXL9ldElMqFrCckhiqy232ag6d9XQO9O5MR6olc70mu bzfrqVG97EpqwzIhp0b2c+KPhcwCWgNWd5h8wXzzUHeDRIrK3hojyO1LJzwlA92h6PLB aGcAvVphtQiqsdCpwi5QnvdF+s8n/zANQA/aZ+Cm3woetcq6OiHaciCYHPZp+yWU5+mG fk2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=SYVCN1bXluB99pCnz1VhfrwGS2QzjDhMQnoJX8B8wME=; b=oKhW31hByJ8pZHuk0XQmlkMe1nTb+TswRhZ8BVRUUGJZ/M2yC0inJBfSKeQ1AF5YVJ 7dt5HKoBCxa2Jwnza/PCL/eBKHInEs95nTOPVK/42nXUHqsPyRH3Ffljr5AyttlnPg8r KXbMrLJBwfDXOUx0ceryAd4hSoNUHcPdYJp4JVhulr2kdNOe/BWCmLpJNAAY4yGtWOr5 SDRpJ8m1rJqCNAJpZl7DAQWFedzb5H1+ZdOpEclsj8CmnlvCLXLTnUENtrc0ZRiAFYAX 7sKNnXM1Oh2WHk9je5QtDYQhWsx8nPEVg96jwJOabPy7k4S1wwkuDx4O0yJ7F/fFAZTl 5wqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c24si2930205pgn.459.2021.10.15.09.32.09; Fri, 15 Oct 2021 09:32:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237196AbhJOIi7 (ORCPT + 99 others); Fri, 15 Oct 2021 04:38:59 -0400 Received: from comms.puri.sm ([159.203.221.185]:44830 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236754AbhJOIix (ORCPT ); Fri, 15 Oct 2021 04:38:53 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id B9C49DFE13; Fri, 15 Oct 2021 01:36:17 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xqt9ArVCZVAv; Fri, 15 Oct 2021 01:36:17 -0700 (PDT) From: Martin Kepplinger To: robh@kernel.org, shawnguo@kernel.org, festevam@gmail.com, krzk@kernel.org Cc: kernel@pengutronix.de, linux-imx@nxp.com, kernel@puri.sm, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Martin Kepplinger Subject: [RFC PATCH v1 4/4] arm64: dts: imx8mq-librem5-r3.dtsi: describe selfie cam XSHUTDOWN pin Date: Fri, 15 Oct 2021 10:35:06 +0200 Message-Id: <20211015083506.4182875-5-martin.kepplinger@puri.sm> In-Reply-To: <20211015083506.4182875-1-martin.kepplinger@puri.sm> References: <20211015083506.4182875-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The r3 and later revisions of the Librem 5 phone include an additional switch to control the hi846 XSHUTDOWN pin. Describe it. Signed-off-by: Martin Kepplinger --- .../arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi index e872eb4b1cf9..e4f8b47cce4f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi @@ -27,6 +27,19 @@ &bq25895 { ti,termination-current = <144000>; /* uA */ }; +&camera_front { + pinctrl-0 = <&pinctrl_csi1>, <&pinctrl_r3_camera_pwr>; + shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>; +}; + +&iomuxc { + pinctrl_r3_camera_pwr: r3camerapwrgrp { + fsl,pins = < + MX8MQ_IOMUXC_SPDIF_RX_GPIO5_IO4 0x83 + >; + }; +}; + &proximity { proximity-near-level = <25>; }; -- 2.30.2