summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/tscs42xx.txt
diff options
context:
space:
mode:
authorSteven Eckhoff <steven.eckhoff.opensource@gmail.com>2018-04-05 00:49:52 +0300
committerMark Brown <broonie@kernel.org>2018-04-16 13:53:47 +0300
commitaa0f18d762215163af12797b74baf014577668c2 (patch)
tree96c3868838daa32f239c806ce3823c0a5e76c69e /Documentation/devicetree/bindings/sound/tscs42xx.txt
parent7ab5ba47e8972c5c57e67795ec01d1f4c25bee6d (diff)
downloadlinux-aa0f18d762215163af12797b74baf014577668c2.tar.xz
ASoC: TSCS42xx: Add CCF support to get sysclk
The TSCS42xx relies on set_sysclk to get a unique clock id and rate, which prevents it from being used with the simple-card. Remove set_sysclk callback Add CCF support to get clock id and rate Add clocks and clock-names to device tree binding Signed-off-by: Steven Eckhoff <steven.eckhoff.opensource@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/tscs42xx.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/tscs42xx.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/tscs42xx.txt b/Documentation/devicetree/bindings/sound/tscs42xx.txt
index 2ac2f0996697..7eea32e9d078 100644
--- a/Documentation/devicetree/bindings/sound/tscs42xx.txt
+++ b/Documentation/devicetree/bindings/sound/tscs42xx.txt
@@ -8,9 +8,15 @@ Required Properties:
- reg : <0x71> for analog mic
<0x69> for digital mic
+ - clock-names: Must one of the following "mclk1", "xtal", "mclk2"
+
+ - clocks: phandle of the clock that provides the codec sysclk
+
Example:
wookie: codec@69 {
compatible = "tempo,tscs42A2";
reg = <0x69>;
+ clock-names = "xtal";
+ clocks = <&audio_xtal>;
};