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