[PATCHv3 2/6] dt-bindings: sound: add motorola,cpcap-audio-codec

From: Sebastian Reichel
Date: Tue Jul 25 2017 - 11:10:51 EST


Motorola CPCAP is a PMIC with audio functionality, that can be
found on Motorola Droid 4 and probably a few other phones from
Motorola's Droid series.

This adds the DT binding for the codec sub-module found inside
the PMIC.

Acked-by: Rob Herring <robh@xxxxxxxxxx>
Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxxxx>
---
.../bindings/sound/motorola,cpcap-audio-codec.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/motorola,cpcap-audio-codec.txt

diff --git a/Documentation/devicetree/bindings/sound/motorola,cpcap-audio-codec.txt b/Documentation/devicetree/bindings/sound/motorola,cpcap-audio-codec.txt
new file mode 100644
index 000000000000..6b8cd616bd46
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/motorola,cpcap-audio-codec.txt
@@ -0,0 +1,19 @@
+Motorola CPCAP audio CODEC
+--------------------------
+
+This module is part of the CPCAP. For more details about the whole
+chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt.
+
+Required properties:
+
+ - compatible : "motorola,cpcap-audio-codec"
+ - vdd-supply : Phandle to audio regulator
+
+Example:
+
+&cpcap {
+ audio-codec {
+ compatible = "motorola,cpcap-audio-codec";
+ vdd-supply = <&vaudio>;
+ };
+};
--
2.13.2