All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] sound: snow: Add the binding file for snow
@ 2019-04-24  3:56 Simon Glass
  2019-04-24  3:56 ` [U-Boot] [PATCH 2/3] sound: tegra: Add the binding file for tegra-audio Simon Glass
  2019-04-24  3:56 ` [U-Boot] [PATCH 3/3] sound: Add codec enable to the sound bindings Simon Glass
  0 siblings, 2 replies; 6+ messages in thread
From: Simon Glass @ 2019-04-24  3:56 UTC (permalink / raw)
  To: u-boot

This file was missed when adding the sound driver to U-Boot. Bring it in
from Linux 5.0.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 doc/device-tree-bindings/sound/snow.txt | 31 +++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 doc/device-tree-bindings/sound/snow.txt

diff --git a/doc/device-tree-bindings/sound/snow.txt b/doc/device-tree-bindings/sound/snow.txt
new file mode 100644
index 00000000000..80fd9a87bb3
--- /dev/null
+++ b/doc/device-tree-bindings/sound/snow.txt
@@ -0,0 +1,31 @@
+Audio Binding for Snow boards
+
+Required properties:
+- compatible : Can be one of the following,
+			"google,snow-audio-max98090" or
+			"google,snow-audio-max98091" or
+			"google,snow-audio-max98095"
+- 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
+
+Example:
+
+sound {
+		compatible = "google,snow-audio-max98095";
+
+		samsung,model = "Snow-I2S-MAX98095";
+		samsung,i2s-controller = <&i2s0>;
+		samsung,audio-codec = <&max98095>;
+};
-- 
2.21.0.593.g511ec345e18-goog

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-25  8:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-24  3:56 [U-Boot] [PATCH 1/3] sound: snow: Add the binding file for snow Simon Glass
2019-04-24  3:56 ` [U-Boot] [PATCH 2/3] sound: tegra: Add the binding file for tegra-audio Simon Glass
2019-04-24  9:15   ` Jon Hunter
2019-04-25  1:11     ` Simon Glass
2019-04-25  8:48       ` Jon Hunter
2019-04-24  3:56 ` [U-Boot] [PATCH 3/3] sound: Add codec enable to the sound bindings Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.