summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/tfa9879.txt
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-09-19 19:59:04 -0300
committerMark Brown <broonie@kernel.org>2017-09-20 12:39:47 +0100
commit3d345b5f7b2f613b6965fc3fc68de9f439752ffe (patch)
treefbdec5d08a6a2237af272ca19914573f46f33ca0 /Documentation/devicetree/bindings/sound/tfa9879.txt
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
ASoC: tfa9879: Add device tree bindings
Even though the tfa9879 driver can probe via device tree trough the I2C core code, it is preferable to have explicit device tree bindings instead [1], so add this support. [1] https://www.spinics.net/lists/devicetree/msg195176.html Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Łukasz Majewski <lukma@denx.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/tfa9879.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/tfa9879.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/tfa9879.txt b/Documentation/devicetree/bindings/sound/tfa9879.txt
new file mode 100644
index 000000000000..23ba522d9e2b
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/tfa9879.txt
@@ -0,0 +1,23 @@
+NXP TFA9879 class-D audio amplifier
+
+Required properties:
+
+- compatible : "nxp,tfa9879"
+
+- reg : the I2C address of the device
+
+Example:
+
+&i2c1 {
+ clock-frequency = <100000>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c1>;
+ status = "okay";
+
+ codec: tfa9879@6c {
+ #sound-dai-cells = <0>;
+ compatible = "nxp,tfa9879";
+ reg = <0x6c>;
+ };
+};
+