[alsa-devel] [PATCH v3] ASoC: dt-bindings: Convert Allwinner A10 codec to a schema

Rob Herring robh at kernel.org
Thu Oct 17 18:34:30 CEST 2019


On Wed, 16 Oct 2019 12:43:55 +0200, Maxime Ripard wrote:
> The Allwinner SoCs have an embedded audio codec that is supported in Linux,
> with a matching Device Tree binding.
> 
> Now that we have the DT validation in place, let's convert the device tree
> bindings for that controller over to a YAML schemas.
> 
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
> 
> ---
> 
> Changes from v2:
>   - Change the audio-routing values to an enum, and enforce boundaries on
>     the size
>   - Add restrictions to the possible values of audio-routing
> 
> Changes from v1:
>   - Fix subject prefix
> ---
>  .../sound/allwinner,sun4i-a10-codec.yaml      | 267 ++++++++++++++++++
>  .../devicetree/bindings/sound/sun4i-codec.txt |  94 ------
>  2 files changed, 267 insertions(+), 94 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-codec.yaml
>  delete mode 100644 Documentation/devicetree/bindings/sound/sun4i-codec.txt
> 

Reviewed-by: Rob Herring <robh at kernel.org>


More information about the Alsa-devel mailing list