brintos

brintos / linux-shallow public Read only

0
0
Text · 1003 B · a42bf9b Raw
56 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/ti,tpa6130a2.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments - tpa6130a2 Codec module8 9maintainers:10  - Sebastian Reichel <sre@kernel.org>11 12description:13  Stereo, analog input headphone amplifier14 15properties:16  compatible:17    enum:18      - ti,tpa6130a219      - ti,tpa6140a220 21  reg:22    maxItems: 123 24  Vdd-supply:25    description: power supply regulator26 27  power-gpio:28    description: gpio pin to power the device29 30required:31  - compatible32  - reg33  - Vdd-supply34 35allOf:36  - $ref: dai-common.yaml#37 38unevaluatedProperties: false39 40examples:41  - |42    #include <dt-bindings/gpio/gpio.h>43 44    i2c {45        #address-cells = <1>;46        #size-cells = <0>;47 48        amplifier@60 {49            compatible = "ti,tpa6130a2";50            reg = <0x60>;51            Vdd-supply = <&vmmc2>;52            power-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>;53       };54    };55 56