i2c: core: Add support for 'i2c-bus' subnode
[cascardo/linux.git] / Documentation / devicetree / bindings / sound / samsung,odroidx2-max98090.txt
1 Samsung Exynos Odroid X2/U3 audio complex with MAX98090 codec
2
3 Required properties:
4  - compatible : "samsung,odroidx2-audio" - for Odroid X2 board,
5                 "samsung,odroidu3-audio" - for Odroid U3 board
6  - samsung,model : the user-visible name of this sound complex
7  - samsung,i2s-controller : the phandle of the I2S controller
8  - samsung,audio-codec : the phandle of the MAX98090 audio codec
9  - samsung,audio-routing : a list of the connections between audio
10    components;  each entry is a pair of strings, the first being the
11    connection's sink, the second being the connection's source;
12    valid names for sources and sinks are the MAX98090's pins (as
13    documented in its binding), and the jacks on the board
14    For Odroid X2:
15      * Headphone Jack
16      * Mic Jack
17      * DMIC
18
19    For Odroid U3:
20      * Headphone Jack
21      * Speakers
22
23 Example:
24
25 sound {
26         compatible = "samsung,odroidu3-audio";
27         samsung,i2s-controller = <&i2s0>;
28         samsung,audio-codec = <&max98090>;
29         samsung,model = "Odroid-X2";
30         samsung,audio-routing =
31                 "Headphone Jack", "HPL",
32                 "Headphone Jack", "HPR",
33                 "IN1", "Mic Jack",
34                 "Mic Jack", "MICBIAS";
35 };