ARM: dts: renesas: Genmai: Update audio codec device node

Meanwhile, bindings for the audio codec exist.  Add #sound-dai-cells
property and limit max frequency accordingly.

  codec@0: '#sound-dai-cells' is a required property
  codec@0: spi-max-frequency: 5000000 is greater than the maximum of 526000

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20240925090812.14497-2-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
Wolfram Sang
2024-09-25 11:08:13 +02:00
committed by Geert Uytterhoeven
parent f3b1d5c46a
commit e4b26b85a3

View File

@@ -249,7 +249,8 @@ &spi4 {
codec: codec@0 {
compatible = "wlf,wm8978";
reg = <0>;
spi-max-frequency = <5000000>;
spi-max-frequency = <500000>;
#sound-dai-cells = <0>;
};
};