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>
codec: codec@0 {
compatible = "wlf,wm8978";
reg = <0>;
- spi-max-frequency = <5000000>;
+ spi-max-frequency = <500000>;
+ #sound-dai-cells = <0>;
};
};