[PATCH 05/10] dt-bindings: sound: Add documentation for AD242x codecs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This device must be placed as a sub-device of an AD242x MFD node.

Signed-off-by: Daniel Mack <daniel@xxxxxxxxxx>
---
 .../bindings/sound/adi,ad242x-codec.yaml      | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/adi,ad242x-codec.yaml

diff --git a/Documentation/devicetree/bindings/sound/adi,ad242x-codec.yaml b/Documentation/devicetree/bindings/sound/adi,ad242x-codec.yaml
new file mode 100644
index 000000000000..2cfb6f9fc548
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/adi,ad242x-codec.yaml
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/sound/adi,ad242x-codec.yaml#";
+$schema: "http://devicetree.org/meta-schemas/core.yaml#";
+
+title: Analog Devices AD242x clock provider
+
+maintainers:
+  - Daniel Mack <daniel@xxxxxxxxxx>
+
+description: |
+  This module is part of the AD242x MFD device. For more details and an example
+  refer to Documentation/devicetree/bindings/mfd/ad242x.yaml.
+
+properties:
+  compatible:
+    enum:
+      - adi,ad2428w-codec
+
+  '#sound-dai-cells':
+    const: 1
+
+  adi,pdm-highpass-filter:
+    type: boolean
+    description: |
+      Enables highpass filtering for data received through the PDM ports
+
+required:
+  - compatible
+  - '#sound-dai-cells'
\ No newline at end of file
-- 
2.23.0




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux