Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1665105pxb; Thu, 4 Nov 2021 06:29:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0cEvKxgB6/m/G3UsdjAkotMsM959TJYZuP6bx0keKbsOyTepdBFnfn4gvivyUcn5Exu/J X-Received: by 2002:a17:907:60d6:: with SMTP id hv22mr10064996ejc.492.1636032541139; Thu, 04 Nov 2021 06:29:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636032541; cv=none; d=google.com; s=arc-20160816; b=FxtJ0YSwXHYPIYNVlQ/XRSy5Y/6NvqEJDz4nNtgvnncoAp6yv+aZGb8xw1vOHHCIr2 KyP5S/maTJQYgsFE8swBtrlULDw52QozK32grscC3yFfRTuBIeuXhMk2NSUulnGr2tvA 6vAIFgX6gKqdmArVTiuv7GSbhq4bgQMfZsYcuoiajFLHbvzp7kMlWrDCPIokiFIg51G0 rf5skD6M4wGdXXDph2zYmDUweR28KyhdV9+MiKfSzP15dFp+hK6RL3geq9fJCgWVA6Jb kRstRUV9HAGozXqGbRbmOJZ7J0vMcsRMKqGXwkAgCMP3hg1izMVOdU7kAHP40H7iaHcz 9zdw== 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=oDEdTEW/peKj/rAzKlmALMIesmQnQVGHTq+4fUcC3KjA7XgVqT0HiKWOB5VJ/eTHVL rE/mSVvxJMhG6pnUO60pDEHw2iSmAUQT5elFfoZAM97aCNnEZCNL3nlJL8WWQQp7wH8M JunWjPh4VnZYzZv9Kp80PbEG50rW5Z1s9Q4Ff63l4h70nIVZmFT8pH685FRfDy2eMsTy wigmanCxmgh0DsbsVAm01Hb14T3eSfX6vQEBNN3b50cp70878Wlg7+8Xn59l6l4fL0se KlcmfudKKYMmILE9nDhZMhAwSF7vKQb6YnzM77Ov6up1f1xPeg1GBuS4w1xGff8M5cbS G2hA== 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 w13si9284896edc.579.2021.11.04.06.28.32; Thu, 04 Nov 2021 06:29:01 -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 S231562AbhKDN02 (ORCPT + 99 others); Thu, 4 Nov 2021 09:26:28 -0400 Received: from comms.puri.sm ([159.203.221.185]:42166 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231636AbhKDN0Y (ORCPT ); Thu, 4 Nov 2021 09:26:24 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 351C1DF98F; Thu, 4 Nov 2021 06:23:46 -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 ys9NSnR9A4lb; Thu, 4 Nov 2021 06:23:45 -0700 (PDT) From: Martin Kepplinger To: festevam@gmail.com, shawnguo@kernel.org Cc: martin.kepplinger@puri.sm, devicetree@vger.kernel.org, kernel@pengutronix.de, kernel@puri.sm, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, robh@kernel.org Subject: [PATCH v1 4/4] arm64: dts: imx8mq-librem5-r3.dtsi: describe selfie cam XSHUTDOWN pin Date: Thu, 4 Nov 2021 14:22:13 +0100 Message-Id: <20211104132213.470498-5-martin.kepplinger@puri.sm> In-Reply-To: <20211104132213.470498-1-martin.kepplinger@puri.sm> References: <20211104132213.470498-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