summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dakinevich <jan.dakinevich@salutedevices.com>2024-04-24 01:24:52 +0300
committerDmitry Rokosov <rockosov@rulkc.org>2026-08-13 14:41:31 +0300
commit53ff77ff515037d93380eb5871b1ecbb5263de08 (patch)
treef4b5a408144a3829b4423a3219b0d73a78dd8554
parent01d2bdeb6a01003503008e5bea2bec2d1b65c941 (diff)
downloadlinux-53ff77ff515037d93380eb5871b1ecbb5263de08.tar.gz
linux-53ff77ff515037d93380eb5871b1ecbb5263de08.zip
ASoC: dt-bindings: meson: t9015: document linein/lineout properties
Fixes: acf307358a46 ("ASoC: dt-bindings: meson: t9015: add support for A1 SoC family") Signed-off-by: Jan Dakinevich <jan.dakinevich@salutedevices.com> Signed-off-by: Dmitry Rokosov <rockosov@rulkc.org>
-rw-r--r--Documentation/devicetree/bindings/sound/amlogic,t9015.yaml54
1 files changed, 51 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml b/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml
index ee8bd57dbcf9..9fd6f98a5272 100644
--- a/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml
+++ b/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml
@@ -9,9 +9,6 @@ title: Amlogic T9015 Internal Audio DAC
maintainers:
- Jerome Brunet <jbrunet@baylibre.com>
-allOf:
- - $ref: dai-common.yaml#
-
properties:
$nodename:
pattern: "^audio-controller@.*"
@@ -45,6 +42,15 @@ properties:
sound-name-prefix: true
+ lineout-left:
+ $ref: /schemas/types.yaml#/definitions/string
+ lineout-right:
+ $ref: /schemas/types.yaml#/definitions/string
+ linein-left:
+ $ref: /schemas/types.yaml#/definitions/string
+ linein-right:
+ $ref: /schemas/types.yaml#/definitions/string
+
required:
- "#sound-dai-cells"
- compatible
@@ -54,6 +60,48 @@ required:
- resets
- AVDD-supply
+
+allOf:
+ - $ref: dai-common.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: amlogic,t9015-a1
+ then:
+ properties:
+ lineout-left:
+ items:
+ - enum:
+ - none
+ - right
+ - left-inverted
+ lineout-right:
+ items:
+ - enum:
+ - none
+ - left
+ - right-inverted
+ linein-left:
+ items:
+ - enum:
+ - none
+ - differential
+ - positive
+ - negative
+ linein-right:
+ items:
+ - enum:
+ - none
+ - differential
+ - positive
+ - negative
+ else:
+ lineout-left: false
+ lineout-right: false
+ linein-left: false
+ linein-right: false
+
additionalProperties: false
examples: