Re: [PATCH] ARM: dts: exynos: correct max98090 DAI argument in Snow

From: Marek Szyprowski
Date: Thu Feb 09 2023 - 06:56:17 EST


On 08.02.2023 17:04, Krzysztof Kozlowski wrote:
> The max98090 has only one DAI and does not take argument to DAI
> phandles:
>
> exynos5250-snow-rev5.dtb: audio-codec@10: #sound-dai-cells:0:0: 0 was expected
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Tested-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> ---
> arch/arm/boot/dts/exynos5250-snow-rev5.dts | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos5250-snow-rev5.dts b/arch/arm/boot/dts/exynos5250-snow-rev5.dts
> index 0a47597d6f0d..3d32c3476e84 100644
> --- a/arch/arm/boot/dts/exynos5250-snow-rev5.dts
> +++ b/arch/arm/boot/dts/exynos5250-snow-rev5.dts
> @@ -27,7 +27,7 @@ cpu {
> };
>
> codec {
> - sound-dai = <&max98090 0>, <&hdmi>;
> + sound-dai = <&max98090>, <&hdmi>;
> };
> };
> };
> @@ -42,7 +42,7 @@ max98090: audio-codec@10 {
> pinctrl-0 = <&max98090_irq>;
> clocks = <&pmu_system_controller 0>;
> clock-names = "mclk";
> - #sound-dai-cells = <1>;
> + #sound-dai-cells = <0>;
> };
> };
>

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland