linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 3/3] arm64: dts: colibri-imx8x: Add cma memory
       [not found] <20251031125003.275033-1-max.oss.09@gmail.com>
@ 2025-10-31 12:49 ` max.oss.09
       [not found] ` <20251031125003.275033-3-max.oss.09@gmail.com>
  2025-12-30 10:25 ` [PATCH v1 0/3] arm64: dts: imx8x-colibri: add additional functionality Francesco Dolcini
  2 siblings, 0 replies; 4+ messages in thread
From: max.oss.09 @ 2025-10-31 12:49 UTC (permalink / raw)
  To: Max Krummenacher
  Cc: Philippe Schenker, Conor Dooley, Fabio Estevam,
	Krzysztof Kozlowski, Pengutronix Kernel Team, Rob Herring,
	Sascha Hauer, Shawn Guo, devicetree, imx, linux-arm-kernel,
	linux-kernel

From: Philippe Schenker <philippe.schenker@toradex.com>

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).

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>

---

 arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
index 32bca4c6f37e..d4bf30d91d69 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
@@ -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>;
-- 
2.42.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 2/3] arm64: dts: colibri-imx8x: Add wi-fi 32kHz clock
       [not found] ` <20251031125003.275033-3-max.oss.09@gmail.com>
@ 2025-10-31 18:27   ` Frank Li
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2025-10-31 18:27 UTC (permalink / raw)
  To: max.oss.09
  Cc: Max Krummenacher, Conor Dooley, Fabio Estevam,
	Krzysztof Kozlowski, Pengutronix Kernel Team, Rob Herring,
	Sascha Hauer, Shawn Guo, devicetree, imx, linux-arm-kernel,
	linux-kernel

On Fri, Oct 31, 2025 at 01:49:42PM +0100, max.oss.09@gmail.com wrote:
> From: Max Krummenacher <max.krummenacher@toradex.com>
>
> The Wi-Fi module requires a 32kHz clock to support Wi-Fi/BT low power
> operation.

Need extra space line between paragraph.

Frank

> Setting the pinmuxing option on the connected pin to 32kHz is all
> needed to generated the signal.
>
> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
> ---
>
>  arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
> index 318fe4db1b64..32bca4c6f37e 100644
> --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
> @@ -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
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 0/3] arm64: dts: imx8x-colibri: add additional functionality
       [not found] <20251031125003.275033-1-max.oss.09@gmail.com>
  2025-10-31 12:49 ` [PATCH v1 3/3] arm64: dts: colibri-imx8x: Add cma memory max.oss.09
       [not found] ` <20251031125003.275033-3-max.oss.09@gmail.com>
@ 2025-12-30 10:25 ` Francesco Dolcini
  2025-12-31  2:13   ` Shawn Guo
  2 siblings, 1 reply; 4+ messages in thread
From: Francesco Dolcini @ 2025-12-30 10:25 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Max Krummenacher, Conor Dooley, Fabio Estevam,
	Krzysztof Kozlowski, Pengutronix Kernel Team, Rob Herring,
	Sascha Hauer, Shawn Guo, devicetree, imx, linux-arm-kernel,
	linux-kernel, max.oss.09

Hello Shawn,

On Fri, Oct 31, 2025 at 01:49:40PM +0100, max.oss.09@gmail.com 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 0/3] arm64: dts: imx8x-colibri: add additional functionality
  2025-12-30 10:25 ` [PATCH v1 0/3] arm64: dts: imx8x-colibri: add additional functionality Francesco Dolcini
@ 2025-12-31  2:13   ` Shawn Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2025-12-31  2:13 UTC (permalink / raw)
  To: Francesco Dolcini
  Cc: Max Krummenacher, Conor Dooley, Fabio Estevam,
	Krzysztof Kozlowski, Pengutronix Kernel Team, Rob Herring,
	Sascha Hauer, devicetree, imx, linux-arm-kernel, linux-kernel,
	max.oss.09

On Tue, Dec 30, 2025 at 11:25:25AM +0100, Francesco Dolcini wrote:
> Hello Shawn,
> 
> On Fri, Oct 31, 2025 at 01:49:40PM +0100, max.oss.09@gmail.com 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-31  2:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20251031125003.275033-1-max.oss.09@gmail.com>
2025-10-31 12:49 ` [PATCH v1 3/3] arm64: dts: colibri-imx8x: Add cma memory max.oss.09
     [not found] ` <20251031125003.275033-3-max.oss.09@gmail.com>
2025-10-31 18:27   ` [PATCH v1 2/3] arm64: dts: colibri-imx8x: Add wi-fi 32kHz clock Frank Li
2025-12-30 10:25 ` [PATCH v1 0/3] arm64: dts: imx8x-colibri: add additional functionality Francesco Dolcini
2025-12-31  2:13   ` 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).