summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml
diff options
context:
space:
mode:
authorTobias Schramm <t.schramm@manjaro.org>2021-05-14 15:44:02 +0200
committerMaxime Ripard <maxime@cerno.tech>2021-05-18 17:17:58 +0200
commit78e8db071b684f4b3975653fd31ffabc8c204501 (patch)
treeb05589550b810e78d454544c1bbb6844fcb814a6 /Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml
parent5348915db9b878084ae67f159063550fe0500847 (diff)
ASoC: dt-bindings: sun8i-a23-codec-analog: add compatible for Allwinner V3
The analog codec frontend of the Allwinner V3 is compatible with the analog codec frontend used on the Allwinner H3. This patch adds a compatible string for the analog codec frontend on the Allwinner V3 SoC. Signed-off-by: Tobias Schramm <t.schramm@manjaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210514134405.2097464-5-t.schramm@manjaro.org
Diffstat (limited to 'Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml')
-rw-r--r--Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml
index 9718358826ab..26eca21e1f0f 100644
--- a/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml
+++ b/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml
@@ -12,12 +12,15 @@ maintainers:
properties:
compatible:
- enum:
+ oneOf:
# FIXME: This is documented in the PRCM binding, but needs to be
# migrated here at some point
# - allwinner,sun8i-a23-codec-analog
- - allwinner,sun8i-h3-codec-analog
- - allwinner,sun8i-v3s-codec-analog
+ - const: allwinner,sun8i-h3-codec-analog
+ - items:
+ - const: allwinner,sun8i-v3-codec-analog
+ - const: allwinner,sun8i-h3-codec-analog
+ - const: allwinner,sun8i-v3s-codec-analog
reg:
maxItems: 1