brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · 530bc39 Raw
83 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (C) 2020-2022 Texas Instruments Incorporated3%YAML 1.24---5$id: http://devicetree.org/schemas/sound/ti,tas27xx.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Texas Instruments TAS2764/TAS2780 Smart PA9 10maintainers:11  - Shenghao Ding <shenghao-ding@ti.com>12 13description: |14  The TAS2764/TAS2780 is a mono, digital input Class-D audio amplifier15  optimized for efficiently driving high peak power into small16  loudspeakers. Integrated speaker voltage and current sense provides17  for real time monitoring of loudspeaker behavior.18 19allOf:20  - $ref: dai-common.yaml#21 22properties:23  compatible:24    enum:25      - ti,tas276426      - ti,tas278027 28  reg:29    maxItems: 130    description: |31       I2C address of the device can be between 0x38 to 0x45.32 33  reset-gpios:34    maxItems: 135    description: GPIO used to reset the device.36 37  shutdown-gpios:38    maxItems: 139    description: GPIO used to control the state of the device.40 41  interrupts:42    maxItems: 143 44  ti,imon-slot-no:45    $ref: /schemas/types.yaml#/definitions/uint3246    description: TDM TX current sense time slot.47 48  ti,vmon-slot-no:49    $ref: /schemas/types.yaml#/definitions/uint3250    description: TDM TX voltage sense time slot.51 52  '#sound-dai-cells':53    # The codec has a single DAI, the #sound-dai-cells=<1>; case is left in for backward54    # compatibility but is deprecated.55    enum: [0, 1]56 57required:58  - compatible59  - reg60 61unevaluatedProperties: false62 63examples:64  - |65   #include <dt-bindings/gpio/gpio.h>66   i2c {67     #address-cells = <1>;68     #size-cells = <0>;69     codec: codec@38 {70       compatible = "ti,tas2764";71       reg = <0x38>;72       #sound-dai-cells = <0>;73       interrupt-parent = <&gpio1>;74       interrupts = <14>;75       reset-gpios = <&gpio1 15 0>;76       shutdown-gpios = <&gpio1 15 0>;77       ti,imon-slot-no = <0>;78       ti,vmon-slot-no = <2>;79     };80   };81 82...83