Re: [PATCH v2 1/1] ASoC: dt-bindings: fsl-audmix: Convert fsl,audmix.txt to yaml

From: Rob Herring
Date: Fri Mar 22 2024 - 11:00:06 EST



On Thu, 21 Mar 2024 11:04:00 -0400, Frank Li wrote:
> Convert fsl,audmix.txt to yaml to let dtb check tools check audmix part.
>
> Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
> ---
>
> Notes:
> Change from v1 to v2
> - Add | at descript
> - Add phandle-array according to rob's feedback
>
> $ref: /schemas/types.yaml#/definitions/phandle-array
> minItems: 2
> items:
> - description: the AUDMIX output
> maxItems: 1
> - description: serial audio input 1
> maxItems: 1
> - description: serial audio input 2
> maxItems: 1
>
> dt_binding_check and DTB_CHECK passed.
>
> make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 dt_binding_check DT_SCHEMA_FILES=fsl,audmix.yaml
> LINT Documentation/devicetree/bindings
> DTEX Documentation/devicetree/bindings/sound/fsl,audmix.example.dts
> CHKDT Documentation/devicetree/bindings/processed-schema.json
> SCHEMA Documentation/devicetree/bindings/processed-schema.json
> DTC_CHK Documentation/devicetree/bindings/sound/fsl,audmix.example.dtb
>
> .../devicetree/bindings/sound/fsl,audmix.txt | 50 -----------
> .../devicetree/bindings/sound/fsl,audmix.yaml | 83 +++++++++++++++++++
> 2 files changed, 83 insertions(+), 50 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/sound/fsl,audmix.txt
> create mode 100644 Documentation/devicetree/bindings/sound/fsl,audmix.yaml
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>