summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/rt5514.txt
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2016-02-03 19:53:24 +0800
committerMark Brown <broonie@kernel.org>2016-02-03 17:07:32 +0000
commit4a6180ea7399b945cd380dc63e2e8118f9b432d3 (patch)
treebd8c3c30185a67dd596d059fafe1c52beccbb703 /Documentation/devicetree/bindings/sound/rt5514.txt
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
ASoC: rt5514: add rt5514 codec driver
This is the initial codec driver for rt5514. The codec includes a low power DSP for voice wake up. The register address is incremental by 4 in the DSP memory map. In order to recover the codec settings in the codec mode and manipulate the DSP mode for voice wake up, we use the multi-level register map. One is for ALSA API in codec mode that can be recovered by cache before recording. Another is for DSP related settings that can be accessed with 32bit address of the DSP in the application of voice wake up. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rt5514.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/rt5514.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rt5514.txt b/Documentation/devicetree/bindings/sound/rt5514.txt
new file mode 100644
index 000000000000..e24436fc5ea9
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/rt5514.txt
@@ -0,0 +1,25 @@
+RT5514 audio CODEC
+
+This device supports I2C only.
+
+Required properties:
+
+- compatible : "realtek,rt5514".
+
+- reg : The I2C address of the device.
+
+Pins on the device (for linking into audio routes) for RT5514:
+
+ * DMIC1L
+ * DMIC1R
+ * DMIC2L
+ * DMIC2R
+ * AMICL
+ * AMICR
+
+Example:
+
+codec: rt5514@57 {
+ compatible = "realtek,rt5514";
+ reg = <0x57>;
+};