summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/adi,ssm3515.yaml
diff options
context:
space:
mode:
authorMartin Povišer <povik+lin@cutebit.org>2023-05-11 17:05:45 +0200
committerMark Brown <broonie@kernel.org>2023-05-12 10:27:16 +0900
commit51208a4d303b78642c5d5b35fb9ce963a84d21d0 (patch)
tree1d17b0a5e747750b5903dd4a76bd51e843f67cf6 /Documentation/devicetree/bindings/sound/adi,ssm3515.yaml
parentc7895b75865bb4413c7f29f1dcb7fd0593e9255c (diff)
ASoC: dt-bindings: Add adi,ssm3515 amp schema
Add a DT schema for the SSM3515 amp by Analog Devices. It's a simple mono amplifier with digital input. Signed-off-by: Martin Povišer <povik+lin@cutebit.org Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org Link: https://lore.kernel.org/r/20230511150546.8499-2-povik+lin@cutebit.org Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/sound/adi,ssm3515.yaml')
-rw-r--r--Documentation/devicetree/bindings/sound/adi,ssm3515.yaml49
1 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/adi,ssm3515.yaml b/Documentation/devicetree/bindings/sound/adi,ssm3515.yaml
new file mode 100644
index 000000000000..144450df5869
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/adi,ssm3515.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/adi,ssm3515.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices SSM3515 Audio Amplifier
+
+maintainers:
+ - Martin Povišer <povik+lin@cutebit.org>
+
+description: |
+ SSM3515 is a mono Class-D audio amplifier with digital input.
+
+ https://www.analog.com/media/en/technical-documentation/data-sheets/SSM3515.pdf
+
+allOf:
+ - $ref: dai-common.yaml#
+
+properties:
+ compatible:
+ enum:
+ - adi,ssm3515
+
+ reg:
+ maxItems: 1
+
+ '#sound-dai-cells':
+ const: 0
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ codec@14 {
+ compatible = "adi,ssm3515";
+ reg = <0x14>;
+ #sound-dai-cells = <0>;
+ sound-name-prefix = "Left Tweeter";
+ };
+ };