aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <katsuhiro@katsuster.net>2019-09-08 01:36:52 +0900
committerMark Brown <broonie@kernel.org>2019-09-09 10:50:21 +0100
commit0db0c62c88b84b135bbaf784499a08e536354a43 (patch)
treed0adc5c377419313aaccebfbea523a13f180b702 /Documentation/devicetree/bindings/sound
parentASoC: SOF: imx8: Fix COMPILE_TEST error (diff)
downloadlinux-dev-0db0c62c88b84b135bbaf784499a08e536354a43.tar.xz
linux-dev-0db0c62c88b84b135bbaf784499a08e536354a43.zip
ASoC: es8316: fix redundant codes of clock
This patch removes redundant null checks for optional MCLK clock. And fix DT binding document for changing clock property to optional from required. Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net> Link: https://lore.kernel.org/r/20190907163653.9382-1-katsuhiro@katsuster.net Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
-rw-r--r--Documentation/devicetree/bindings/sound/everest,es8316.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/everest,es8316.txt b/Documentation/devicetree/bindings/sound/everest,es8316.txt
index aefcff9c48a2..1bf03c5f2af4 100644
--- a/Documentation/devicetree/bindings/sound/everest,es8316.txt
+++ b/Documentation/devicetree/bindings/sound/everest,es8316.txt
@@ -6,6 +6,9 @@ Required properties:
- compatible : should be "everest,es8316"
- reg : the I2C address of the device for I2C
+
+Optional properties:
+
- clocks : a list of phandle, should contain entries for clock-names
- clock-names : should include as follows:
"mclk" : master clock (MCLK) of the device