3 The driver for this device only supports I2C.
7 - compatible: "st,sta350"
8 - reg: the I2C address of the device for I2C
9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be
10 deasserted before communication to the codec starts.
12 - power-down-gpios: a GPIO spec for the power down pin. If specified,
13 it will be deasserted before communication to the codec
16 - vdd-dig-supply: regulator spec, providing 3.3V
17 - vdd-pll-supply: regulator spec, providing 3.3V
18 - vcc-supply: regulator spec, providing 5V - 26V
22 - st,output-conf: number, Selects the output configuration:
23 0: 2-channel (full-bridge) power, 2-channel data-out
24 1: 2 (half-bridge). 1 (full-bridge) on-board power
25 2: 2 Channel (Full-Bridge) Power, 1 Channel FFX
26 3: 1 Channel Mono-Parallel
27 If parameter is missing, mode 0 will be enabled.
29 - st,ch1-output-mapping: Channel 1 output mapping
30 - st,ch2-output-mapping: Channel 2 output mapping
31 - st,ch3-output-mapping: Channel 3 output mapping
35 If parameter is missing, channel 1 is choosen.
37 - st,thermal-warning-recover:
38 If present, thermal warning recovery is enabled.
40 - st,thermal-warning-adjustment:
41 If present, thermal warning adjustment is enabled.
43 - st,fault-detect-recovery:
44 If present, then fault recovery will be enabled.
46 - st,ffx-power-output-mode: string
47 The FFX power output mode selects how the FFX output timing is
48 configured. Must be one of these values:
50 - "tapered-compensation"
52 - "variable-drop-compensation" (default)
54 - st,drop-compensation-ns: number
55 Only required for "st,ffx-power-output-mode" ==
56 "variable-drop-compensation".
57 Specifies the drop compensation in nanoseconds.
58 The value must be in the range of 0..300, and only
59 multiples of 20 are allowed. Default is 140ns.
61 - st,overcurrent-warning-adjustment:
62 If present, overcurrent warning adjustment is enabled.
64 - st,max-power-use-mpcc:
65 If present, then MPCC bits are used for MPC coefficients,
66 otherwise standard MPC coefficients are used.
69 If present, power bridge correction for THD reduction near maximum
70 power output is enabled.
72 - st,am-reduction-mode:
73 If present, FFX mode runs in AM reduction mode, otherwise normal
76 - st,odd-pwm-speed-mode:
77 If present, PWM speed mode run on odd speed mode (341.3 kHz) on all
78 channels. If not present, normal PWM spped mode (384 kHz) will be used.
80 - st,distortion-compensation:
81 If present, distortion compensation variable uses DCC coefficient.
82 If not present, preset DC coefficient is used.
84 - st,invalid-input-detect-mute:
85 If not present, automatic invalid input detect mute is enabled.
92 compatible = "st,sta350";
94 reset-gpios = <&gpio1 19 0>;
95 power-down-gpios = <&gpio1 16 0>;
96 st,output-conf = <0x3>; // set output to 2-channel
97 // (full-bridge) power,
99 st,ch1-output-mapping = <0>; // set channel 1 output ch 1
100 st,ch2-output-mapping = <0>; // set channel 2 output ch 1
101 st,ch3-output-mapping = <0>; // set channel 3 output ch 1
102 st,max-power-correction; // enables power bridge
103 // correction for THD reduction
104 // near maximum power output
105 st,invalid-input-detect-mute; // mute if no valid digital
106 // audio signal is provided.