hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/Documentation/devicetree/bindings/sound/st,sta32x.txt
....@@ -19,6 +19,10 @@
1919
2020 Optional properties:
2121
22
+ - clocks, clock-names: Clock specifier for XTI input clock.
23
+ If specified, the clock will be enabled when the codec is probed,
24
+ and disabled when it is removed. The 'clock-names' must be set to 'xti'.
25
+
2226 - st,output-conf: number, Selects the output configuration:
2327 0: 2-channel (full-bridge) power, 2-channel data-out
2428 1: 2 (half-bridge). 1 (full-bridge) on-board power
....@@ -38,6 +42,9 @@
3842
3943 - st,thermal-warning-recover:
4044 If present, thermal warning recovery is enabled.
45
+
46
+ - st,fault-detect-recovery:
47
+ If present, fault detect recovery is enabled.
4148
4249 - st,thermal-warning-adjustment:
4350 If present, thermal warning adjustment is enabled.
....@@ -76,6 +83,8 @@
7683 codec: sta32x@38 {
7784 compatible = "st,sta32x";
7885 reg = <0x1c>;
86
+ clocks = <&clock>;
87
+ clock-names = "xti";
7988 reset-gpios = <&gpio1 19 0>;
8089 power-down-gpios = <&gpio1 16 0>;
8190 st,output-conf = /bits/ 8 <0x3>; // set output to 2-channel