0040-ASoC-sun50i-dmic-dt-bindings-Add-D1-compatible-strin.patch 878 B

123456789101112131415161718192021222324252627
  1. From 7a24e5ee94e0163801c8ab4c131ae1d530a420ea Mon Sep 17 00:00:00 2001
  2. From: Samuel Holland <[email protected]>
  3. Date: Wed, 17 Aug 2022 02:08:36 -0500
  4. Subject: [PATCH 040/117] ASoC: sun50i-dmic: dt-bindings: Add D1 compatible
  5. string
  6. Signed-off-by: Samuel Holland <[email protected]>
  7. ---
  8. .../bindings/sound/allwinner,sun50i-h6-dmic.yaml | 7 ++++++-
  9. 1 file changed, 6 insertions(+), 1 deletion(-)
  10. --- a/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
  11. +++ b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
  12. @@ -11,7 +11,12 @@ maintainers:
  13. properties:
  14. compatible:
  15. - const: allwinner,sun50i-h6-dmic
  16. + oneOf:
  17. + - items:
  18. + - enum:
  19. + - allwinner,sun20i-d1-dmic
  20. + - const: allwinner,sun50i-h6-dmic
  21. + - const: allwinner,sun50i-h6-dmic
  22. "#sound-dai-cells":
  23. const: 0