[PATCH 2/3] ASoC: dt-bindings: xmos,xvf3500: add bindings for XMOS XVF3500

From: Javier Carrasco
Date: Mon Jan 15 2024 - 04:17:29 EST


The XMOS XVF3500 VocalFusion Voice Processor[1] is a low-latency, 32-bit
multicore controller for voice processing.

Add new bindings to define the device properties.

[1] https://www.xmos.com/xvf3500/

Signed-off-by: Javier Carrasco <javier.carrasco@xxxxxxxxxxxxxx>
---
.../devicetree/bindings/sound/xmos,xvf3500.yaml | 51 ++++++++++++++++++++++
1 file changed, 51 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml b/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml
new file mode 100644
index 000000000000..e93a735a0f1a
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml
@@ -0,0 +1,51 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/xmos,xvf3500.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: XMOS XVF3500 VocalFusion Voice Processor
+
+maintainers:
+ - Javier Carrasco <javier.carrasco@xxxxxxxxxxxxxx>
+
+description: |-
+ The XMOS XVF3500 VocalFusion Voice Processor is a low-latency, 32-bit
+ multicore controller for voice processing.
+ https://www.xmos.com/xvf3500/
+
+properties:
+ compatible:
+ const: xmos,xvf3500
+
+ reset-gpios:
+ maxItems: 1
+
+ vcc1v0-supply:
+ description: |
+ Regulator for the 1V0 supply.
+
+ vcc3v3-supply:
+ description: |
+ Regulator for the 3V3 supply.
+
+additionalProperties: false
+
+required:
+ - compatible
+ - reset-gpios
+ - vcc1v0-supply
+ - vcc3v3-supply
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ xvf3500: voice-processor {
+ compatible = "xmos,xvf3500";
+ reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
+ vcc1v0-supply = <&vcc1v0>;
+ vcc3v3-supply = <&vcc3v3>;
+ };
+
+...

--
2.39.2