ASoC: dt-bindings: add mclk support to cs42l51
authorOlivier Moysan <olivier.moysan@st.com>
Mon, 15 Oct 2018 14:03:34 +0000 (16:03 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 19 Oct 2018 12:11:58 +0000 (13:11 +0100)
Add clocks properties to cs42l51 Cirrus codec,
to support master clock provider.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/cs42l51.txt [new file with mode: 0644]
Documentation/devicetree/bindings/trivial-devices.txt

diff --git a/Documentation/devicetree/bindings/sound/cs42l51.txt b/Documentation/devicetree/bindings/sound/cs42l51.txt
new file mode 100644 (file)
index 0000000..4b5de33
--- /dev/null
@@ -0,0 +1,17 @@
+CS42L51 audio CODEC
+
+Optional properties:
+
+  - clocks : a list of phandles + clock-specifiers, one for each entry in
+    clock-names
+
+  - clock-names : must contain "MCLK"
+
+Example:
+
+cs42l51: cs42l51@4a {
+       compatible = "cirrus,cs42l51";
+       reg = <0x4a>;
+       clocks = <&mclk_prov>;
+       clock-names = "MCLK";
+};
index 763a2808a95c806a278111686cc75227f971f08d..69c934aec13bbeb1b82d5ca24ef44875528fa544 100644 (file)
@@ -35,7 +35,6 @@ at,24c08              i2c serial eeprom  (24cxx)
 atmel,at97sc3204t      i2c trusted platform module (TPM)
 capella,cm32181                CM32181: Ambient Light Sensor
 capella,cm3232         CM3232: Ambient Light Sensor
-cirrus,cs42l51         Cirrus Logic CS42L51 audio codec
 dallas,ds1374          I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output
 dallas,ds1631          High-Precision Digital Thermometer
 dallas,ds1672          Dallas DS1672 Real-time Clock