From patchwork Fri Sep 2 08:42:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12963836 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D23DBC54EE9 for ; Fri, 2 Sep 2022 08:44:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QhlCwF/WHxqMztTQyuZX3VR7wATeQO6o2/egEL8RMfE=; b=YkLb5RrkvwqyzP TZZRCSUWFCLOO8gs4ZRZrK6mYox/3RGiHJgdBSoWysTUgmCSjm4F2sY3iTz7zaG2Bz8qyikPP6K7N MsmL4dJKZyAcrrH47NXt5DUZI85Z4WGLAyKmPYWVelcsGcsj4dZBfbL1z5M0nzj7wDYknrwdRzbUK QbfHauKaXjdntlVK+kSBzAS6hjvTXaRfGNWgvrUdg2xtG2Z4s7dhNzXewqh2rtDftumAnUJQBI/cz sbcHF8L775qPLsr/ad7eJBz3K6/Fk8zMLRTDto50otQ6nkrFYsQ5qGI4PPZVTzccfOqBhmK57KSFw TDfkWLZWOgWfGdhDCkLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oU2Gb-0020nP-SJ; Fri, 02 Sep 2022 08:43:10 +0000 Received: from comms.puri.sm ([159.203.221.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oU2GT-0020ge-1H for linux-arm-kernel@lists.infradead.org; Fri, 02 Sep 2022 08:43:03 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 6B7D7DFD92; Fri, 2 Sep 2022 01:42:30 -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 8YpgOypMxvnP; Fri, 2 Sep 2022 01:42:29 -0700 (PDT) From: Martin Kepplinger DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=puri.sm; s=comms; t=1662108149; bh=yaZZI5m921+EyANDEcdH4Vsbrq6CyoF91jveOMdpW9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=plykktG6ighlbWkyyri5fPSEEEt1SrU6ShxPOz6ODAJmKs5BPe3W40eRHBQEh0wRS T+tNCGI32JWdV2uwOuJsmN8i353rJqTVyTFM/StkDteSCSbi7ibyQd3d5BTpiAxoUf XQGj4sG4Qa7ufMbmWg/+J3mFdAutENPWjOa3PySQvh5w5N9MXOtJbRmHETyyDyWEyV OY2UJFN/RvG7djNNDjykhC9p797mN39h3IyYVS814AVDfC/5C0pkoU3w+aeyNId4og rcg0OaZ8deLf/6+e+nP9wjwRoqH5lnW+r1AT2OoUxaJrPOfmoJ5nDZhCf8X+qgmBtG 2MT4ZdcxB28AQ== 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 v2 1/6] arm64: dts: imx8mq-librem5: describe the voice coil motor for focus control Date: Fri, 2 Sep 2022 10:42:11 +0200 Message-Id: <20220902084216.1259202-2-martin.kepplinger@puri.sm> In-Reply-To: <20220902084216.1259202-1-martin.kepplinger@puri.sm> References: <20220902084216.1259202-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220902_014301_098108_AD7769EB X-CRM114-Status: GOOD ( 10.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Describe the focus motor that will be used for the rear camera - even though the rear camera sensor driver is not yet in the mainline. The focus motor is a separate device and can be controlled already. Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 9eec8a7eecfc8..0626e4194d958 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -1070,6 +1070,12 @@ &i2c4 { pinctrl-0 = <&pinctrl_i2c4>; status = "okay"; + vcm@c { + compatible = "dongwoon,dw9714"; + reg = <0x0c>; + vcc-supply = <®_csi_1v8>; + }; + bat: fuel-gauge@36 { compatible = "maxim,max17055"; reg = <0x36>;