xref: /freebsd/sys/contrib/device-tree/Bindings/sound/ti,tas5086.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotTexas Instruments TAS5086 6-channel PWM Processor
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot - compatible:		Should contain "ti,tas5086".
6*c66ec88fSEmmanuel Vadot - reg:			The i2c address. Should contain <0x1b>.
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotOptional properties:
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot - reset-gpio: 		A GPIO spec to define which pin is connected to the
11*c66ec88fSEmmanuel Vadot			chip's !RESET pin. If specified, the driver will
12*c66ec88fSEmmanuel Vadot			assert a hardware reset at probe time.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot - ti,charge-period:	This property should contain the time in microseconds
15*c66ec88fSEmmanuel Vadot			that closely matches the external single-ended
16*c66ec88fSEmmanuel Vadot			split-capacitor charge period. The hardware chip
17*c66ec88fSEmmanuel Vadot			waits for this period of time before starting the
18*c66ec88fSEmmanuel Vadot			PWM signals. This helps reduce pops and clicks.
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot			When not specified, the hardware default of 1300ms
21*c66ec88fSEmmanuel Vadot			is retained.
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot - ti,mid-z-channel-X:	Boolean properties, X being a number from 1 to 6.
24*c66ec88fSEmmanuel Vadot			If given, channel X will start with the Mid-Z start
25*c66ec88fSEmmanuel Vadot			sequence, otherwise the default Low-Z scheme is used.
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadot			The correct configuration depends on how the power
28*c66ec88fSEmmanuel Vadot			stages connected to the PWM output pins work. Not all
29*c66ec88fSEmmanuel Vadot			power stages are compatible to Mid-Z - please refer
30*c66ec88fSEmmanuel Vadot			to the datasheets for more details.
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadot			Most systems should not set any of these properties.
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot - avdd-supply:         Power supply for AVDD, providing 3.3V
35*c66ec88fSEmmanuel Vadot - dvdd-supply:         Power supply for DVDD, providing 3.3V
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel VadotExamples:
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot	i2c_bus {
40*c66ec88fSEmmanuel Vadot		tas5086@1b {
41*c66ec88fSEmmanuel Vadot			compatible = "ti,tas5086";
42*c66ec88fSEmmanuel Vadot			reg = <0x1b>;
43*c66ec88fSEmmanuel Vadot			reset-gpio = <&gpio 23 0>;
44*c66ec88fSEmmanuel Vadot			ti,charge-period = <156000>;
45*c66ec88fSEmmanuel Vadot			avdd-supply = <&vdd_3v3_reg>;
46*c66ec88fSEmmanuel Vadot			dvdd-supply = <&vdd_3v3_reg>;
47*c66ec88fSEmmanuel Vadot		};
48*c66ec88fSEmmanuel Vadot	};
49