~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: fa06956e772b59cf5d2f38a505baf58f0d9c8163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
- codec-enable-gpio : The GPIO used to enable the audio codec

Example:

sound {
		compatible = "google,snow-audio-max98095";

		samsung,model = "Snow-I2S-MAX98095";
		samsung,i2s-controller = <&i2s0>;
		samsung,audio-codec = <&max98095>;
};