diff mbox series

arm64: dts: imx8m-beacon-kit: Remove extra sound-sai entry

Message ID 20230809113658.2070206-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8m-beacon-kit: Remove extra sound-sai entry | expand

Commit Message

Fabio Estevam Aug. 9, 2023, 11:36 a.m. UTC
From: Fabio Estevam <festevam@denx.de>

'sound-dai' should contain only 'sai5'. Remove the extra entry to
fix the following schema warning:

imx8mm-beacon-kit.dtb: sound-hdmi: simple-audio-card,cpu:sound-dai: [[110], [0]] is too long
	from schema $id: http://devicetree.org/schemas/sound/simple-card.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dts | 2 +-
 arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Adam Ford Aug. 9, 2023, 12:11 p.m. UTC | #1
On Wed, Aug 9, 2023 at 6:37 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> From: Fabio Estevam <festevam@denx.de>
>
> 'sound-dai' should contain only 'sai5'. Remove the extra entry to
> fix the following schema warning:
>
> imx8mm-beacon-kit.dtb: sound-hdmi: simple-audio-card,cpu:sound-dai: [[110], [0]] is too long
>         from schema $id: http://devicetree.org/schemas/sound/simple-card.yaml#
>

Thanks for the fix.   Should it have a fixes tag?

Acked-by: Adam Ford <aford173@gmail.com>

> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dts | 2 +-
>  arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dts
> index 66d68ce98ca4..905c98cb080d 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dts
> @@ -47,7 +47,7 @@ sound-hdmi {
>                 simple-audio-card,format = "i2s";
>
>                 simple-audio-card,cpu {
> -                       sound-dai = <&sai5 0>;
> +                       sound-dai = <&sai5>;
>                         system-clock-direction-out;
>                 };
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts
> index 442ff2960677..35b8d2060cd9 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts
> @@ -47,7 +47,7 @@ sound-hdmi {
>                 simple-audio-card,format = "i2s";
>
>                 simple-audio-card,cpu {
> -                       sound-dai = <&sai5 0>;
> +                       sound-dai = <&sai5>;
>                         system-clock-direction-out;
>                 };
>
> --
> 2.34.1
>
Shawn Guo Aug. 11, 2023, 2:25 p.m. UTC | #2
On Wed, Aug 09, 2023 at 08:36:58AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 'sound-dai' should contain only 'sai5'. Remove the extra entry to
> fix the following schema warning:
> 
> imx8mm-beacon-kit.dtb: sound-hdmi: simple-audio-card,cpu:sound-dai: [[110], [0]] is too long
> 	from schema $id: http://devicetree.org/schemas/sound/simple-card.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dts
index 66d68ce98ca4..905c98cb080d 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dts
@@ -47,7 +47,7 @@  sound-hdmi {
 		simple-audio-card,format = "i2s";
 
 		simple-audio-card,cpu {
-			sound-dai = <&sai5 0>;
+			sound-dai = <&sai5>;
 			system-clock-direction-out;
 		};
 
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts
index 442ff2960677..35b8d2060cd9 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-beacon-kit.dts
@@ -47,7 +47,7 @@  sound-hdmi {
 		simple-audio-card,format = "i2s";
 
 		simple-audio-card,cpu {
-			sound-dai = <&sai5 0>;
+			sound-dai = <&sai5>;
 			system-clock-direction-out;
 		};