Re: [PATCH v5 7/8] ASoC: dt-bindings: xmos, xvf3500: add XMOS XVF3500 voice processor

2024-02-28 Thread Mark Brown
On Wed, Feb 28, 2024 at 02:51:34PM +0100, Javier Carrasco wrote:
> The XMOS XVF3500 VocalFusion Voice Processor[1] is a low-latency, 32-bit
> multicore controller for voice processing.

Acked-by: Mark Brown 


signature.asc
Description: PGP signature


[PATCH v5 7/8] ASoC: dt-bindings: xmos,xvf3500: add XMOS XVF3500 voice processor

2024-02-28 Thread Javier Carrasco
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/

Reviewed-by: Krzysztof Kozlowski 
Signed-off-by: Javier Carrasco 
---
 .../devicetree/bindings/sound/xmos,xvf3500.yaml| 63 ++
 1 file changed, 63 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml 
b/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml
new file mode 100644
index ..fb77a61f1350
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml
@@ -0,0 +1,63 @@
+# 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 
+
+description:
+  The XMOS XVF3500 VocalFusion Voice Processor is a low-latency, 32-bit
+  multicore controller for voice processing.
+  https://www.xmos.com/xvf3500/
+
+allOf:
+  - $ref: /schemas/usb/usb-device.yaml#
+
+properties:
+  compatible:
+const: usb20b1,0013
+
+  reg: true
+
+  reset-gpios:
+maxItems: 1
+
+  vdd-supply:
+description:
+  Regulator for the 1V0 supply.
+
+  vddio-supply:
+description:
+  Regulator for the 3V3 supply.
+
+required:
+  - compatible
+  - reg
+  - reset-gpios
+  - vdd-supply
+  - vddio-supply
+
+additionalProperties: false
+
+examples:
+  - |
+#include 
+
+usb {
+#address-cells = <1>;
+#size-cells = <0>;
+
+voice_processor: voice-processor@1 {
+compatible = "usb20b1,0013";
+reg = <1>;
+reset-gpios = < 5 GPIO_ACTIVE_LOW>;
+vdd-supply = <>;
+vddio-supply = <>;
+};
+};
+
+...

-- 
2.40.1