arch/arm64/boot/dts/renesas/ulcb-kf-simple-audio-card-mix+split.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/renesas/ulcb-kf-simple-audio-card-mix+split.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/renesas/ulcb-kf-simple-audio-card-mix+split.dtsi
Extension
.dtsi
Size
3678 bytes
Lines
201
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
/*
 * Device Tree for ULCB + Kingfisher + Simple Audio Card (MIX + TDM Split)
 *
 * Copyright (C) 2022 Renesas Electronics Corp.
 */

/*
 * Note:
 * The HDMI output is ignored due to the limited number of subdevices
 *
 *	(A) CPU0 (2ch) <----> (2ch) (X)	ak4613	   (MIX-0)
 *	(B) CPU1 (2ch)  --/			   (MIX-1)
 *	(C) CPU3 (2ch)  ----> (8ch) (Y)	PCM3168A-p (TDM-0 : 0,1ch)
 *	(D) CPU2 (2ch)  --/			   (TDM-1 : 2,3ch)
 *	(E) CPU4 (2ch)  --/			   (TDM-2 : 4,5ch)
 *	(F) CPU5 (2ch)  --/			   (TDM-3 : 6,7ch)
 *	(G) CPU6 (2ch) <----  (6ch) (Z) PCM3168A-c (TDM-a: 0,1ch)
 *	(H) CPU7 (2ch) <--/			   (TDM-b: 2,3ch)
 *	(I) CPU8 (2ch) <--/			   (TDM-c: 4,5ch)
 *
 *	(A) aplay   -D plughw:0,0 xxx.wav (MIX-0)
 *	(B) aplay   -D plughw:0,1 xxx.wav (MIX-1)
 *	(C) aplay   -D plughw:1,0 xxx.wav (TDM-0)
 *	(D) aplay   -D plughw:1,1 xxx.wav (TDM-1)
 *	(E) aplay   -D plughw:1,2 xxx.wav (TDM-2)
 *	(F) aplay   -D plughw:1,3 xxx.wav (TDM-3)
 *
 *	(A) arecord -D plughw:0,0 xxx.wav
 *	(G) arecord -D plughw:1,4 xxx.wav (TDM-a)
 *	(H) arecord -D plughw:1,5 xxx.wav (TDM-b)
 *	(I) arecord -D plughw:1,6 xxx.wav (TDM-c)
 */

/ {
	sound_card_kf: expand-sound {
		#address-cells = <1>;
		#size-cells = <0>;

		compatible = "simple-scu-audio-card";
		label = "snd-kf-split";

		simple-audio-card,routing = "pcm3168a Playback", "DAI2 Playback",
					    "pcm3168a Playback", "DAI3 Playback",
					    "pcm3168a Playback", "DAI4 Playback",
					    "pcm3168a Playback", "DAI5 Playback",
					    "DAI6 Capture",      "pcm3168a Capture",
					    "DAI7 Capture",      "pcm3168a Capture",
					    "DAI8 Capture",      "pcm3168a Capture";

		simple-audio-card,dai-link@0 {
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0>;
			convert-channels = <8>; /* to 8ch TDM */

			/*
			 * (C) CPU2
			 */
			cpu@0 {
				reg = <0>;
				bitclock-master;
				frame-master;
				sound-dai = <&rcar_sound 2>;
			};
			/*
			 * (D) CPU3
			 */
			cpu@1 {
				reg = <1>;

Annotation

Implementation Notes