Skip to content

Commit

Permalink
ASoC: Add compatible strings for JZ4760(B) SoC
Browse files Browse the repository at this point in the history
Add the ingenic,jz4760b-codec and ingenic,jz4760-codec compatible
strings.

In the process, convert the previous compatible strings to use an enum
instead.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20210123140958.12895-1-paul@crapouillou.net
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Paul Cercueil authored and Mark Brown committed Feb 8, 2021
1 parent d9cd22e commit 45a90d4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Documentation/devicetree/bindings/sound/ingenic,codec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ properties:

compatible:
oneOf:
- const: ingenic,jz4770-codec
- const: ingenic,jz4725b-codec
- const: ingenic,jz4740-codec
- enum:
- ingenic,jz4770-codec
- ingenic,jz4760-codec
- ingenic,jz4725b-codec
- ingenic,jz4740-codec
- items:
- const: ingenic,jz4760b-codec
- const: ingenic,jz4760-codec

reg:
maxItems: 1
Expand Down

0 comments on commit 45a90d4

Please sign in to comment.