ASoC: samsung: Snow DT bindings update
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 12 Mar 2018 18:49:38 +0000 (19:49 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 13 Mar 2018 16:20:25 +0000 (09:20 -0700)
The new DT bindings are introduced so sound on the HDMI interface
can also be supported. The exisiting CPU and CODEC DAI phandle
properties are marked as deprecated.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/snow.txt

index 6df74f1..80fd9a8 100644 (file)
@@ -5,8 +5,17 @@ Required properties:
                        "google,snow-audio-max98090" or
                        "google,snow-audio-max98091" or
                        "google,snow-audio-max98095"
-- samsung,i2s-controller: The phandle of the Samsung I2S controller
-- samsung,audio-codec: The phandle of the audio codec
+- samsung,i2s-controller (deprecated): The phandle of the Samsung I2S controller
+- samsung,audio-codec (deprecated): The phandle of the audio codec
+
+Required sub-nodes:
+
+ - 'cpu' subnode with a 'sound-dai' property containing the phandle of the I2S
+    controller
+ - 'codec' subnode with a 'sound-dai' property containing list of phandles
+    to the CODEC nodes, first entry must be the phandle of the MAX98090,
+    MAX98091 or MAX98095 CODEC (exact device type is indicated by the compatible
+    string) and the second entry must be the phandle of the HDMI IP block node
 
 Optional:
 - samsung,model: The name of the sound-card