forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/Documentation/devicetree/bindings/sound/max98357a.txt
....@@ -1,14 +1,19 @@
1
-Maxim MAX98357A audio DAC
1
+Maxim MAX98357A/MAX98360A audio DAC
22
3
-This node models the Maxim MAX98357A DAC.
3
+This node models the Maxim MAX98357A/MAX98360A DAC.
44
55 Required properties:
6
-- compatible : "maxim,max98357a"
6
+- compatible : "maxim,max98357a" for MAX98357A.
7
+ "maxim,max98360a" for MAX98360A.
78
89 Optional properties:
910 - sdmode-gpios : GPIO specifier for the chip's SD_MODE pin.
1011 If this option is not specified then driver does not manage
1112 the pin state (e.g. chip is always on).
13
+- sdmode-delay : specify delay time for SD_MODE pin.
14
+ If this option is specified, which means it's required i2s clocks
15
+ ready before SD_MODE is unmuted in order to avoid the speaker pop noise.
16
+ It's observed that 5ms is sufficient.
1217
1318 Example:
1419
....@@ -16,3 +21,8 @@
1621 compatible = "maxim,max98357a";
1722 sdmode-gpios = <&qcom_pinmux 25 0>;
1823 };
24
+
25
+max98360a {
26
+ compatible = "maxim,max98360a";
27
+ sdmode-gpios = <&qcom_pinmux 25 0>;
28
+};