arm64: dts: imx8x-colibri: add additional functionality
Subsystems (2)
cover arm64: dts: imx8x-colibri: add additional functionality
From: Max Krummenacher <[email protected]>
Provide a pwm-backlight.
Provide the 32kHz Wi-Fi clock used during low-power operation. Configure CMA from the device tree.
Max Krummenacher (1):
arm64: dts: colibri-imx8x: Add wi-fi 32kHz clock
Philippe Schenker (2):
arm64: dts: colibri-imx8x: Add backlight
arm64: dts: colibri-imx8x: Add cma memory
.../boot/dts/freescale/imx8x-colibri.dtsi | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-)
Signature · 1 line
2.42.0
PATCH 1/3 arm64: dts: colibri-imx8x: Add backlight
From: Philippe Schenker <[email protected]>
Add a backlight node to colibri-imx8x. The node can be enabled from an overlay once display output is implemented.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +14 -0
@@ -3,7 +3,21 @@ * Copyright 2019 Toradex */ +#include "dt-bindings/pwm/pwm.h" + / { + backlight: backlight { + compatible = "pwm-backlight"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_bl_on>; + brightness-levels = <0 45 63 88 119 158 203 255>; + default-brightness-level = <4>; + enable-gpios = <&lsio_gpio3 12 GPIO_ACTIVE_HIGH>; /* Colibri BL_ON */ + power-supply = <®_module_3v3>; + pwms = <&adma_pwm 0 6666667 PWM_POLARITY_INVERTED>; + status = "disabled"; + }; + chosen { stdout-path = &lpuart3; };
Signature · 1 line
2.42.0
PATCH 2/3 arm64: dts: colibri-imx8x: Add wi-fi 32kHz clock
In reply to [email protected]From: Max Krummenacher <[email protected]>
The Wi-Fi module requires a 32kHz clock to support Wi-Fi/BT low power operation.
Setting the pinmuxing option on the connected pin to 32kHz is all needed to generated the signal.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +1 -1
@@ -490,7 +490,7 @@ &mu1_m0 { /* On-module PCIe for Wi-Fi */ &pcieb { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pcieb>; + pinctrl-0 = <&pinctrl_pcieb>, <&pinctrl_wifi>; phys = <&hsio_phy 0 PHY_TYPE_PCIE 0>; phy-names = "pcie-phy"; reset-gpios = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
Signature · 1 line
2.42.0
PATCH 3/3 arm64: dts: colibri-imx8x: Add cma memory
In reply to [email protected]From: Philippe Schenker <[email protected]>
Add CMA in device tree and set its size to 416MiB for all Colibri iMX8X.
The size is tuned to be enough to play full HD video using gst-play and to fit in the SKU with the lowest amount of RAM (1GB).
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +13 -0
@@ -86,6 +86,19 @@ reg_usbh_vbus: regulator-usbh-vbus { regulator-name = "usbh_vbus"; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + linux,cma { + compatible = "shared-dma-pool"; + linux,cma-default; + reusable; + size = <0 0x1a000000>; + }; + }; + sound-card { compatible = "simple-audio-card"; simple-audio-card,bitclock-master = <&dailink_master>;
Signature · 1 line
2.42.0
Frank Li
maintainerRe: [PATCH v1 2/3] arm64: dts: colibri-imx8x: Add wi-fi 32kHz clock
In reply to [email protected]Quoted 4 lines · On Fri, Oct 31, 2025 at 01:49:42PM +0100, [email protected] wrote:
From: Max Krummenacher <[email protected]>
The Wi-Fi module requires a 32kHz clock to support Wi-Fi/BT low power operation.
Need extra space line between paragraph.
Frank
Quoted 25 lines
Setting the pinmuxing option on the connected pin to 32kHz is all needed to generated the signal.
Signed-off-by Max Krummenacher <[email protected]>---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +1
-2@@ -490,7 +490,7 @@ &mu1_m0 { /* On-module PCIe for Wi-Fi */ &pcieb { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pcieb>; + pinctrl-0 = <&pinctrl_pcieb>, <&pinctrl_wifi>; phys = <&hsio_phy 0 PHY_TYPE_PCIE 0>; phy-names = "pcie-phy"; reset-gpios = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>; --2.42.0
Hello Shawn,
Quoted 3 lines · On Fri, Oct 31, 2025 at 01:49:40PM +0100, [email protected] wrote:
Provide a pwm-backlight.
Provide the 32kHz Wi-Fi clock used during low-power operation. Configure CMA from the device tree.
This series was not applied, any concern? Anything to change?
Thanks,
Francesco
Quoted 8 lines · Francesco Dolcini
Hello Shawn,
Quoted 3 lines · On Fri, Oct 31, 2025 at 01:49:40PM +0100, [email protected] wrote:
Provide a pwm-backlight.
Provide the 32kHz Wi-Fi clock used during low-power operation. Configure CMA from the device tree.This series was not applied, any concern? Anything to change?
Sorry for missing it. Applied, thanks!
Shawn