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