On 09/07/2024 17:24, Rayyan Ansari wrote:
> Convert the Qualcomm MSM8916 WCD Digital Audio Codec bindings from text
> to yaml dt schema format.
> Make bindings complete by adding #sound-dai-cells.
> +
> +properties:
> + compatible:
> + const: qcom,msm8916-wcd-digital-codec
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + minItems: 2
You can drop minItems if they equal max.
> + maxItems: 2
> +
> + clock-names:
> + items:
> + - const: ahbix-clk
> + - const: mclk
> +
> + '#sound-dai-cells':
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - clock-names
> + - '#sound-dai-cells'
> +
You need here allOf: with $ref to dai-common.yaml.
> +additionalProperties: false
... and this then becomes:
unevaluatedProperties: false
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]