summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Anikiel <pan@semihalf.com>2023-05-08 13:30:34 +0200
committerMark Brown <broonie@kernel.org>2023-05-17 10:37:09 +0900
commit580bac2a2c6f7d106be6d0ee0f0f310be49368b3 (patch)
tree5cd3a9336658400c590ea487c208b2d530417e88
parent61ed303496eb7e18491ee617dec2403f75d5168c (diff)
downloadlwn-580bac2a2c6f7d106be6d0ee0f0f310be49368b3.tar.gz
lwn-580bac2a2c6f7d106be6d0ee0f0f310be49368b3.zip
ASoC: dt-bindings: Add Google Chameleon v3 audio codec
Add binding for google,chv3-codec device. Signed-off-by: Paweł Anikiel <pan@semihalf.com Link: https://lore.kernel.org/r/20230508113037.137627-5-pan@semihalf.com Signed-off-by: Mark Brown <broonie@kernel.org
-rw-r--r--Documentation/devicetree/bindings/sound/google,chv3-codec.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/google,chv3-codec.yaml b/Documentation/devicetree/bindings/sound/google,chv3-codec.yaml
new file mode 100644
index 000000000000..5329dc140b1c
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/google,chv3-codec.yaml
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/google,chv3-codec.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Google Chameleon v3 audio codec
+
+maintainers:
+ - Paweł Anikiel <pan@semihalf.com>
+
+allOf:
+ - $ref: dai-common.yaml#
+
+properties:
+ compatible:
+ const: google,chv3-codec
+
+ "#sound-dai-cells":
+ const: 0
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ audio-codec {
+ compatible = "google,chv3-codec";
+ };