Lines Matching +full:rcar +full:- +full:gen2 +full:- +full:can

1 Renesas R-Car sound
7 Renesas R-Car and RZ/G sound is constructed from below modules
8 (for Gen2 or later)
11 - SRC : Sampling Rate Converter
12 - CMD
13 - CTU : Channel Transfer Unit
14 - MIX : Mixer
15 - DVC : Digital Volume and Mute Function
25 Multi channel is supported by Multi-SSI, or TDM-SSI.
27 Multi-SSI : 6ch case, you can use stereo x 3 SSI
28 TDM-SSI : 6ch case, you can use TDM
34 See datasheet to check SRC/CTU/MIX/DVC connect-limitation.
36 ${LINUX}/arch/arm/boot/dts/r8a7790-lager.dts can be good example.
39 Playback: [MEM] -> [SRC2] -> [DVC0] -> [SSIU0/SSI0] -> [codec]
40 Capture: [MEM] <- [DVC1] <- [SRC3] <- [SSIU1/SSI1] <- [codec]
44 You can use below.
45 ${LINUX}/arch/arm/boot/dts/r8a7790.dts can be good example.
63 ------> [SRC] ------>
65 SRC can convert [xx]Hz to [yy]Hz. Then, it has below 2 modes
68 you can use this mode on Playback / Capture
72 you can use this mode on Playback
74 ------------------
76 ------------------
78 You need to use "simple-scu-audio-card" or "audio-graph-scu-card" for it.
81 ------------------
83 ------------------
95 ------> [CTU] -------->
97 CTU can convert [xx]ch to [yy]ch, or exchange outputed channel.
101 Renesas R-Car datasheet
102 - Sampling Rate Converter Unit (SCU)
103 - SCU Operation
104 - CMD Block
105 - Functional Blocks in CMD
107 Renesas R-Car datasheet
108 - Sampling Rate Converter Unit (SCU)
109 - Register Description
110 - CTUn Scale Value exx Register (CTUn_SVxxR)
112 ${LINUX}/sound/soc/sh/rcar/ctu.c
113 - comment of header
115 You need to use "simple-scu-audio-card" or "audio-graph-scu-card" for it.
119 Input -> Output
120 1ch -> 0ch
121 0ch -> 1ch
140 MIX merges 2 sounds path. You can see 2 sound interface on system,
143 aplay -D plughw:0,0 xxxx.wav &
144 aplay -D plughw:0,1 yyyy.wav
146 You need to use "simple-scu-audio-card" or "audio-graph-scu-card" for it.
148 [MEM] -> [SRC1] -> [CTU02] -+-> [MIX0] -> [DVC0] -> [SSI0]
150 [MEM] -> [SRC2] -> [CTU03] -+
184 SSIU can avoid some under/over run error, because it has some buffer.
185 But you can't use it if SSI was PIO mode.
186 In DMA mode, you can select not to use SSIU by using "no-busif" via SSI.
189 This driver is assuming that audio-graph card will be used.
191 TDM Split mode merges 4 sounds. You can see 4 sound interface on system,
194 aplay -D plughw:0,0 xxxx.wav &
195 aplay -D plughw:0,1 xxxx.wav &
196 aplay -D plughw:0,2 xxxx.wav &
197 aplay -D plughw:0,3 xxxx.wav
200 [MEM] -> [SSIU 30] -+-> [SSIU 3] --> [Codec]
202 [MEM] -> [SSIU 31] -+
204 [MEM] -> [SSIU 32] -+
206 [MEM] -> [SSIU 33] -+
216 You can use PIO mode which is for connection check by using.
217 Note: The system will drop non-SSI modules in PIO mode
221 pio-transfer
226 You can use DMA without SSIU.
230 no-busif;
235 Each SSI can share WS pin. It is based on platform.
239 shared-pin;
242 ** Multi-SSI
244 You can use Multi-SSI.
249 ** TDM-SSI
251 You can use TDM with SSI.
253 Driver can automatically switches TDM <-> stereo mode in this case.