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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/allwinner/axp803.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/allwinner/axp803.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/allwinner/axp803.dtsi (Version linux-5.2.21)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)  !!   1 /*
  2 // Copyright 2017 Icenowy Zheng <icenowy@aosc.x !!   2  * Copyright 2017 Icenowy Zheng <icenowy@aosc.xyz>
                                                   >>   3  *
                                                   >>   4  * This file is dual-licensed: you can use it either under the terms
                                                   >>   5  * of the GPL or the X11 license, at your option. Note that this dual
                                                   >>   6  * licensing only applies to this file, and not this project as a
                                                   >>   7  * whole.
                                                   >>   8  *
                                                   >>   9  *  a) This file is free software; you can redistribute it and/or
                                                   >>  10  *     modify it under the terms of the GNU General Public License as
                                                   >>  11  *     published by the Free Software Foundation; either version 2 of the
                                                   >>  12  *     License, or (at your option) any later version.
                                                   >>  13  *
                                                   >>  14  *     This file is distributed in the hope that it will be useful,
                                                   >>  15  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  16  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                                                   >>  17  *     GNU General Public License for more details.
                                                   >>  18  *
                                                   >>  19  * Or, alternatively,
                                                   >>  20  *
                                                   >>  21  *  b) Permission is hereby granted, free of charge, to any person
                                                   >>  22  *     obtaining a copy of this software and associated documentation
                                                   >>  23  *     files (the "Software"), to deal in the Software without
                                                   >>  24  *     restriction, including without limitation the rights to use,
                                                   >>  25  *     copy, modify, merge, publish, distribute, sublicense, and/or
                                                   >>  26  *     sell copies of the Software, and to permit persons to whom the
                                                   >>  27  *     Software is furnished to do so, subject to the following
                                                   >>  28  *     conditions:
                                                   >>  29  *
                                                   >>  30  *     The above copyright notice and this permission notice shall be
                                                   >>  31  *     included in all copies or substantial portions of the Software.
                                                   >>  32  *
                                                   >>  33  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
                                                   >>  34  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
                                                   >>  35  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
                                                   >>  36  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
                                                   >>  37  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
                                                   >>  38  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
                                                   >>  39  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
                                                   >>  40  *     OTHER DEALINGS IN THE SOFTWARE.
                                                   >>  41  */
  3                                                    42 
  4 /*                                                 43 /*
  5  * AXP803 Integrated Power Management Chip         44  * AXP803 Integrated Power Management Chip
  6  * http://files.pine64.org/doc/datasheet/pine6     45  * http://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf
  7  */                                                46  */
  8                                                    47 
  9 &axp803 {                                          48 &axp803 {
 10         interrupt-controller;                      49         interrupt-controller;
 11         #interrupt-cells = <1>;                    50         #interrupt-cells = <1>;
 12                                                    51 
 13         ac_power_supply: ac-power {            !!  52         ac_power_supply: ac-power-supply {
 14                 compatible = "x-powers,axp803-     53                 compatible = "x-powers,axp803-ac-power-supply",
 15                              "x-powers,axp813-     54                              "x-powers,axp813-ac-power-supply";
 16                 status = "disabled";               55                 status = "disabled";
 17         };                                         56         };
 18                                                    57 
 19         axp_adc: adc {                             58         axp_adc: adc {
 20                 compatible = "x-powers,axp803-     59                 compatible = "x-powers,axp803-adc", "x-powers,axp813-adc";
 21                 #io-channel-cells = <1>;           60                 #io-channel-cells = <1>;
 22         };                                         61         };
 23                                                    62 
 24         axp_gpio: gpio {                           63         axp_gpio: gpio {
 25                 compatible = "x-powers,axp803-     64                 compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio";
 26                 gpio-controller;                   65                 gpio-controller;
 27                 #gpio-cells = <2>;                 66                 #gpio-cells = <2>;
                                                   >>  67 
                                                   >>  68                 gpio0_ldo: gpio0-ldo {
                                                   >>  69                         pins = "GPIO0";
                                                   >>  70                         function = "ldo";
                                                   >>  71                 };
                                                   >>  72 
                                                   >>  73                 gpio1_ldo: gpio1-ldo {
                                                   >>  74                         pins = "GPIO1";
                                                   >>  75                         function = "ldo";
                                                   >>  76                 };
 28         };                                         77         };
 29                                                    78 
 30         battery_power_supply: battery-power {  !!  79         battery_power_supply: battery-power-supply {
 31                 compatible = "x-powers,axp803-     80                 compatible = "x-powers,axp803-battery-power-supply",
 32                              "x-powers,axp813-     81                              "x-powers,axp813-battery-power-supply";
 33                 status = "disabled";               82                 status = "disabled";
 34         };                                         83         };
 35                                                    84 
 36         regulators {                               85         regulators {
 37                 /* Default work frequency for      86                 /* Default work frequency for buck regulators */
 38                 x-powers,dcdc-freq = <3000>;       87                 x-powers,dcdc-freq = <3000>;
 39                                                    88 
 40                 reg_aldo1: aldo1 {                 89                 reg_aldo1: aldo1 {
 41                         regulator-name = "aldo     90                         regulator-name = "aldo1";
 42                 };                                 91                 };
 43                                                    92 
 44                 reg_aldo2: aldo2 {                 93                 reg_aldo2: aldo2 {
 45                         regulator-name = "aldo     94                         regulator-name = "aldo2";
 46                 };                                 95                 };
 47                                                    96 
 48                 reg_aldo3: aldo3 {                 97                 reg_aldo3: aldo3 {
 49                         regulator-name = "aldo     98                         regulator-name = "aldo3";
 50                 };                                 99                 };
 51                                                   100 
 52                 reg_dc1sw: dc1sw {                101                 reg_dc1sw: dc1sw {
 53                         regulator-name = "dc1s    102                         regulator-name = "dc1sw";
 54                 };                                103                 };
 55                                                   104 
 56                 reg_dcdc1: dcdc1 {                105                 reg_dcdc1: dcdc1 {
 57                         regulator-name = "dcdc    106                         regulator-name = "dcdc1";
 58                 };                                107                 };
 59                                                   108 
 60                 reg_dcdc2: dcdc2 {                109                 reg_dcdc2: dcdc2 {
 61                         regulator-name = "dcdc    110                         regulator-name = "dcdc2";
 62                 };                                111                 };
 63                                                   112 
 64                 reg_dcdc3: dcdc3 {                113                 reg_dcdc3: dcdc3 {
 65                         regulator-name = "dcdc    114                         regulator-name = "dcdc3";
 66                 };                                115                 };
 67                                                   116 
 68                 reg_dcdc4: dcdc4 {                117                 reg_dcdc4: dcdc4 {
 69                         regulator-name = "dcdc    118                         regulator-name = "dcdc4";
 70                 };                                119                 };
 71                                                   120 
 72                 reg_dcdc5: dcdc5 {                121                 reg_dcdc5: dcdc5 {
 73                         regulator-name = "dcdc    122                         regulator-name = "dcdc5";
 74                 };                                123                 };
 75                                                   124 
 76                 reg_dcdc6: dcdc6 {                125                 reg_dcdc6: dcdc6 {
 77                         regulator-name = "dcdc    126                         regulator-name = "dcdc6";
 78                 };                                127                 };
 79                                                   128 
 80                 reg_dldo1: dldo1 {                129                 reg_dldo1: dldo1 {
 81                         regulator-name = "dldo    130                         regulator-name = "dldo1";
 82                 };                                131                 };
 83                                                   132 
 84                 reg_dldo2: dldo2 {                133                 reg_dldo2: dldo2 {
 85                         regulator-name = "dldo    134                         regulator-name = "dldo2";
 86                 };                                135                 };
 87                                                   136 
 88                 reg_dldo3: dldo3 {                137                 reg_dldo3: dldo3 {
 89                         regulator-name = "dldo    138                         regulator-name = "dldo3";
 90                 };                                139                 };
 91                                                   140 
 92                 reg_dldo4: dldo4 {                141                 reg_dldo4: dldo4 {
 93                         regulator-name = "dldo    142                         regulator-name = "dldo4";
 94                 };                                143                 };
 95                                                   144 
 96                 reg_eldo1: eldo1 {                145                 reg_eldo1: eldo1 {
 97                         regulator-name = "eldo    146                         regulator-name = "eldo1";
 98                 };                                147                 };
 99                                                   148 
100                 reg_eldo2: eldo2 {                149                 reg_eldo2: eldo2 {
101                         regulator-name = "eldo    150                         regulator-name = "eldo2";
102                 };                                151                 };
103                                                   152 
104                 reg_eldo3: eldo3 {                153                 reg_eldo3: eldo3 {
105                         regulator-name = "eldo    154                         regulator-name = "eldo3";
106                 };                                155                 };
107                                                   156 
108                 reg_fldo1: fldo1 {                157                 reg_fldo1: fldo1 {
109                         regulator-name = "fldo    158                         regulator-name = "fldo1";
110                 };                                159                 };
111                                                   160 
112                 reg_fldo2: fldo2 {                161                 reg_fldo2: fldo2 {
113                         regulator-name = "fldo    162                         regulator-name = "fldo2";
114                 };                                163                 };
115                                                   164 
116                 reg_ldo_io0: ldo-io0 {            165                 reg_ldo_io0: ldo-io0 {
117                         regulator-name = "ldo-    166                         regulator-name = "ldo-io0";
118                         status = "disabled";      167                         status = "disabled";
119                 };                                168                 };
120                                                   169 
121                 reg_ldo_io1: ldo-io1 {            170                 reg_ldo_io1: ldo-io1 {
122                         regulator-name = "ldo-    171                         regulator-name = "ldo-io1";
123                         status = "disabled";      172                         status = "disabled";
124                 };                                173                 };
125                                                   174 
126                 reg_rtc_ldo: rtc-ldo {            175                 reg_rtc_ldo: rtc-ldo {
127                         /* RTC_LDO is a fixed,    176                         /* RTC_LDO is a fixed, always-on regulator */
128                         regulator-always-on;      177                         regulator-always-on;
129                         regulator-min-microvol    178                         regulator-min-microvolt = <3000000>;
130                         regulator-max-microvol    179                         regulator-max-microvolt = <3000000>;
131                         regulator-name = "rtc-    180                         regulator-name = "rtc-ldo";
132                 };                                181                 };
133                                                   182 
134                 reg_drivevbus: drivevbus {        183                 reg_drivevbus: drivevbus {
135                         regulator-name = "driv    184                         regulator-name = "drivevbus";
136                         status = "disabled";      185                         status = "disabled";
137                 };                                186                 };
138         };                                     << 
139                                                << 
140         usb_power_supply: usb-power {          << 
141                 compatible = "x-powers,axp803- << 
142                              "x-powers,axp813- << 
143                 status = "disabled";           << 
144         };                                        187         };
145 };                                                188 };
                                                      

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