On 25/03/2024 19:19, Kartik Agarwala wrote:
> Convert WM8974 audio CODEC bindings from text to dtschema.
>
> Signed-off-by: Kartik Agarwala <agarwala.kartik@xxxxxxxxx>
Thank you for your patch. There are no DTS users of this binding, so
while such conversions are useful, they have significantly smaller
impact. In the future, please consider converting bindings from active
platforms (arm64 defconfig, arm multi_v7). This would have significantly
bigger impact.
See also:
https://lore.kernel.org/all/6552bcb8-e046-4882-91da-1094fff3d239@xxxxxxxxxx/
> ---
> .../devicetree/bindings/sound/wlf,wm8974.txt | 15 -------
> .../devicetree/bindings/sound/wlf,wm8974.yaml | 41 +++++++++++++++++++
> 2 files changed, 41 insertions(+), 15 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8974.txt
> create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8974.yaml
>
...
> + "#sound-dai-cells":
> + const: 0
> +
> +required:
> + - compatible
> + - reg
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + codec@1a {
> + compatible = "wlf,wm8974";
> + reg = <0x1a>;
In the future for other patches like this, make example complete, so add
a dai-cells also here.
No need to resend just for that.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]