Commit cf775f68 authored by Shuming Fan's avatar Shuming Fan Committed by Mark Brown

ASoC: dt-bindings: rt1011: add r0 and temperature device property

Typically, the r0 (calibration data) and temperature were measured in the factory.
This information is written into the non-volatile area
where keeps data whether factory reset or OS update.
Signed-off-by: default avatarShuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20191016115617.23213-1-shumingf@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3ad00f6a
...@@ -20,6 +20,14 @@ Required properties: ...@@ -20,6 +20,14 @@ Required properties:
| 1 | 1 | 0x3b | | 1 | 1 | 0x3b |
------------------------------------- -------------------------------------
Optional properties:
- realtek,temperature_calib
u32. The temperature was measured while doing the calibration. Units: Celsius degree
- realtek,r0_calib
u32. This is r0 calibration data which was measured in factory mode.
Pins on the device (for linking into audio routes) for RT1011: Pins on the device (for linking into audio routes) for RT1011:
* SPO * SPO
...@@ -29,4 +37,6 @@ Example: ...@@ -29,4 +37,6 @@ Example:
rt1011: codec@38 { rt1011: codec@38 {
compatible = "realtek,rt1011"; compatible = "realtek,rt1011";
reg = <0x38>; reg = <0x38>;
realtek,temperature_calib = <25>;
realtek,r0_calib = <0x224050>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment