Skip to contentSkip to conversation

dt-bindings: Added device tree binding for max98390

PATCH Superseded Steve Lee 1 participant 1 message May 14, 2020

Subsystems (2)

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Steve Lee

author
#0 lore raw

PATCH v4 1/2 dt-bindings: Added device tree binding for max98390

Add documentation for DT binding of max98390 amplifier driver.

---

Changed since V3:
* No changes.
Changed since V2:
* No changes.
Changed since V1:
* Modified sample text in example

 .../devicetree/bindings/sound/max98390.txt    | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/max98390.txt
Documentation/devicetree/bindings/sound/max98390.txt new file +26 -0
new file mode 100644
index 000000000000..0ddd4c6ae55e
@@ -0,0 +1,26 @@
+Maxim Integrated MAX98390 Speaker Amplifier
+
+This device supports I2C.
+
+Required properties:
+
+ - compatible : "maxim,max98390"
+
+ - reg : the I2C address of the device.
+
+Optional properties:
+
+- maxim,temperature_calib
+  u32. The calculated temperature data was measured while doing the calibration. Data : Temp / 100 * 2^12
+
+- maxim,r0_calib
+  u32. This is r0 calibration data which was measured in factory mode.
+
+Example:
+
+codec: max98390@38 {
+	compatible = "maxim,max98390";
+	reg = <0x38>;
+	maxim,temperature_calib = <1024>;
+	maxim,r0_calib = <100232>;
+};
Signature · 1 line
2.17.1