3 Simple-Card specifies audio DAI connection of SoC <-> codec.
7 - compatible : "simple-audio-card"
11 - simple-audio-card,format : CPU/CODEC common audio format.
12 "i2s", "right_j", "left_j" , "dsp_a"
13 "dsp_b", "ac97", "pdm", "msb", "lsb"
14 - simple-audio-card,routing : A list of the connections between audio components.
15 Each entry is a pair of strings, the first being the
16 connection's sink, the second being the connection's
21 - simple-audio-card,cpu : CPU sub-node
22 - simple-audio-card,codec : CODEC sub-node
24 Required CPU/CODEC subnodes properties:
26 - sound-dai : phandle and port of CPU/CODEC
28 Optional CPU/CODEC subnodes properties:
30 - format : CPU/CODEC specific audio format if needed.
31 see simple-audio-card,format
32 - frame-master : bool property. add this if subnode is frame master
33 - bitclock-master : bool property. add this if subnode is bitclock master
34 - bitclock-inversion : bool property. add this if subnode has clock inversion
35 - frame-inversion : bool property. add this if subnode has frame inversion
36 - clocks / system-clock-frequency : specify subnode's clock if needed.
37 it can be specified via "clocks" if system has
38 clock node (= common clock), or "system-clock-frequency"
39 (if system doens't support common clock)
44 compatible = "simple-audio-card";
45 simple-audio-card,format = "left_j";
46 simple-audio-routing =
48 "Headphone Jack", "HP_OUT",
49 "Ext Spk", "LINE_OUT";
51 simple-audio-card,cpu {
52 sound-dai = <&sh_fsi2 0>;
55 simple-audio-card,codec {
56 sound-dai = <&ak4648>;
65 #sound-dai-cells = <0>;
66 compatible = "asahi-kasei,ak4648";
71 sh_fsi2: sh_fsi2@ec230000 {
72 #sound-dai-cells = <1>;
73 compatible = "renesas,sh_fsi2";
74 reg = <0xec230000 0x400>;
75 interrupt-parent = <&gic>;
76 interrupts = <0 146 0x4>;