diff mbox series

[v2,4/6] arm64: dts: imx8mp-data-modul-edm-sbc: remove #clock-cells for sai3

Message ID 20240807-fsl_dts_warning-v2-4-89e08c38831a@nxp.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: freescale: 2nrd clean up dtb warning under freescale | expand

Commit Message

Frank Li Aug. 7, 2024, 2:52 p.m. UTC
Remove #clock-cells for sai3 because sai3 is not clock controller to fix
below warning:
/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dtb: sai@30c30000: Unevaluated properties are not allowed ('#clock-cells' was unexpected)

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts | 1 -
 1 file changed, 1 deletion(-)

Comments

Fabio Estevam Aug. 7, 2024, 6:42 p.m. UTC | #1
Adding Marek.

On Wed, Aug 7, 2024 at 11:52 AM Frank Li <Frank.Li@nxp.com> wrote:
>
> Remove #clock-cells for sai3 because sai3 is not clock controller to fix
> below warning:
> /arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dtb: sai@30c30000: Unevaluated properties are not allowed ('#clock-cells' was unexpected)
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts b/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts
> index 7e1b58dbe23a7..837ea79741e8d 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts
> @@ -499,7 +499,6 @@ &pwm4 {
>  };
>
>  &sai3 {
> -       #clock-cells = <0>;
>         #sound-dai-cells = <0>;
>         assigned-clocks = <&clk IMX8MP_CLK_SAI3>;
>         assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>;
>
> --
> 2.34.1
>
Marek Vasut Aug. 8, 2024, 4:57 p.m. UTC | #2
On 8/7/24 8:42 PM, Fabio Estevam wrote:

Hello everyone,

> Adding Marek.

Thank you Fabio.

> On Wed, Aug 7, 2024 at 11:52 AM Frank Li <Frank.Li@nxp.com> wrote:
>>
>> Remove #clock-cells for sai3 because sai3 is not clock controller to fix
>> below warning:
>> /arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dtb: sai@30c30000: Unevaluated properties are not allowed ('#clock-cells' was unexpected)
>>
>> Signed-off-by: Frank Li <Frank.Li@nxp.com>
>> ---
>>   arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts | 1 -
>>   1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts b/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts
>> index 7e1b58dbe23a7..837ea79741e8d 100644
>> --- a/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts
>> +++ b/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts
>> @@ -499,7 +499,6 @@ &pwm4 {
>>   };
>>
>>   &sai3 {
>> -       #clock-cells = <0>;

The change is correct, thank you Frank.

Reviewed-by: Marek Vasut <marex@denx.de>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts b/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts
index 7e1b58dbe23a7..837ea79741e8d 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts
@@ -499,7 +499,6 @@  &pwm4 {
 };
 
 &sai3 {
-	#clock-cells = <0>;
 	#sound-dai-cells = <0>;
 	assigned-clocks = <&clk IMX8MP_CLK_SAI3>;
 	assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>;