[PATCH 1/2] dt-bindings: sound: add Everest ES7202
Jun Yan
jerrysteve1101 at gmail.com
Tue Oct 20 07:31:31 PDT 2026
Add the device-tree bindings for the Everest ES7202, a 2-channel PDM
analog-to-digital converter controlled over I2C.
Signed-off-by: Jun Yan <jerrysteve1101 at gmail.com>
---
.../bindings/sound/everest,es7202.yaml | 56 +++++++++++++++++++
1 file changed, 56 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/everest,es7202.yaml
diff --git a/Documentation/devicetree/bindings/sound/everest,es7202.yaml b/Documentation/devicetree/bindings/sound/everest,es7202.yaml
new file mode 100644
index 000000000000..ce98d2d600d4
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/everest,es7202.yaml
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/everest,es7202.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Everest ES7202 2 channel PDM analog to digital converter
+
+maintainers:
+ - Jun Yan <jerrysteve1101 at gmail.com>
+
+properties:
+ compatible:
+ enum:
+ - everest,es7202
+
+ reg:
+ maxItems: 1
+
+ reset-gpios:
+ maxItems: 1
+ description: GPIO connected to the reset pin (active low)
+
+ vdd-supply:
+ description: Main power supply, 1.8 V or 3.3 V. Optional; defaults to 3.3 V
+
+ "#sound-dai-cells":
+ const: 0
+
+required:
+ - compatible
+ - reg
+ - "#sound-dai-cells"
+
+allOf:
+ - $ref: dai-common.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ es7202: codec at 30 {
+ compatible = "everest,es7202";
+ reg = <0x30>;
+ #sound-dai-cells = <0>;
+ reset-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+ vdd-supply = <&vcc3v3_sys>;
+ };
+ };
+...
--
2.56.0
More information about the Linux-rockchip
mailing list