2022-02-28 17:20:42

by Martin Kepplinger

[permalink] [raw]
Subject: [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates

Hi Shawn and all interested,

This is small updates to the Librem 5 phone hardware descriptions we've
been using for quite some time as part of PureOS.

thanks,
martin

Angus Ainslie (1):
arm64: dts: imx8mq-librem5: add a RO firmware partition

Guido Günther (2):
arm64: dts: imx8mq-librem5: higher boost regulation current
arm64: dts: imx8mq-librem5-r4: add the correct panel

Martin Kepplinger (2):
arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source
arm64: dts: imx8mq-librem5: remove description of CHG_STATUS_B

.../boot/dts/freescale/imx8mq-librem5-r4.dts | 4 ++++
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 15 +++++----------
2 files changed, 9 insertions(+), 10 deletions(-)

--
2.30.2


2022-02-28 17:32:26

by Martin Kepplinger

[permalink] [raw]
Subject: [PATCH v1 4/5] arm64: dts: imx8mq-librem5: add a RO firmware partition

From: Angus Ainslie <[email protected]>

This partition will hold a squashfs firmware jail. Only one read-only
partition is needed.

Signed-off-by: Angus Ainslie <[email protected]>
Signed-off-by: Martin Kepplinger <[email protected]>
---
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>;
- };
};
};

--
2.30.2

2022-02-28 17:49:17

by Martin Kepplinger

[permalink] [raw]
Subject: [PATCH v1 3/5] arm64: dts: imx8mq-librem5: higher boost regulation current

From: Guido Günther <[email protected]>

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 <[email protected]>
Signed-off-by: Martin Kepplinger <[email protected]>
---
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>;
--
2.30.2

2022-04-08 14:13:22

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates

On Mon, Feb 28, 2022 at 02:12:17PM +0100, Martin Kepplinger wrote:
> Hi Shawn and all interested,
>
> This is small updates to the Librem 5 phone hardware descriptions we've
> been using for quite some time as part of PureOS.
>
> thanks,
> martin
>
> Angus Ainslie (1):
> arm64: dts: imx8mq-librem5: add a RO firmware partition
>
> Guido G?nther (2):
> arm64: dts: imx8mq-librem5: higher boost regulation current
> arm64: dts: imx8mq-librem5-r4: add the correct panel
>
> Martin Kepplinger (2):
> arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source
> arm64: dts: imx8mq-librem5: remove description of CHG_STATUS_B

Applied all, thanks!