brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 5abcf92 Raw
71 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/rohm,bd28623.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ROHM BD28623MUV Class D speaker amplifier for digital input8 9description:10  This codec does not have any control buses such as I2C, it detect11  format and rate of I2S signal automatically. It has two signals12  that can be connected to GPIOs reset and mute.13 14maintainers:15  - Katsuhiro Suzuki <katsuhiro@katsuster.net>16 17allOf:18  - $ref: dai-common.yaml#19 20properties:21  compatible:22    const: rohm,bd2862323 24  "#sound-dai-cells":25    const: 026 27  VCCA-supply:28    description:29      regulator phandle for the VCCA (for analog) power supply30 31  VCCP1-supply:32    description:33      regulator phandle for the VCCP1 (for ch1) power supply34 35  VCCP2-supply:36    description:37      regulator phandle for the VCCP2 (for ch2) power supply38 39  reset-gpios:40    maxItems: 141    description:42      GPIO specifier for the active low reset line43 44  mute-gpios:45    maxItems: 146    description:47      GPIO specifier for the active low mute line48 49required:50  - compatible51  - VCCA-supply52  - VCCP1-supply53  - VCCP2-supply54  - "#sound-dai-cells"55 56unevaluatedProperties: false57 58examples:59  - |60    #include <dt-bindings/gpio/gpio.h>61    codec {62      compatible = "rohm,bd28623";63      #sound-dai-cells = <0>;64 65      VCCA-supply = <&vcc_reg>;66      VCCP1-supply = <&vcc_reg>;67      VCCP2-supply = <&vcc_reg>;68      reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;69      mute-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;70    };71