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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sc7280-herobrine-audio-rt5682.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/qcom/sc7280-herobrine-audio-rt5682.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm64/qcom/sc7280-herobrine-audio-rt5682.dtsi (Architecture sparc)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  *                                                  3  *
  4  * This file defines the common audio settings      4  * This file defines the common audio settings for the child boards
  5  * using rt5682 codec.                              5  * using rt5682 codec.
  6  *                                                  6  *
  7  * Copyright 2022 Google LLC.                       7  * Copyright 2022 Google LLC.
  8  */                                                 8  */
  9                                                     9 
 10 / {                                                10 / {
 11         /* BOARD-SPECIFIC TOP LEVEL NODES */       11         /* BOARD-SPECIFIC TOP LEVEL NODES */
 12         sound: sound {                             12         sound: sound {
 13                 compatible = "google,sc7280-he     13                 compatible = "google,sc7280-herobrine";
 14                 model = "sc7280-rt5682-max9836     14                 model = "sc7280-rt5682-max98360a-1mic";
 15                                                    15 
 16                 audio-routing = "Headphone Jac     16                 audio-routing = "Headphone Jack", "HPOL",
 17                                 "Headphone Jac     17                                 "Headphone Jack", "HPOR";
 18                                                    18 
 19                 #address-cells = <1>;              19                 #address-cells = <1>;
 20                 #size-cells = <0>;                 20                 #size-cells = <0>;
 21                                                    21 
 22                 dai-link@0 {                       22                 dai-link@0 {
 23                         link-name = "MAX98360"     23                         link-name = "MAX98360";
 24                         reg = <0>;                 24                         reg = <0>;
 25                                                    25 
 26                         cpu {                      26                         cpu {
 27                                 sound-dai = <&     27                                 sound-dai = <&lpass_cpu MI2S_SECONDARY>;
 28                         };                         28                         };
 29                                                    29 
 30                         codec {                    30                         codec {
 31                                 sound-dai = <&     31                                 sound-dai = <&max98360a>;
 32                         };                         32                         };
 33                 };                                 33                 };
 34                                                    34 
 35                 dai-link@1 {                       35                 dai-link@1 {
 36                         link-name = "DisplayPo     36                         link-name = "DisplayPort";
 37                         reg = <1>;                 37                         reg = <1>;
 38                                                    38 
 39                         cpu {                      39                         cpu {
 40                                 sound-dai = <&     40                                 sound-dai = <&lpass_cpu LPASS_DP_RX>;
 41                         };                         41                         };
 42                                                    42 
 43                         codec {                    43                         codec {
 44                                 sound-dai = <&     44                                 sound-dai = <&mdss_dp>;
 45                         };                         45                         };
 46                 };                                 46                 };
 47                                                    47 
 48                 dai-link@2 {                       48                 dai-link@2 {
 49                         link-name = "ALC5682";     49                         link-name = "ALC5682";
 50                         reg = <2>;                 50                         reg = <2>;
 51                                                    51 
 52                         cpu {                      52                         cpu {
 53                                 sound-dai = <&     53                                 sound-dai = <&lpass_cpu MI2S_PRIMARY>;
 54                         };                         54                         };
 55                                                    55 
 56                         codec {                    56                         codec {
 57                                 sound-dai = <&     57                                 sound-dai = <&alc5682 0 /* aif1 */>;
 58                         };                         58                         };
 59                 };                                 59                 };
 60         };                                         60         };
 61 };                                                 61 };
 62                                                    62 
 63 hp_i2c: &i2c2 {                                    63 hp_i2c: &i2c2 {
 64         clock-frequency = <400000>;                64         clock-frequency = <400000>;
 65         status = "okay";                           65         status = "okay";
 66                                                    66 
 67         alc5682: codec@1a {                        67         alc5682: codec@1a {
 68                 compatible = "realtek,rt5682s"     68                 compatible = "realtek,rt5682s";
 69                 reg = <0x1a>;                      69                 reg = <0x1a>;
 70                 pinctrl-names = "default";         70                 pinctrl-names = "default";
 71                 pinctrl-0 = <&hp_irq>;             71                 pinctrl-0 = <&hp_irq>;
 72                                                    72 
 73                 #sound-dai-cells = <1>;            73                 #sound-dai-cells = <1>;
 74                                                    74 
 75                 interrupt-parent = <&tlmm>;        75                 interrupt-parent = <&tlmm>;
 76                 interrupts = <101 IRQ_TYPE_EDG     76                 interrupts = <101 IRQ_TYPE_EDGE_BOTH>;
 77                                                    77 
 78                 AVDD-supply = <&pp1800_alc5682     78                 AVDD-supply = <&pp1800_alc5682>;
 79                 DBVDD-supply = <&pp1800_alc568     79                 DBVDD-supply = <&pp1800_alc5682>;
 80                 LDO1-IN-supply = <&pp1800_alc5     80                 LDO1-IN-supply = <&pp1800_alc5682>;
 81                 MICVDD-supply = <&pp3300_codec     81                 MICVDD-supply = <&pp3300_codec>;
 82                                                    82 
 83                 realtek,dmic1-data-pin = <1>;      83                 realtek,dmic1-data-pin = <1>;
 84                 realtek,dmic1-clk-pin = <2>;       84                 realtek,dmic1-clk-pin = <2>;
 85                 realtek,jd-src = <1>;              85                 realtek,jd-src = <1>;
 86                 realtek,dmic-clk-rate-hz = <20     86                 realtek,dmic-clk-rate-hz = <2048000>;
 87         };                                         87         };
 88 };                                                 88 };
 89                                                    89 
 90 &lpass_cpu {                                       90 &lpass_cpu {
 91         pinctrl-names = "default";                 91         pinctrl-names = "default";
 92         pinctrl-0 = <&mi2s0_data0>, <&mi2s0_da     92         pinctrl-0 = <&mi2s0_data0>, <&mi2s0_data1>, <&mi2s0_mclk>, <&mi2s0_sclk>, <&mi2s0_ws>,
 93                         <&mi2s1_data0>, <&mi2s     93                         <&mi2s1_data0>, <&mi2s1_sclk>, <&mi2s1_ws>;
 94                                                    94 
 95         #address-cells = <1>;                      95         #address-cells = <1>;
 96         #size-cells = <0>;                         96         #size-cells = <0>;
 97                                                    97 
 98         status = "okay";                           98         status = "okay";
 99                                                    99 
100         dai-link@0 {                              100         dai-link@0 {
101                 reg = <MI2S_PRIMARY>;             101                 reg = <MI2S_PRIMARY>;
102                 qcom,playback-sd-lines = <1>;     102                 qcom,playback-sd-lines = <1>;
103                 qcom,capture-sd-lines = <0>;      103                 qcom,capture-sd-lines = <0>;
104         };                                        104         };
105                                                   105 
106         dai-link@1 {                              106         dai-link@1 {
107                 reg = <MI2S_SECONDARY>;           107                 reg = <MI2S_SECONDARY>;
108                 qcom,playback-sd-lines = <0>;     108                 qcom,playback-sd-lines = <0>;
109         };                                        109         };
110                                                   110 
111         dai-link@5 {                              111         dai-link@5 {
112                 reg = <LPASS_DP_RX>;              112                 reg = <LPASS_DP_RX>;
113         };                                        113         };
114 };                                                114 };
115                                                   115 
116 /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVI    116 /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */
117                                                   117 
118 &mi2s0_data0 {                                    118 &mi2s0_data0 {
119         drive-strength = <6>;                     119         drive-strength = <6>;
120         bias-disable;                             120         bias-disable;
121 };                                                121 };
122                                                   122 
123 &mi2s0_data1 {                                    123 &mi2s0_data1 {
124         drive-strength = <6>;                     124         drive-strength = <6>;
125         bias-disable;                             125         bias-disable;
126 };                                                126 };
127                                                   127 
128 &mi2s0_mclk {                                     128 &mi2s0_mclk {
129         drive-strength = <6>;                     129         drive-strength = <6>;
130         bias-disable;                             130         bias-disable;
131 };                                                131 };
132                                                   132 
133 &mi2s0_sclk {                                     133 &mi2s0_sclk {
134         drive-strength = <6>;                     134         drive-strength = <6>;
135         bias-disable;                             135         bias-disable;
136 };                                                136 };
137                                                   137 
138 &mi2s0_ws {                                       138 &mi2s0_ws {
139         drive-strength = <6>;                     139         drive-strength = <6>;
140         bias-disable;                             140         bias-disable;
141 };                                                141 };
                                                      

~ [ 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