~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/st,sta32x.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/sound/st,sta32x.txt (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/sound/st,sta32x.txt (Version linux-6.4.16)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php