blob: fa06956e772b59cf5d2f38a505baf58f0d9c8163 [file] [log] [blame]
Simon Glasse0703112019-04-23 21:56:23 -06001Audio Binding for Snow boards
2
3Required properties:
4- compatible : Can be one of the following,
5 "google,snow-audio-max98090" or
6 "google,snow-audio-max98091" or
7 "google,snow-audio-max98095"
8- samsung,i2s-controller (deprecated): The phandle of the Samsung I2S controller
9- samsung,audio-codec (deprecated): The phandle of the audio codec
10
11Required sub-nodes:
12
13 - 'cpu' subnode with a 'sound-dai' property containing the phandle of the I2S
14 controller
15 - 'codec' subnode with a 'sound-dai' property containing list of phandles
16 to the CODEC nodes, first entry must be the phandle of the MAX98090,
17 MAX98091 or MAX98095 CODEC (exact device type is indicated by the compatible
18 string) and the second entry must be the phandle of the HDMI IP block node
19
20Optional:
21- samsung,model: The name of the sound-card
Simon Glassb4bf7142019-04-23 21:56:25 -060022- codec-enable-gpio : The GPIO used to enable the audio codec
Simon Glasse0703112019-04-23 21:56:23 -060023
24Example:
25
26sound {
27 compatible = "google,snow-audio-max98095";
28
29 samsung,model = "Snow-I2S-MAX98095";
30 samsung,i2s-controller = <&i2s0>;
31 samsung,audio-codec = <&max98095>;
32};