diff mbox

[v2,5/7] ASoC: Snow Chromebook DT bindings update

Message ID 20180309174858.24017-5-s.nawrocki@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

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>
---
Changes since v1:
 - none.
---
 Documentation/devicetree/bindings/sound/snow.txt | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)


 Optional:
 - samsung,model: The name of the sound-card
--
2.14.2

Comments

Mark Brown March 12, 2018, 6:06 p.m. UTC | #1
On Fri, Mar 09, 2018 at 06:48:56PM +0100, Sylwester Nawrocki wrote:
> 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.

This doesn't seem to apply against current code, please check and
resend.
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/sound/snow.txt b/Documentation/devicetree/bindings/sound/snow.txt
index 6df74f15687f..80fd9a87bb3f 100644
--- a/Documentation/devicetree/bindings/sound/snow.txt
+++ b/Documentation/devicetree/bindings/sound/snow.txt
@@ -5,5 +5,14 @@  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