* [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates
@ 2022-02-28 13:12 Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 1/5] arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source Martin Kepplinger
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Martin Kepplinger @ 2022-02-28 13:12 UTC (permalink / raw)
To: robh, krzysztof.kozlowski, shawnguo, festevam
Cc: kernel, kernel, devicetree, phone-devel, linux-arm-kernel,
linux-kernel, Martin Kepplinger
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v1 1/5] arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source
2022-02-28 13:12 [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates Martin Kepplinger
@ 2022-02-28 13:12 ` Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 2/5] arm64: dts: imx8mq-librem5: remove description of CHG_STATUS_B Martin Kepplinger
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Martin Kepplinger @ 2022-02-28 13:12 UTC (permalink / raw)
To: robh, krzysztof.kozlowski, shawnguo, festevam
Cc: kernel, kernel, devicetree, phone-devel, linux-arm-kernel,
linux-kernel, Martin Kepplinger
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 <martin.kepplinger@puri.sm>
---
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 = <KEY_VOLUMEDOWN>;
debounce-interval = <50>;
+ wakeup-source;
};
vol-up {
@@ -49,6 +50,7 @@ vol-up {
gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
debounce-interval = <50>;
+ wakeup-source;
};
};
--
2.30.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 2/5] arm64: dts: imx8mq-librem5: remove description of CHG_STATUS_B
2022-02-28 13:12 [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 1/5] arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source Martin Kepplinger
@ 2022-02-28 13:12 ` Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 3/5] arm64: dts: imx8mq-librem5: higher boost regulation current Martin Kepplinger
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Martin Kepplinger @ 2022-02-28 13:12 UTC (permalink / raw)
To: robh, krzysztof.kozlowski, shawnguo, festevam
Cc: kernel, kernel, devicetree, phone-devel, linux-arm-kernel,
linux-kernel, Martin Kepplinger
That pin is not connected on the board so no need to describe it.
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
---
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
>;
};
--
2.30.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 3/5] arm64: dts: imx8mq-librem5: higher boost regulation current
2022-02-28 13:12 [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 1/5] arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 2/5] arm64: dts: imx8mq-librem5: remove description of CHG_STATUS_B Martin Kepplinger
@ 2022-02-28 13:12 ` Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 4/5] arm64: dts: imx8mq-librem5: add a RO firmware partition Martin Kepplinger
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Martin Kepplinger @ 2022-02-28 13:12 UTC (permalink / raw)
To: robh, krzysztof.kozlowski, shawnguo, festevam
Cc: kernel, kernel, devicetree, phone-devel, linux-arm-kernel,
linux-kernel, Guido Günther, Martin Kepplinger
From: Guido Günther <agx@sigxcpu.org>
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 <agx@sigxcpu.org>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
---
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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 4/5] arm64: dts: imx8mq-librem5: add a RO firmware partition
2022-02-28 13:12 [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates Martin Kepplinger
` (2 preceding siblings ...)
2022-02-28 13:12 ` [PATCH v1 3/5] arm64: dts: imx8mq-librem5: higher boost regulation current Martin Kepplinger
@ 2022-02-28 13:12 ` Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 5/5] arm64: dts: imx8mq-librem5-r4: add the correct panel Martin Kepplinger
2022-04-08 10:41 ` [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates Shawn Guo
5 siblings, 0 replies; 7+ messages in thread
From: Martin Kepplinger @ 2022-02-28 13:12 UTC (permalink / raw)
To: robh, krzysztof.kozlowski, shawnguo, festevam
Cc: kernel, kernel, devicetree, phone-devel, linux-arm-kernel,
linux-kernel, Angus Ainslie, Martin Kepplinger
From: Angus Ainslie <angus@akkea.ca>
This partition will hold a squashfs firmware jail. Only one read-only
partition is needed.
Signed-off-by: Angus Ainslie <angus@akkea.ca>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
---
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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 5/5] arm64: dts: imx8mq-librem5-r4: add the correct panel
2022-02-28 13:12 [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates Martin Kepplinger
` (3 preceding siblings ...)
2022-02-28 13:12 ` [PATCH v1 4/5] arm64: dts: imx8mq-librem5: add a RO firmware partition Martin Kepplinger
@ 2022-02-28 13:12 ` Martin Kepplinger
2022-04-08 10:41 ` [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates Shawn Guo
5 siblings, 0 replies; 7+ messages in thread
From: Martin Kepplinger @ 2022-02-28 13:12 UTC (permalink / raw)
To: robh, krzysztof.kozlowski, shawnguo, festevam
Cc: kernel, kernel, devicetree, phone-devel, linux-arm-kernel,
linux-kernel, Guido Günther, Martin Kepplinger
From: Guido Günther <agx@sigxcpu.org>
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 <agx@sigxcpu.org>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
---
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>;
};
--
2.30.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates
2022-02-28 13:12 [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates Martin Kepplinger
` (4 preceding siblings ...)
2022-02-28 13:12 ` [PATCH v1 5/5] arm64: dts: imx8mq-librem5-r4: add the correct panel Martin Kepplinger
@ 2022-04-08 10:41 ` Shawn Guo
5 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2022-04-08 10:41 UTC (permalink / raw)
To: Martin Kepplinger
Cc: robh, krzysztof.kozlowski, festevam, kernel, kernel, devicetree,
phone-devel, linux-arm-kernel, linux-kernel
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!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-04-08 10:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-28 13:12 [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 1/5] arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 2/5] arm64: dts: imx8mq-librem5: remove description of CHG_STATUS_B Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 3/5] arm64: dts: imx8mq-librem5: higher boost regulation current Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 4/5] arm64: dts: imx8mq-librem5: add a RO firmware partition Martin Kepplinger
2022-02-28 13:12 ` [PATCH v1 5/5] arm64: dts: imx8mq-librem5-r4: add the correct panel Martin Kepplinger
2022-04-08 10:41 ` [PATCH v1 0/5] arm64: dts: imx8mq-librem5: phone description updates Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).