--- Begin Message ---
- To: alsa-devel@xxxxxxxxxxxxxxxx, devicetree@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, lgirdwood@xxxxxxxxx, broonie@xxxxxxxxxx
- Subject: [PATCH v2 4/7] ASoC: dt-bindings: Add Google Chameleon v3 audio codec
- From: Paweł Anikiel <pan@xxxxxxxxxxxx>
- Date: Mon, 8 May 2023 13:30:34 +0200
- Cc: tiwai@xxxxxxxx, robh+dt@xxxxxxxxxx, krzysztof.kozlowski+dt@xxxxxxxxxx, dinguyen@xxxxxxxxxx, lars@xxxxxxxxxx, nuno.sa@xxxxxxxxxx, upstream@xxxxxxxxxxxx, amstan@xxxxxxxxxxxx, Paweł Anikiel <pan@xxxxxxxxxxxx>
- In-reply-to: <20230508113037.137627-1-pan@semihalf.com>
- References: <20230508113037.137627-1-pan@semihalf.com>
Add binding for google,chv3-codec device.
Signed-off-by: Paweł Anikiel <pan@xxxxxxxxxxxx>
---
.../bindings/sound/google,chv3-codec.yaml | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/google,chv3-codec.yaml
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@xxxxxxxxxxxx>
+
+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";
+ };
--
2.40.1.521.gf1e218fcd8-goog
--- End Message ---