diff options
author | Simon Glass <sjg@chromium.org> | 2019-04-23 21:56:23 -0600 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2019-08-09 10:01:33 -0700 |
commit | e070311ce8073a4ca3a2cdf634da36963a9803cd (patch) | |
tree | 8ed41ff1af6a2ac9892280e0790ecf80c9dae8dd | |
parent | 163bc1e4da425015000dd3f8f128aec994da9586 (diff) | |
download | u-boot-e070311ce8073a4ca3a2cdf634da36963a9803cd.tar.gz u-boot-e070311ce8073a4ca3a2cdf634da36963a9803cd.tar.bz2 u-boot-e070311ce8073a4ca3a2cdf634da36963a9803cd.zip |
sound: snow: Add the binding file for snow
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>
Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r-- | doc/device-tree-bindings/sound/snow.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/sound/snow.txt b/doc/device-tree-bindings/sound/snow.txt new file mode 100644 index 0000000000..80fd9a87bb --- /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>; +}; |