Skip to contentSkip to conversation

ASoC: rt1308: Add RT1308 amplifier driver

PATCH Superseded [email protected] 1 participant 1 message Apr 17, 2019

Subsystems (4)

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: rt1308: Add RT1308 amplifier driver

From: Derek Fang <[email protected]>

This is the initial amplifier driver for rt1308.

---
 Documentation/devicetree/bindings/sound/rt1308.txt |  17 +
 sound/soc/codecs/rt1308.c                          | 915 +++++++++++++++++++++
 sound/soc/codecs/rt1308.h                          | 291 +++++++
 3 files changed, 1223 insertions(+)
 create mode 100755 Documentation/devicetree/bindings/sound/rt1308.txt
 create mode 100644 sound/soc/codecs/rt1308.c
 create mode 100644 sound/soc/codecs/rt1308.h
Documentation/devicetree/bindings/sound/rt1308.txt new file +17 -0
new file mode 100755
index 0000000..2d46084
@@ -0,0 +1,17 @@
+RT1308 audio Amplifier
+
+This device supports I2C only.
+
+Required properties:
+
+- compatible : "realtek,rt1308".
+
+- reg : The I2C address of the device.
+
+
+Example:
+
+rt1308: rt1308@10 {
+	compatible = "realtek,rt1308";
+	reg = <0x10>;
+};
sound/soc/codecs/rt1308.c new file +915 -0

915 lines not on this page · raw message

sound/soc/codecs/rt1308.h new file +291 -0

291 lines not on this page · raw message

Signature · 1 line
2.7.4