1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 2 # Copyright (C) 2019-20 Texas Instruments Inco 3 %YAML 1.2 4 --- 5 $id: http://devicetree.org/schemas/sound/ti,ta 6 $schema: http://devicetree.org/meta-schemas/co 7 8 title: Texas Instruments TAS2770 Smart PA 9 10 maintainers: 11 - Shi Fu <shifu0704@thundersoft.com> 12 13 description: | 14 The TAS2770 is a mono, digital input Class-D 15 efficiently driving high peak power into sma 16 Integrated speaker voltage and current sense 17 real time monitoring of loudspeaker behavior 18 19 allOf: 20 - $ref: dai-common.yaml# 21 22 properties: 23 compatible: 24 enum: 25 - ti,tas2770 26 27 reg: 28 maxItems: 1 29 description: | 30 I2C address of the device can be betwee 31 32 reset-gpio: 33 maxItems: 1 34 description: GPIO used to reset the device 35 36 shutdown-gpios: 37 maxItems: 1 38 description: GPIO used to control the stat 39 40 interrupts: 41 maxItems: 1 42 43 ti,imon-slot-no: 44 $ref: /schemas/types.yaml#/definitions/uin 45 description: TDM TX current sense time slo 46 47 ti,vmon-slot-no: 48 $ref: /schemas/types.yaml#/definitions/uin 49 description: TDM TX voltage sense time slo 50 51 ti,asi-format: 52 deprecated: true 53 $ref: /schemas/types.yaml#/definitions/uin 54 description: Sets TDM RX capture edge. 55 enum: 56 - 0 # Rising edge 57 - 1 # Falling edge 58 59 '#sound-dai-cells': 60 # The codec has a single DAI, the #sound-d 61 # compatibility but is deprecated. 62 enum: [0, 1] 63 64 required: 65 - compatible 66 - reg 67 68 unevaluatedProperties: false 69 70 examples: 71 - | 72 #include <dt-bindings/gpio/gpio.h> 73 i2c { 74 #address-cells = <1>; 75 #size-cells = <0>; 76 codec: codec@41 { 77 compatible = "ti,tas2770"; 78 reg = <0x41>; 79 #sound-dai-cells = <0>; 80 interrupt-parent = <&gpio1>; 81 interrupts = <14>; 82 reset-gpio = <&gpio1 15 0>; 83 shutdown-gpios = <&gpio1 14 0>; 84 ti,imon-slot-no = <0>; 85 ti,vmon-slot-no = <2>; 86 }; 87 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.