Commit 5b5858e4 authored by Javier Carrasco's avatar Javier Carrasco Committed by Greg Kroah-Hartman
Browse files

ASoC: dt-bindings: xmos,xvf3500: add XMOS XVF3500 voice processor

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarJavier Carrasco <javier.carrasco@wolfvision.net>
Link: https://lore.kernel.org/r/20240325-onboard_xvf3500-v8-7-29e3f9222922@wolfvision.net


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dd84ac97
Loading
Loading
Loading
Loading
+63 −0
Original line number Diff line number Diff line
# 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@wolfvision.net>

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 <dt-bindings/gpio/gpio.h>

    usb {
        #address-cells = <1>;
        #size-cells = <0>;

        voice_processor: voice-processor@1 {
            compatible = "usb20b1,0013";
            reg = <1>;
            reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
            vdd-supply = <&vcc1v0>;
            vddio-supply = <&vcc3v3>;
        };
    };

...