1 STA32X audio CODEC 2 3 The driver for this device only supports I2C. 4 5 Required properties: 6 7 - compatible: "st,sta32x" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin 10 deasserted before communicati 11 12 - power-down-gpios: a GPIO spec for the powe 13 it will be deasserted be 14 starts. 15 16 - Vdda-supply: regulator spec, providing 3.3 17 - Vdd3-supply: regulator spec, providing 3.3 18 - Vcc-supply: regulator spec, providing 5V - 19 20 Optional properties: 21 22 - clocks, clock-names: Clock specifier for X 23 If specified, the clock will be enable 24 and disabled when it is removed. The ' 25 26 - st,output-conf: number, Selects the outpu 27 0: 2-channel (full-bridge) power, 2-ch 28 1: 2 (half-bridge). 1 (full-bridge) on 29 2: 2 Channel (Full-Bridge) Power, 1 Ch 30 3: 1 Channel Mono-Parallel 31 If parameter is missing, mode 0 will b 32 This property has to be specified as ' 33 34 - st,ch1-output-mapping: Channel 1 output m 35 - st,ch2-output-mapping: Channel 2 output m 36 - st,ch3-output-mapping: Channel 3 output m 37 0: Channel 1 38 1: Channel 2 39 2: Channel 3 40 If parameter is missing, channel 1 is 41 This properties have to be specified a 42 43 - st,thermal-warning-recover: 44 If present, thermal warning recovery i 45 46 - st,fault-detect-recovery: 47 If present, fault detect recovery is e 48 49 - st,thermal-warning-adjustment: 50 If present, thermal warning adjustment 51 52 - st,fault-detect-recovery: 53 If present, then fault recovery will b 54 55 - st,drop-compensation-ns: number 56 Only required for "st,ffx-power-output 57 "variable-drop-compensation". 58 Specifies the drop compensation in nan 59 The value must be in the range of 0..3 60 multiples of 20 are allowed. Default i 61 62 - st,max-power-use-mpcc: 63 If present, then MPCC bits are used fo 64 otherwise standard MPC coefficients ar 65 66 - st,max-power-corr: 67 If present, power bridge correction fo 68 power output is enabled. 69 70 - st,am-reduction-mode: 71 If present, FFX mode runs in AM reduct 72 FFX mode is used. 73 74 - st,odd-pwm-speed-mode: 75 If present, PWM speed mode run on odd 76 channels. If not present, normal PWM s 77 78 - st,invalid-input-detect-mute: 79 If present, automatic invalid input de 80 81 Example: 82 83 codec: sta32x@38 { 84 compatible = "st,sta32x"; 85 reg = <0x1c>; 86 clocks = <&clock>; 87 clock-names = "xti"; 88 reset-gpios = <&gpio1 19 0>; 89 power-down-gpios = <&gpio1 16 0>; 90 st,output-conf = /bits/ 8 <0x3>; 91 92 93 st,ch1-output-mapping = /bits/ 8 <0>; 94 st,ch2-output-mapping = /bits/ 8 <0>; 95 st,ch3-output-mapping = /bits/ 8 <0>; 96 st,max-power-correction; 97 98 99 st,invalid-input-detect-mute; 100 101 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.