1 Renesas Sampling Rate Convert Sound Card:
3 Renesas Sampling Rate Convert Sound Card specifies audio DAI connections of SoC <-> codec.
7 - compatible : "renesas,rsrc-card{,<board>}"
8 Examples with boards are:
10 - "renesas,rsrc-card,lager"
11 - "renesas,rsrc-card,koelsch"
14 - card_name : User specified audio sound card name, one string
17 - codec : CODEC sub-node
19 Optional subnode properties:
21 - format : CPU/CODEC common audio format.
22 "i2s", "right_j", "left_j" , "dsp_a"
23 "dsp_b", "ac97", "pdm", "msb", "lsb"
24 - frame-master : Indicates dai-link frame master.
25 phandle to a cpu or codec subnode.
26 - bitclock-master : Indicates dai-link bit clock master.
27 phandle to a cpu or codec subnode.
28 - bitclock-inversion : bool property. Add this if the
29 dai-link uses bit clock inversion.
30 - frame-inversion : bool property. Add this if the
31 dai-link uses frame clock inversion.
32 - convert-rate : platform specified sampling rate convert
33 - audio-prefix : see audio-routing
34 - audio-routing : A list of the connections between audio components.
35 Each entry is a pair of strings, the first being the connection's sink,
36 the second being the connection's source. Valid names for sources.
37 use audio-prefix if some components is using same sink/sources naming.
38 it can be used if compatible was "renesas,rsrc-card";
40 Required CPU/CODEC subnodes properties:
42 - sound-dai : phandle and port of CPU/CODEC
44 Optional CPU/CODEC subnodes properties:
46 - clocks / system-clock-frequency : specify subnode's clock if needed.
47 it can be specified via "clocks" if system has
48 clock node (= common clock), or "system-clock-frequency"
49 (if system doens't support common clock)
50 If a clock is specified, it is
51 enabled with clk_prepare_enable()
52 in dai startup() and disabled with
53 clk_disable_unprepare() in dai
59 compatible = "renesas,rsrc-card,lager";
61 card-name = "rsnd-ak4643";
63 bitclock-master = <&sndcodec>;
64 frame-master = <&sndcodec>;
67 sound-dai = <&rcar_sound>;
71 sound-dai = <&ak4643>;
72 system-clock-frequency = <11289600>;