18c2ecf20Sopenharmony_ciTexas Instruments TAS5086 6-channel PWM Processor 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci - compatible: Should contain "ti,tas5086". 68c2ecf20Sopenharmony_ci - reg: The i2c address. Should contain <0x1b>. 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciOptional properties: 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci - reset-gpio: A GPIO spec to define which pin is connected to the 118c2ecf20Sopenharmony_ci chip's !RESET pin. If specified, the driver will 128c2ecf20Sopenharmony_ci assert a hardware reset at probe time. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci - ti,charge-period: This property should contain the time in microseconds 158c2ecf20Sopenharmony_ci that closely matches the external single-ended 168c2ecf20Sopenharmony_ci split-capacitor charge period. The hardware chip 178c2ecf20Sopenharmony_ci waits for this period of time before starting the 188c2ecf20Sopenharmony_ci PWM signals. This helps reduce pops and clicks. 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci When not specified, the hardware default of 1300ms 218c2ecf20Sopenharmony_ci is retained. 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci - ti,mid-z-channel-X: Boolean properties, X being a number from 1 to 6. 248c2ecf20Sopenharmony_ci If given, channel X will start with the Mid-Z start 258c2ecf20Sopenharmony_ci sequence, otherwise the default Low-Z scheme is used. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci The correct configuration depends on how the power 288c2ecf20Sopenharmony_ci stages connected to the PWM output pins work. Not all 298c2ecf20Sopenharmony_ci power stages are compatible to Mid-Z - please refer 308c2ecf20Sopenharmony_ci to the datasheets for more details. 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci Most systems should not set any of these properties. 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci - avdd-supply: Power supply for AVDD, providing 3.3V 358c2ecf20Sopenharmony_ci - dvdd-supply: Power supply for DVDD, providing 3.3V 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ciExamples: 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci i2c_bus { 408c2ecf20Sopenharmony_ci tas5086@1b { 418c2ecf20Sopenharmony_ci compatible = "ti,tas5086"; 428c2ecf20Sopenharmony_ci reg = <0x1b>; 438c2ecf20Sopenharmony_ci reset-gpio = <&gpio 23 0>; 448c2ecf20Sopenharmony_ci ti,charge-period = <156000>; 458c2ecf20Sopenharmony_ci avdd-supply = <&vdd_3v3_reg>; 468c2ecf20Sopenharmony_ci dvdd-supply = <&vdd_3v3_reg>; 478c2ecf20Sopenharmony_ci }; 488c2ecf20Sopenharmony_ci }; 49