[PATCH] arm64: dts: imx8mn: specify #sound-dai-cells for SAI nodes

Marco Felsch m.felsch at pengutronix.de
Mon Feb 27 11:01:23 PST 2023


Hi Marek,

On 23-02-27, Marek Vasut wrote:
> Add #sound-dai-cells properties to SAI nodes.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
> Cc: Abel Vesa <abelvesa at kernel.org>
> Cc: Alexander Stein <alexander.stein at ew.tq-group.com>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: Jacky Bai <ping.bai at nxp.com>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt at linaro.org>
> Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Cc: Luca Ceresoli <luca.ceresoli at bootlin.com>
> Cc: Lucas Stach <l.stach at pengutronix.de>
> Cc: Marco Felsch <m.felsch at pengutronix.de>
> Cc: Michael Turquette <mturquette at baylibre.com>
> Cc: NXP Linux Team <linux-imx at nxp.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
> Cc: Richard Cochran <richardcochran at gmail.com>
> Cc: Rob Herring <robh+dt at kernel.org>
> Cc: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: Stephen Boyd <sboyd at kernel.org>
> Cc: devicetree at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-clk at vger.kernel.org
> ---
>  arch/arm64/boot/dts/freescale/imx8mn.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
> index ed9ac6c5047c0..bbec860ef8548 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
> @@ -294,6 +294,7 @@ spba2: spba-bus at 30000000 {
>  				ranges;
>  
>  				sai2: sai at 30020000 {
> +					#sound-dai-cells = <0>;

Please don't add it in front of the compatible and the reg property.

Regards,
  Marco

>  					compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
>  					reg = <0x30020000 0x10000>;
>  					interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
> @@ -308,6 +309,7 @@ sai2: sai at 30020000 {
>  				};
>  
>  				sai3: sai at 30030000 {
> +					#sound-dai-cells = <0>;
>  					compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
>  					reg = <0x30030000 0x10000>;
>  					interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
> @@ -322,6 +324,7 @@ sai3: sai at 30030000 {
>  				};
>  
>  				sai5: sai at 30050000 {
> +					#sound-dai-cells = <0>;
>  					compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
>  					reg = <0x30050000 0x10000>;
>  					interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
> @@ -338,6 +341,7 @@ sai5: sai at 30050000 {
>  				};
>  
>  				sai6: sai at 30060000 {
> +					#sound-dai-cells = <0>;
>  					compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
>  					reg = <0x30060000  0x10000>;
>  					interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
> @@ -395,6 +399,7 @@ spdif1: spdif at 30090000 {
>  				};
>  
>  				sai7: sai at 300b0000 {
> +					#sound-dai-cells = <0>;
>  					compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
>  					reg = <0x300b0000 0x10000>;
>  					interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
> -- 
> 2.39.2
> 
> 



More information about the linux-arm-kernel mailing list