Skip to content

Commit

Permalink
ASoC: dt-bindings: add mclk support to cs42l51
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Olivier Moysan authored and Mark Brown committed Oct 19, 2018
1 parent af16112 commit 1c5083b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
17 changes: 17 additions & 0 deletions Documentation/devicetree/bindings/sound/cs42l51.txt
Original file line number Diff line number Diff line change
@@ -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";
};
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/trivial-devices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c5083b

Please sign in to comment.