xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/snow.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunAudio Binding for Snow boards
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible : Can be one of the following,
5*4882a593Smuzhiyun			"google,snow-audio-max98090" or
6*4882a593Smuzhiyun			"google,snow-audio-max98091" or
7*4882a593Smuzhiyun			"google,snow-audio-max98095"
8*4882a593Smuzhiyun- samsung,i2s-controller (deprecated): The phandle of the Samsung I2S controller
9*4882a593Smuzhiyun- samsung,audio-codec (deprecated): The phandle of the audio codec
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunRequired sub-nodes:
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun - 'cpu' subnode with a 'sound-dai' property containing the phandle of the I2S
14*4882a593Smuzhiyun    controller
15*4882a593Smuzhiyun - 'codec' subnode with a 'sound-dai' property containing list of phandles
16*4882a593Smuzhiyun    to the CODEC nodes, first entry must be the phandle of the MAX98090,
17*4882a593Smuzhiyun    MAX98091 or MAX98095 CODEC (exact device type is indicated by the compatible
18*4882a593Smuzhiyun    string) and the second entry must be the phandle of the HDMI IP block node
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunOptional:
21*4882a593Smuzhiyun- samsung,model: The name of the sound-card
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunExample:
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunsound {
26*4882a593Smuzhiyun		compatible = "google,snow-audio-max98095";
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun		samsung,model = "Snow-I2S-MAX98095";
29*4882a593Smuzhiyun		samsung,i2s-controller = <&i2s0>;
30*4882a593Smuzhiyun		samsung,audio-codec = <&max98095>;
31*4882a593Smuzhiyun};
32