[PATCH] ASoC: dt-bindings: sun50i-dmic: Add D1 compatible string

班涛 fengzheng923 at gmail.com
Thu Nov 17 15:21:03 CET 2022


Samuel Holland <samuel at sholland.org> 于2022年11月16日周三 11:46写道:

> The Allwinner D1 SoC has a DMIC codec like the one in the H6. It appears
> to be register-compatible with the H6 variant, and the existing Linux
> driver has been tested on a D1-based board, the Lichee RV 86 Panel.
>
> Signed-off-by: Samuel Holland <samuel at sholland.org>
> ---
>
>  .../bindings/sound/allwinner,sun50i-h6-dmic.yaml           | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git
> a/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> index 2f12cabe4c71..0920f2f81a1c 100644
> --- a/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> +++ b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> @@ -11,7 +11,12 @@ maintainers:
>
>  properties:
>    compatible:
> -    const: allwinner,sun50i-h6-dmic
> +    oneOf:
> +      - items:
> +          - enum:
> +              - allwinner,sun20i-d1-dmic
> +          - const: allwinner,sun50i-h6-dmic
> +      - const: allwinner,sun50i-h6-dmic
>
>    "#sound-dai-cells":
>      const: 0
> --
> 2.37.3
>
>
Acked-by: Ban Tao <fengzheng923 at gmail.com>


More information about the Alsa-devel mailing list