From patchwork Mon Feb 28 13:12:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12763293 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 248FCC433EF for ; Mon, 28 Feb 2022 13:24:45 +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=8bGNR9mdOaBkEHYCV8EtatBIRPCMb7KlAhJRsMl0/yw=; b=2gVt4RGSTSetSF hxzuq94lFDdlDtwdJAurbANLhAIJ7O9IBEddLazbVYW9Dp+smo8dx8YZeVI1FgoeOb0ilXkUvGF+4 S3xcCht8owX+54NFZB24HTr2YHcs8BwkCYaI8w5TysyVfP9rsyhcCj/4mjC5pvoiOdu1rVjvlYyIc PVNudG4RKagPrmCsO96rJ3H2UsmfJxitsuzo6Hyjn1H208QKhbHVD7SGSSGrEXqOJOArOVUBKejSI EAJU9Yv2cPE8Sx1x4PSofSu+hgk+pwrkefo6YYx8U4ayeX68Q5APB0HgRuKY2zIVk7W4DDcbqsSfq MmBVVcUjZQHPw8qSW+EQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOfzs-00CXLm-Q4; Mon, 28 Feb 2022 13:23:29 +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 1nOfpu-00CTLj-If for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 13:13:12 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 60BF7DF67F; Mon, 28 Feb 2022 05:12:40 -0800 (PST) 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 DEBaQBv-q0qf; Mon, 28 Feb 2022 05:12:39 -0800 (PST) From: Martin Kepplinger To: robh@kernel.org, krzysztof.kozlowski@canonical.com, shawnguo@kernel.org, festevam@gmail.com Cc: kernel@pengutronix.de, kernel@puri.sm, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kepplinger Subject: [PATCH v1 1/5] arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source Date: Mon, 28 Feb 2022 14:12:18 +0100 Message-Id: <20220228131222.917137-2-martin.kepplinger@puri.sm> In-Reply-To: <20220228131222.917137-1-martin.kepplinger@puri.sm> References: <20220228131222.917137-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-20220228_051310_655087_3C7A0C15 X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. 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 They turn on the display currently so to be consistent, let's make them wake the system from suspend as well. Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 05c16376b4d8..0d391468bf21 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -42,6 +42,7 @@ vol-down { gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; linux,code = ; debounce-interval = <50>; + wakeup-source; }; vol-up { @@ -49,6 +50,7 @@ vol-up { gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; linux,code = ; debounce-interval = <50>; + wakeup-source; }; }; From patchwork Mon Feb 28 13:12:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12763292 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 56673C433FE for ; Mon, 28 Feb 2022 13:23:59 +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=xcUMYh2uJK1qJZWaY9SwGXQTEMoK+wy6Z3ZfUSx0tT0=; b=LFBk7HNtCX1t7M tYrC42uT4wb2qcPquwCs3PxjlbVBLAkZsdmyed89QD313KYVQATwudXGkgKaVxIKtDkXB+UEj3X76 UrsJ3Kgl0C3kRhOQs1jL/9U08zb6c2uhnPhRuwPKk5wTAml2t52bJlRByX8sBDplxfcutMKMbhnM9 v03+OaBToI0pefNuv3dkBo6GxssDudd1pEU/KoqamJrTCdpMB5b072V5R4XOn3P2O77a969MYtnhS mGbHyAdazojduCSxXMOF/AOBtSMyPqe7Si+mnCDKgeon0rK3bbxPmJSY4niuVoeYFwhrL8RpMR5so Zlj5iw7vC/BmKYTuHR+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOfz0-00CWz0-TX; Mon, 28 Feb 2022 13:22:35 +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 1nOfpV-00CTDu-Ik for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 13:12:46 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 299FFDFD97; Mon, 28 Feb 2022 05:12:45 -0800 (PST) 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 KksHJPEXtqJz; Mon, 28 Feb 2022 05:12:44 -0800 (PST) From: Martin Kepplinger To: robh@kernel.org, krzysztof.kozlowski@canonical.com, shawnguo@kernel.org, festevam@gmail.com Cc: kernel@pengutronix.de, kernel@puri.sm, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kepplinger Subject: [PATCH v1 2/5] arm64: dts: imx8mq-librem5: remove description of CHG_STATUS_B Date: Mon, 28 Feb 2022 14:12:19 +0100 Message-Id: <20220228131222.917137-3-martin.kepplinger@puri.sm> In-Reply-To: <20220228131222.917137-1-martin.kepplinger@puri.sm> References: <20220228131222.917137-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-20220228_051245_681573_30176FED X-CRM114-Status: UNSURE ( 8.32 ) X-CRM114-Notice: Please train this message. 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 That pin is not connected on the board so no need to describe it. Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 0d391468bf21..b7d9edc1358b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -389,8 +389,6 @@ pinctrl_charger_in: chargeringrp { fsl,pins = < /* CHRG_INT */ MX8MQ_IOMUXC_NAND_CE2_B_GPIO3_IO3 0x80 - /* CHG_STATUS_B */ - MX8MQ_IOMUXC_NAND_ALE_GPIO3_IO0 0x80 >; }; From patchwork Mon Feb 28 13:12:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12763294 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 F3C9EC433EF for ; Mon, 28 Feb 2022 13:25:50 +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=74Tgv2PcjJx5l0cexTd42mlpISjhLAj+NsdIzvw0iLQ=; b=qic//ITmWVAlpn wM5oeHB+2FPgu4aw2SciF4lWQQ6vYxLJUUd1un1VKJaFphXqqSpQ9cL51msmqihBeGr6wzwYQd3YH DEzBChM/9x2tq87lgBfNOa1X555YK48wT+6WjKNSjDQ4bDJ3qkNs0QB+17enH1U76Jaf0PrHYd4c1 2wfQddpm6UfyvbvPczY+Uu0HgdK3Lde/VggMklKudjRE+r/qzLZ+iaIqqLa3j9m2Yt/HCbKZRY/qw uSPw3/ljJbnJDshSUxK1X/OYBsoFPY+HQrjNq7kFeHtHW0Z1scDbfXPjPiv5Z5j+2fjmjQe9WILhV YqiULDfaW8IlvoqCbiiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOg0s-00CXpP-Vk; Mon, 28 Feb 2022 13:24:31 +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 1nOfq3-00CTPA-BN for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 13:13:20 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 2BA5EDFE17; Mon, 28 Feb 2022 05:12:49 -0800 (PST) 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 aYvn57pCe-wn; Mon, 28 Feb 2022 05:12:48 -0800 (PST) From: Martin Kepplinger To: robh@kernel.org, krzysztof.kozlowski@canonical.com, shawnguo@kernel.org, festevam@gmail.com Cc: kernel@pengutronix.de, kernel@puri.sm, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Guido_G=C3=BCnther?= , Martin Kepplinger Subject: [PATCH v1 3/5] arm64: dts: imx8mq-librem5: higher boost regulation current Date: Mon, 28 Feb 2022 14:12:20 +0100 Message-Id: <20220228131222.917137-4-martin.kepplinger@puri.sm> In-Reply-To: <20220228131222.917137-1-martin.kepplinger@puri.sm> References: <20220228131222.917137-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-20220228_051319_434198_C0CA25D2 X-CRM114-Status: GOOD ( 10.50 ) 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 From: Guido Günther 1,5A is what's used by the type-c controller on the Librem 5 board so increase ti,boost-max-current to 1,5A too. Signed-off-by: Guido Günther Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index b7d9edc1358b..a0c8191bd33c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -1098,7 +1098,7 @@ bq25895: charger@6a { ti,precharge-current = <130000>; /* uA */ ti,minimum-sys-voltage = <3700000>; /* uV */ ti,boost-voltage = <5000000>; /* uV */ - ti,boost-max-current = <500000>; /* uA */ + ti,boost-max-current = <1500000>; /* uA */ ti,use-vinmin-threshold = <1>; /* enable VINDPM */ ti,vinmin-threshold = <3900000>; /* uV */ monitored-battery = <&bat>; From patchwork Mon Feb 28 13:12:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12763295 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 CA499C433F5 for ; Mon, 28 Feb 2022 13:26:51 +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=IvxjVzZUkUOVTqgEvhC7dQRVBMt8Ef6Dy+xlEtd+dzA=; b=3Zv2H/bJjp30Ji Gsh0aB/GVMKuZxphMrdbMQfQI8+CqzeQOp0ef7KGu0Gc2cSC4x/JcIaGEbnVymG2613THxIaeZduY Hb5j+mLXykbr3U10hXE83kqpj69/ZP7QtHeg6NY1awQAv+2kHtjtkwdl2zBOc9CpcWLtwK/EjBouB jGpBFiR3a4hIk7vupV8W1z1yjtoO3XgVz6gqihg+eacVUuiEbZXkBMsCj8qsHLPbEIBAWyuWHI3xX ErZLGb5zpGDA6gLNP4vElJZivv630qCAkLPp1OJWXRy/n3gkCqd9A4SAgKldYmG9rffJ+WAe6XeF3 NXCVKSa8HOfqxjeW+a9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOg1l-00CYAl-De; Mon, 28 Feb 2022 13:25:26 +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 1nOfq6-00CTQ4-Mx for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 13:13:24 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 4F6DEDFE24; Mon, 28 Feb 2022 05:12:52 -0800 (PST) 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 xdcGnh66sa7n; Mon, 28 Feb 2022 05:12:51 -0800 (PST) From: Martin Kepplinger To: robh@kernel.org, krzysztof.kozlowski@canonical.com, shawnguo@kernel.org, festevam@gmail.com Cc: kernel@pengutronix.de, kernel@puri.sm, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Angus Ainslie , Martin Kepplinger Subject: [PATCH v1 4/5] arm64: dts: imx8mq-librem5: add a RO firmware partition Date: Mon, 28 Feb 2022 14:12:21 +0100 Message-Id: <20220228131222.917137-5-martin.kepplinger@puri.sm> In-Reply-To: <20220228131222.917137-1-martin.kepplinger@puri.sm> References: <20220228131222.917137-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-20220228_051322_797394_E8456475 X-CRM114-Status: UNSURE ( 7.65 ) X-CRM114-Notice: Please train this message. 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 From: Angus Ainslie This partition will hold a squashfs firmware jail. Only one read-only partition is needed. Signed-off-by: Angus Ainslie Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index a0c8191bd33c..587e55aaa57b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -325,15 +325,10 @@ partition@0 { }; partition@30000 { - label = "protected1"; - reg = <0x30000 0x10000>; + label = "firmware"; + reg = <0x30000 0x1d0000>; read-only; }; - - partition@40000 { - label = "rw"; - reg = <0x40000 0x1C0000>; - }; }; }; From patchwork Mon Feb 28 13:12:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12763296 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 A12F7C433F5 for ; Mon, 28 Feb 2022 13:27:46 +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=mbD1Kek2Sg5NQ2uYkVR+weXeSuEusck6JQrbAEAeRYk=; b=coz5UFy47HTTOo p2xTAQma6qraQ7HONOGjN44CmlXso6SiciDWcLYV/JYwTsK4RKl/d2hFGjSeA0hkKVjISBzJN0uLl NRPvvtTnuCPWYP63wYMPvqQGRb8TBB0Dv3LfotqMjTCb6raTgLiX0ifP2AS9aC/KovccjQlqfJSWL ER2J8IPcLSU01usCKkdQ/fH6RROtwhvAU34VUrl1Ds8yq0AUNlP7gzYmRlpvNN7SBWTTkA/YwhLH9 /uxtqGKI6GG46Ai4LHpRO4a2giXndka7mznDCgGUOdrZVfdsFgbNcSJcrK4tgJ5vn6YOa8GSbShMd J11VsY4LCRUW/3XdehOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOg2W-00CYU9-T4; Mon, 28 Feb 2022 13:26:13 +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 1nOfq9-00CTRO-NY for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 13:13:27 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 8CA7EDFE13; Mon, 28 Feb 2022 05:12:55 -0800 (PST) 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 XoIFEqnc3zYT; Mon, 28 Feb 2022 05:12:55 -0800 (PST) From: Martin Kepplinger To: robh@kernel.org, krzysztof.kozlowski@canonical.com, shawnguo@kernel.org, festevam@gmail.com Cc: kernel@pengutronix.de, kernel@puri.sm, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Guido_G=C3=BCnther?= , Martin Kepplinger Subject: [PATCH v1 5/5] arm64: dts: imx8mq-librem5-r4: add the correct panel Date: Mon, 28 Feb 2022 14:12:22 +0100 Message-Id: <20220228131222.917137-6-martin.kepplinger@puri.sm> In-Reply-To: <20220228131222.917137-1-martin.kepplinger@puri.sm> References: <20220228131222.917137-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-20220228_051325_824272_87B78811 X-CRM114-Status: UNSURE ( 8.70 ) X-CRM114-Notice: Please train this message. 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 From: Guido Günther The r4 ("Evergreen") hardware revision of the Librem 5 phone includes a slightly different panel than the revisions before it. Since its' description is available, describe it properly for the board. Signed-off-by: Guido Günther Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts index 30d65bef6939..1056b7981bdb 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts @@ -18,6 +18,10 @@ &led_backlight { led-max-microamp = <25000>; }; +&lcd_panel { + compatible = "ys,ys57pss36bh5gq"; +}; + &proximity { proximity-near-level = <10>; };