~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/renesas/ulcb-audio-graph-card.dtsi

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Device Tree for ULCB + Audio Graph Card
  4  *
  5  * Copyright (C) 2022 Renesas Electronics Corp.
  6  */
  7 
  8 /*
  9  *      (A) CPU0 <-----> ak4613
 10  *      (B) CPU1  -----> HDMI
 11  *
 12  *      (A) aplay   -D plughw:0,0 xxx.wav
 13  *      (B) aplay   -D plughw:0,1 xxx.wav
 14  *
 15  *      (A) arecord -D plughw:0,0 xxx.wav
 16  */
 17 
 18 / {
 19         sound_card: sound {
 20                 compatible = "audio-graph-card";
 21                 label = "snd-ulcb";
 22 
 23                 dais = <&snd_ulcb1 /* (A) CPU0 <-> ak4613 */
 24                         &snd_ulcb2 /* (B) CPU1  -> HDMI   */
 25                 >;
 26         };
 27 };
 28 
 29 &ak4613 {
 30         #sound-dai-cells = <0>;
 31 
 32         port {
 33                 /*
 34                  * (A) CPU0 <-> ak4613
 35                  */
 36                 ak4613_endpoint: endpoint {
 37                         remote-endpoint = <&rsnd_for_ak4613>;
 38                 };
 39         };
 40 };
 41 
 42 &hdmi0 {
 43         ports {
 44                 port@2 {
 45                         /*
 46                          * (B) CPU1 -> HDMI
 47                          */
 48                         dw_hdmi0_snd_in: endpoint {
 49                                 remote-endpoint = <&rsnd_for_hdmi>;
 50                         };
 51                 };
 52         };
 53 };
 54 
 55 &rcar_sound {
 56         #address-cells = <1>;
 57         #size-cells = <0>;
 58 
 59         ports@0 {
 60                 #address-cells = <1>;
 61                 #size-cells = <0>;
 62                 reg = <0>;
 63 
 64                 snd_ulcb1: port@0 {
 65                         /*
 66                          * (A) CPU0 <-> ak4613
 67                          */
 68                         reg = <0>;
 69                         rsnd_for_ak4613: endpoint {
 70                                 remote-endpoint = <&ak4613_endpoint>;
 71                                 bitclock-master;
 72                                 frame-master;
 73                                 playback = <&ssi0>, <&src0>, <&dvc0>;
 74                                 capture  = <&ssi1>, <&src1>, <&dvc1>;
 75                         };
 76                 };
 77                 snd_ulcb2: port@1 {
 78                         /*
 79                          * (B) CPU1 -> HDMI
 80                          */
 81                         reg = <1>;
 82                         rsnd_for_hdmi: endpoint {
 83                                 remote-endpoint = <&dw_hdmi0_snd_in>;
 84                                 bitclock-master;
 85                                 frame-master;
 86                                 playback = <&ssi2>;
 87                         };
 88                 };
 89         };
 90 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php