xref: /openbmc/linux/Documentation/devicetree/bindings/sound/ti,tas5086.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
14fa89346SDaniel MackTexas Instruments TAS5086 6-channel PWM Processor
24fa89346SDaniel Mack
34fa89346SDaniel MackRequired properties:
44fa89346SDaniel Mack
54fa89346SDaniel Mack - compatible:		Should contain "ti,tas5086".
64fa89346SDaniel Mack - reg:			The i2c address. Should contain <0x1b>.
74fa89346SDaniel Mack
84fa89346SDaniel MackOptional properties:
94fa89346SDaniel Mack
104fa89346SDaniel Mack - reset-gpio: 		A GPIO spec to define which pin is connected to the
114fa89346SDaniel Mack			chip's !RESET pin. If specified, the driver will
124fa89346SDaniel Mack			assert a hardware reset at probe time.
134fa89346SDaniel Mack
144fa89346SDaniel Mack - ti,charge-period:	This property should contain the time in microseconds
154fa89346SDaniel Mack			that closely matches the external single-ended
164fa89346SDaniel Mack			split-capacitor charge period. The hardware chip
174fa89346SDaniel Mack			waits for this period of time before starting the
184fa89346SDaniel Mack			PWM signals. This helps reduce pops and clicks.
194fa89346SDaniel Mack
204fa89346SDaniel Mack			When not specified, the hardware default of 1300ms
214fa89346SDaniel Mack			is retained.
224fa89346SDaniel Mack
2379b23b56SDaniel Mack - ti,mid-z-channel-X:	Boolean properties, X being a number from 1 to 6.
2479b23b56SDaniel Mack			If given, channel X will start with the Mid-Z start
2579b23b56SDaniel Mack			sequence, otherwise the default Low-Z scheme is used.
2679b23b56SDaniel Mack
2779b23b56SDaniel Mack			The correct configuration depends on how the power
2879b23b56SDaniel Mack			stages connected to the PWM output pins work. Not all
2979b23b56SDaniel Mack			power stages are compatible to Mid-Z - please refer
3079b23b56SDaniel Mack			to the datasheets for more details.
3179b23b56SDaniel Mack
3279b23b56SDaniel Mack			Most systems should not set any of these properties.
3379b23b56SDaniel Mack
34*c46af312SDaniel Mack - avdd-supply:         Power supply for AVDD, providing 3.3V
35*c46af312SDaniel Mack - dvdd-supply:         Power supply for DVDD, providing 3.3V
36*c46af312SDaniel Mack
374fa89346SDaniel MackExamples:
384fa89346SDaniel Mack
394fa89346SDaniel Mack	i2c_bus {
404fa89346SDaniel Mack		tas5086@1b {
414fa89346SDaniel Mack			compatible = "ti,tas5086";
424fa89346SDaniel Mack			reg = <0x1b>;
434fa89346SDaniel Mack			reset-gpio = <&gpio 23 0>;
444fa89346SDaniel Mack			ti,charge-period = <156000>;
45*c46af312SDaniel Mack			avdd-supply = <&vdd_3v3_reg>;
46*c46af312SDaniel Mack			dvdd-supply = <&vdd_3v3_reg>;
474fa89346SDaniel Mack		};
484fa89346SDaniel Mack	};
49