* [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5
@ 2026-01-05 20:39 Sebastian Krzyszkowiak via B4 Relay
2026-01-05 20:39 ` [PATCH 1/6] arm64: dts: imx8mq-librem5: Enable I2C recovery Sebastian Krzyszkowiak via B4 Relay
` (6 more replies)
0 siblings, 7 replies; 13+ messages in thread
From: Sebastian Krzyszkowiak via B4 Relay @ 2026-01-05 20:39 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel, kernel,
Sebastian Krzyszkowiak, Denis Sergeevich
These are various DTS patches collected over time in Purism's
downstream tree - fixing the vibrator's PWM, improving reliability
of SparkLAN WiFi card and I2C buses, enabling power-on on RTC alarm
and cleaning up an unneeded property.
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
Sebastian Krzyszkowiak (6):
arm64: dts: imx8mq-librem5: Enable I2C recovery
arm64: dts: imx8mq-librem5: Set vibrator's PWM frequency to 20kHz
arm64: dts: imx8mq-librem5: Enable SNVS RTC
arm64: dts: imx8mq-librem5: Limit uSDHC2 frequency to 50MHz
arm64: dts: imx8mq-librem5: Set cap-power-off-card for usdhc2
arm64: dts: imx8mq-librem5: Don't set mic-cfg for wm8962
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 67 ++++++++++++++++++-----
1 file changed, 54 insertions(+), 13 deletions(-)
---
base-commit: 9ace4753a5202b02191d54e9fdf7f9e3d02b85eb
change-id: 20260105-l5-dtb-fixes-ca96eb9900c7
Best regards,
--
Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/6] arm64: dts: imx8mq-librem5: Enable I2C recovery
2026-01-05 20:39 [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-05 20:39 ` Sebastian Krzyszkowiak via B4 Relay
2026-01-06 9:35 ` Peng Fan
2026-01-05 20:39 ` [PATCH 2/6] arm64: dts: imx8mq-librem5: Set vibrator's PWM frequency to 20kHz Sebastian Krzyszkowiak via B4 Relay
` (5 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Sebastian Krzyszkowiak via B4 Relay @ 2026-01-05 20:39 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel, kernel,
Sebastian Krzyszkowiak, Denis Sergeevich
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
i2c-imx can perform bus recovery by temporarily switching I2C pins
into GPIO mode. To do so, it needs GPIO and pinctrl handles to be
provided in the device tree.
Suggested-by: Denis Sergeevich <galilley@gmail.com>
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 48 +++++++++++++++++++++--
1 file changed, 44 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index 9e0e2d7271ef..ce039bd701c2 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -512,6 +512,13 @@ MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA 0x40000026
>;
};
+ pinctrl_i2c1_gpio: i2c1-gpiogrp {
+ fsl,pins = <
+ MX8MQ_IOMUXC_I2C1_SCL_GPIO5_IO14 0x26
+ MX8MQ_IOMUXC_I2C1_SDA_GPIO5_IO15 0x26
+ >;
+ };
+
pinctrl_i2c2: i2c2grp {
fsl,pins = <
MX8MQ_IOMUXC_I2C2_SCL_I2C2_SCL 0x40000026
@@ -519,6 +526,13 @@ MX8MQ_IOMUXC_I2C2_SDA_I2C2_SDA 0x40000026
>;
};
+ pinctrl_i2c2_gpio: i2c2-gpiogrp {
+ fsl,pins = <
+ MX8MQ_IOMUXC_I2C2_SCL_GPIO5_IO16 0x26
+ MX8MQ_IOMUXC_I2C2_SDA_GPIO5_IO17 0x26
+ >;
+ };
+
pinctrl_i2c3: i2c3grp {
fsl,pins = <
MX8MQ_IOMUXC_I2C3_SCL_I2C3_SCL 0x40000026
@@ -526,6 +540,13 @@ MX8MQ_IOMUXC_I2C3_SDA_I2C3_SDA 0x40000026
>;
};
+ pinctrl_i2c3_gpio: i2c3-gpiogrp {
+ fsl,pins = <
+ MX8MQ_IOMUXC_I2C3_SCL_GPIO5_IO18 0x26
+ MX8MQ_IOMUXC_I2C3_SDA_GPIO5_IO19 0x26
+ >;
+ };
+
pinctrl_i2c4: i2c4grp {
fsl,pins = <
MX8MQ_IOMUXC_I2C4_SCL_I2C4_SCL 0x40000026
@@ -533,6 +554,13 @@ MX8MQ_IOMUXC_I2C4_SDA_I2C4_SDA 0x40000026
>;
};
+ pinctrl_i2c4_gpio: i2c4-gpiogrp {
+ fsl,pins = <
+ MX8MQ_IOMUXC_I2C4_SCL_GPIO5_IO20 0x26
+ MX8MQ_IOMUXC_I2C4_SDA_GPIO5_IO21 0x26
+ >;
+ };
+
pinctrl_keys: keysgrp {
fsl,pins = <
/* VOL- */
@@ -782,8 +810,11 @@ MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x1f
&i2c1 {
clock-frequency = <384000>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c1>;
+ pinctrl-1 = <&pinctrl_i2c1_gpio>;
+ scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "okay";
typec_pd: usb-pd@3f {
@@ -982,8 +1013,11 @@ rtc@68 {
&i2c2 {
clock-frequency = <384000>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c2>;
+ pinctrl-1 = <&pinctrl_i2c2_gpio>;
+ scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "okay";
magnetometer: magnetometer@1e {
@@ -1031,8 +1065,11 @@ accel_gyro: accel-gyro@6a {
&i2c3 {
clock-frequency = <384000>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c3>;
+ pinctrl-1 = <&pinctrl_i2c3_gpio>;
+ scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "okay";
codec: audio-codec@1a {
@@ -1121,8 +1158,11 @@ touchscreen@38 {
&i2c4 {
clock-frequency = <384000>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c4>;
+ pinctrl-1 = <&pinctrl_i2c4_gpio>;
+ scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
status = "okay";
vcm@c {
--
2.52.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/6] arm64: dts: imx8mq-librem5: Set vibrator's PWM frequency to 20kHz
2026-01-05 20:39 [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Sebastian Krzyszkowiak via B4 Relay
2026-01-05 20:39 ` [PATCH 1/6] arm64: dts: imx8mq-librem5: Enable I2C recovery Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-05 20:39 ` Sebastian Krzyszkowiak via B4 Relay
2026-01-06 9:37 ` Peng Fan
2026-01-05 20:39 ` [PATCH 3/6] arm64: dts: imx8mq-librem5: Enable SNVS RTC Sebastian Krzyszkowiak via B4 Relay
` (4 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Sebastian Krzyszkowiak via B4 Relay @ 2026-01-05 20:39 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel, kernel,
Sebastian Krzyszkowiak
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
1Hz as used previously was way too long.
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@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 ce039bd701c2..b92b5f7b2bd7 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -287,7 +287,7 @@ bm818_codec: sound-wwan-codec {
vibrator {
compatible = "pwm-vibrator";
- pwms = <&pwm1 0 1000000000 0>;
+ pwms = <&pwm1 0 50000 0>;
pwm-names = "enable";
vcc-supply = <®_vdd_3v3>;
};
--
2.52.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 3/6] arm64: dts: imx8mq-librem5: Enable SNVS RTC
2026-01-05 20:39 [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Sebastian Krzyszkowiak via B4 Relay
2026-01-05 20:39 ` [PATCH 1/6] arm64: dts: imx8mq-librem5: Enable I2C recovery Sebastian Krzyszkowiak via B4 Relay
2026-01-05 20:39 ` [PATCH 2/6] arm64: dts: imx8mq-librem5: Set vibrator's PWM frequency to 20kHz Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-05 20:39 ` Sebastian Krzyszkowiak via B4 Relay
2026-01-06 9:40 ` Peng Fan
2026-01-05 20:39 ` [PATCH 4/6] arm64: dts: imx8mq-librem5: Limit uSDHC2 frequency to 50MHz Sebastian Krzyszkowiak via B4 Relay
` (3 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Sebastian Krzyszkowiak via B4 Relay @ 2026-01-05 20:39 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel, kernel,
Sebastian Krzyszkowiak
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
It has been disabled because it was being used for system clock instead
of the discrete RTC. However, SNVS has some features that the discrete
RTC does not, such as being able to turn the device on. Solve that issue
with aliases instead and reenable SNVS RTC.
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index b92b5f7b2bd7..8c37b1293699 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -17,6 +17,11 @@ / {
compatible = "purism,librem5", "fsl,imx8mq";
chassis-type = "handset";
+ aliases {
+ rtc0 = &rtc;
+ rtc1 = &snvs_rtc;
+ };
+
backlight_dsi: backlight-dsi {
compatible = "led-backlight";
leds = <&led_backlight>;
@@ -1001,7 +1006,7 @@ ldo7_reg: LDO7 {
};
};
- rtc@68 {
+ rtc: rtc@68 {
compatible = "microcrystal,rv4162";
reg = <0x68>;
pinctrl-names = "default";
@@ -1316,10 +1321,6 @@ &snvs_pwrkey {
status = "okay";
};
-&snvs_rtc {
- status = "disabled";
-};
-
&uart1 { /* console */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1>;
--
2.52.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 4/6] arm64: dts: imx8mq-librem5: Limit uSDHC2 frequency to 50MHz
2026-01-05 20:39 [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Sebastian Krzyszkowiak via B4 Relay
` (2 preceding siblings ...)
2026-01-05 20:39 ` [PATCH 3/6] arm64: dts: imx8mq-librem5: Enable SNVS RTC Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-05 20:39 ` Sebastian Krzyszkowiak via B4 Relay
2026-01-06 9:51 ` Peng Fan
2026-01-05 20:39 ` [PATCH 5/6] arm64: dts: imx8mq-librem5: Set cap-power-off-card for usdhc2 Sebastian Krzyszkowiak via B4 Relay
` (2 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Sebastian Krzyszkowiak via B4 Relay @ 2026-01-05 20:39 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel, kernel,
Sebastian Krzyszkowiak
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
SparkLAN card has stability issues at 100MHz. It still appears to be
able to max out its throughput this way, so limit the frequency to
ensure stable operation.
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index 8c37b1293699..0e3c103dd7ff 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -1424,7 +1424,7 @@ &usdhc1 {
&usdhc2 {
assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>;
- assigned-clock-rates = <200000000>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc2>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
@@ -1434,7 +1434,7 @@ &usdhc2 {
mmc-pwrseq = <&usdhc2_pwrseq>;
post-power-on-delay-ms = <20>;
cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
- max-frequency = <100000000>;
+ max-frequency = <50000000>;
disable-wp;
cap-sdio-irq;
keep-power-in-suspend;
--
2.52.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 5/6] arm64: dts: imx8mq-librem5: Set cap-power-off-card for usdhc2
2026-01-05 20:39 [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Sebastian Krzyszkowiak via B4 Relay
` (3 preceding siblings ...)
2026-01-05 20:39 ` [PATCH 4/6] arm64: dts: imx8mq-librem5: Limit uSDHC2 frequency to 50MHz Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-05 20:39 ` Sebastian Krzyszkowiak via B4 Relay
2026-01-06 9:53 ` Peng Fan
2026-01-05 20:39 ` [PATCH 6/6] arm64: dts: imx8mq-librem5: Don't set mic-cfg for wm8962 Sebastian Krzyszkowiak via B4 Relay
2026-01-17 7:09 ` [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Shawn Guo
6 siblings, 1 reply; 13+ messages in thread
From: Sebastian Krzyszkowiak via B4 Relay @ 2026-01-05 20:39 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel, kernel,
Sebastian Krzyszkowiak
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
This is needed for brcmfmac to turn the card off in suspend
since 8c3170628a9ce24a59647bd24f897e666af919b8.
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index 0e3c103dd7ff..22b1a29ad440 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -1437,6 +1437,7 @@ &usdhc2 {
max-frequency = <50000000>;
disable-wp;
cap-sdio-irq;
+ cap-power-off-card;
keep-power-in-suspend;
wakeup-source;
status = "okay";
--
2.52.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 6/6] arm64: dts: imx8mq-librem5: Don't set mic-cfg for wm8962
2026-01-05 20:39 [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Sebastian Krzyszkowiak via B4 Relay
` (4 preceding siblings ...)
2026-01-05 20:39 ` [PATCH 5/6] arm64: dts: imx8mq-librem5: Set cap-power-off-card for usdhc2 Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-05 20:39 ` Sebastian Krzyszkowiak via B4 Relay
2026-01-17 7:09 ` [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Shawn Guo
6 siblings, 0 replies; 13+ messages in thread
From: Sebastian Krzyszkowiak via B4 Relay @ 2026-01-05 20:39 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel, kernel,
Sebastian Krzyszkowiak
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
The default values are fine, and MICDET_ENA is handled by the driver on
its own anyway.
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index 22b1a29ad440..b6f7daebadf2 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -1085,7 +1085,6 @@ codec: audio-codec@1a {
assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
assigned-clock-rates = <24576000>;
#sound-dai-cells = <0>;
- mic-cfg = <0x200>;
DCVDD-supply = <®_aud_1v8>;
DBVDD-supply = <®_aud_1v8>;
AVDD-supply = <®_aud_1v8>;
--
2.52.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH 1/6] arm64: dts: imx8mq-librem5: Enable I2C recovery
2026-01-05 20:39 ` [PATCH 1/6] arm64: dts: imx8mq-librem5: Enable I2C recovery Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-06 9:35 ` Peng Fan
0 siblings, 0 replies; 13+ messages in thread
From: Peng Fan @ 2026-01-06 9:35 UTC (permalink / raw)
To: sebastian.krzyszkowiak
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, devicetree,
imx, linux-arm-kernel, linux-kernel, kernel, Denis Sergeevich
On Mon, Jan 05, 2026 at 09:39:38PM +0100, Sebastian Krzyszkowiak via B4 Relay wrote:
>From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
>
>i2c-imx can perform bus recovery by temporarily switching I2C pins
>into GPIO mode. To do so, it needs GPIO and pinctrl handles to be
>provided in the device tree.
>
>Suggested-by: Denis Sergeevich <galilley@gmail.com>
>Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 2/6] arm64: dts: imx8mq-librem5: Set vibrator's PWM frequency to 20kHz
2026-01-05 20:39 ` [PATCH 2/6] arm64: dts: imx8mq-librem5: Set vibrator's PWM frequency to 20kHz Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-06 9:37 ` Peng Fan
0 siblings, 0 replies; 13+ messages in thread
From: Peng Fan @ 2026-01-06 9:37 UTC (permalink / raw)
To: sebastian.krzyszkowiak
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, devicetree,
imx, linux-arm-kernel, linux-kernel, kernel
On Mon, Jan 05, 2026 at 09:39:39PM +0100, Sebastian Krzyszkowiak via B4 Relay wrote:
>From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
>
>1Hz as used previously was way too long.
>
>Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 3/6] arm64: dts: imx8mq-librem5: Enable SNVS RTC
2026-01-05 20:39 ` [PATCH 3/6] arm64: dts: imx8mq-librem5: Enable SNVS RTC Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-06 9:40 ` Peng Fan
0 siblings, 0 replies; 13+ messages in thread
From: Peng Fan @ 2026-01-06 9:40 UTC (permalink / raw)
To: sebastian.krzyszkowiak
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, devicetree,
imx, linux-arm-kernel, linux-kernel, kernel
On Mon, Jan 05, 2026 at 09:39:40PM +0100, Sebastian Krzyszkowiak via B4 Relay wrote:
>From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
>
>It has been disabled because it was being used for system clock instead
>of the discrete RTC. However, SNVS has some features that the discrete
>RTC does not, such as being able to turn the device on. Solve that issue
>with aliases instead and reenable SNVS RTC.
>
>Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 4/6] arm64: dts: imx8mq-librem5: Limit uSDHC2 frequency to 50MHz
2026-01-05 20:39 ` [PATCH 4/6] arm64: dts: imx8mq-librem5: Limit uSDHC2 frequency to 50MHz Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-06 9:51 ` Peng Fan
0 siblings, 0 replies; 13+ messages in thread
From: Peng Fan @ 2026-01-06 9:51 UTC (permalink / raw)
To: sebastian.krzyszkowiak
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, devicetree,
imx, linux-arm-kernel, linux-kernel, kernel
On Mon, Jan 05, 2026 at 09:39:41PM +0100, Sebastian Krzyszkowiak via B4 Relay wrote:
>From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
>
>SparkLAN card has stability issues at 100MHz. It still appears to be
>able to max out its throughput this way, so limit the frequency to
>ensure stable operation.
>
>Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 5/6] arm64: dts: imx8mq-librem5: Set cap-power-off-card for usdhc2
2026-01-05 20:39 ` [PATCH 5/6] arm64: dts: imx8mq-librem5: Set cap-power-off-card for usdhc2 Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-06 9:53 ` Peng Fan
0 siblings, 0 replies; 13+ messages in thread
From: Peng Fan @ 2026-01-06 9:53 UTC (permalink / raw)
To: sebastian.krzyszkowiak
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, devicetree,
imx, linux-arm-kernel, linux-kernel, kernel
On Mon, Jan 05, 2026 at 09:39:42PM +0100, Sebastian Krzyszkowiak via B4 Relay wrote:
>From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
>
>This is needed for brcmfmac to turn the card off in suspend
>since 8c3170628a9ce24a59647bd24f897e666af919b8.
Better use imperative sentence. Otherwise:
Reviewed-by: Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5
2026-01-05 20:39 [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Sebastian Krzyszkowiak via B4 Relay
` (5 preceding siblings ...)
2026-01-05 20:39 ` [PATCH 6/6] arm64: dts: imx8mq-librem5: Don't set mic-cfg for wm8962 Sebastian Krzyszkowiak via B4 Relay
@ 2026-01-17 7:09 ` Shawn Guo
6 siblings, 0 replies; 13+ messages in thread
From: Shawn Guo @ 2026-01-17 7:09 UTC (permalink / raw)
To: sebastian.krzyszkowiak
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, devicetree, imx,
linux-arm-kernel, linux-kernel, kernel, Denis Sergeevich
On Mon, Jan 05, 2026 at 09:39:37PM +0100, Sebastian Krzyszkowiak via B4 Relay wrote:
> Sebastian Krzyszkowiak (6):
> arm64: dts: imx8mq-librem5: Enable I2C recovery
> arm64: dts: imx8mq-librem5: Set vibrator's PWM frequency to 20kHz
> arm64: dts: imx8mq-librem5: Enable SNVS RTC
> arm64: dts: imx8mq-librem5: Limit uSDHC2 frequency to 50MHz
> arm64: dts: imx8mq-librem5: Set cap-power-off-card for usdhc2
> arm64: dts: imx8mq-librem5: Don't set mic-cfg for wm8962
Applied all, thanks!
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2026-01-17 7:10 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05 20:39 [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Sebastian Krzyszkowiak via B4 Relay
2026-01-05 20:39 ` [PATCH 1/6] arm64: dts: imx8mq-librem5: Enable I2C recovery Sebastian Krzyszkowiak via B4 Relay
2026-01-06 9:35 ` Peng Fan
2026-01-05 20:39 ` [PATCH 2/6] arm64: dts: imx8mq-librem5: Set vibrator's PWM frequency to 20kHz Sebastian Krzyszkowiak via B4 Relay
2026-01-06 9:37 ` Peng Fan
2026-01-05 20:39 ` [PATCH 3/6] arm64: dts: imx8mq-librem5: Enable SNVS RTC Sebastian Krzyszkowiak via B4 Relay
2026-01-06 9:40 ` Peng Fan
2026-01-05 20:39 ` [PATCH 4/6] arm64: dts: imx8mq-librem5: Limit uSDHC2 frequency to 50MHz Sebastian Krzyszkowiak via B4 Relay
2026-01-06 9:51 ` Peng Fan
2026-01-05 20:39 ` [PATCH 5/6] arm64: dts: imx8mq-librem5: Set cap-power-off-card for usdhc2 Sebastian Krzyszkowiak via B4 Relay
2026-01-06 9:53 ` Peng Fan
2026-01-05 20:39 ` [PATCH 6/6] arm64: dts: imx8mq-librem5: Don't set mic-cfg for wm8962 Sebastian Krzyszkowiak via B4 Relay
2026-01-17 7:09 ` [PATCH 0/6] arm64: dts: imx8mq-librem5: Various improvements for Librem 5 Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox