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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/regulator/palmas-pmic.txt

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 /Documentation/devicetree/bindings/regulator/palmas-pmic.txt (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/regulator/palmas-pmic.txt (Version linux-4.4.302)


  1 * palmas regulator IP block devicetree binding      1 * palmas regulator IP block devicetree bindings
  2                                                     2 
  3 The tps659038 for the AM57x class have OTP spi << 
  4 have different part numbers but the same funct << 
  5 is not a need to add the OTP spins to the palm << 
  6 spin devices should use the tps659038 as it's  << 
  7 This is the list of those devices:             << 
  8 tps659037                                      << 
  9                                                << 
 10 Required properties:                                3 Required properties:
 11 - compatible : Should be from the list              4 - compatible : Should be from the list
 12   ti,twl6035-pmic                                   5   ti,twl6035-pmic
 13   ti,twl6036-pmic                                   6   ti,twl6036-pmic
 14   ti,twl6037-pmic                                   7   ti,twl6037-pmic
 15   ti,tps65913-pmic                                  8   ti,tps65913-pmic
 16   ti,tps65914-pmic                                  9   ti,tps65914-pmic
 17   ti,tps65917-pmic                                 10   ti,tps65917-pmic
 18   ti,tps659038-pmic                            << 
 19 and also the generic series names                  11 and also the generic series names
 20   ti,palmas-pmic                                   12   ti,palmas-pmic
                                                   >>  13 - interrupt-parent : The parent interrupt controller which is palmas.
 21 - interrupts : The interrupt number and the ty     14 - interrupts : The interrupt number and the type which can be looked up here:
 22                arch/arm/boot/dts/include/dt-bi     15                arch/arm/boot/dts/include/dt-bindings/interrupt-controller/irq.h
 23 - interrupts-name: The names of the individual     16 - interrupts-name: The names of the individual interrupts.
 24                                                    17 
 25 Optional properties:                               18 Optional properties:
 26 - ti,ldo6-vibrator : ldo6 is in vibrator mode      19 - ti,ldo6-vibrator : ldo6 is in vibrator mode
 27                                                    20 
 28 Optional nodes:                                    21 Optional nodes:
 29 - regulators : Must contain a sub-node per reg     22 - regulators : Must contain a sub-node per regulator from the list below.
 30                Each sub-node should contain th     23                Each sub-node should contain the constraints and initialization
 31                information for that regulator.     24                information for that regulator. See regulator.txt for a
 32                description of standard propert     25                description of standard properties for these sub-nodes.
 33                Additional custom properties  a     26                Additional custom properties  are listed below.
 34                                                    27 
 35                For ti,palmas-pmic - smps12, sm     28                For ti,palmas-pmic - smps12, smps123, smps3 depending on OTP,
 36                smps45, smps457, smps7 dependin     29                smps45, smps457, smps7 depending on variant, smps6, smps[8-9],
 37                smps10_out2, smps10_out1, ldo[1     30                smps10_out2, smps10_out1, ldo[1-9], ldoln, ldousb.
 38                                                    31 
 39                Optional sub-node properties:       32                Optional sub-node properties:
 40                ti,warm-reset - maintain voltag     33                ti,warm-reset - maintain voltage during warm reset(boolean)
 41                ti,roof-floor - This takes as o     34                ti,roof-floor - This takes as optional argument on platform supporting
 42                the rail from desired external      35                the rail from desired external control. If there is no argument then
 43                it will be assume that it is co     36                it will be assume that it is controlled by NSLEEP pin.
 44                The valid value for external pi     37                The valid value for external pins are:
 45                         ENABLE1 then 1,            38                         ENABLE1 then 1,
 46                         ENABLE2 then 2 or          39                         ENABLE2 then 2 or
 47                         NSLEEP then 3.             40                         NSLEEP then 3.
 48                ti,mode-sleep - mode to adopt i     41                ti,mode-sleep - mode to adopt in pmic sleep 0 - off, 1 - auto,
 49                2 - eco, 3 - forced pwm             42                2 - eco, 3 - forced pwm
 50                ti,smps-range - OTP has the wro     43                ti,smps-range - OTP has the wrong range set for the hardware so override
 51                0 - low range, 1 - high range.      44                0 - low range, 1 - high range.
 52                                                    45 
 53 - ti,system-power-controller: Telling whether      46 - ti,system-power-controller: Telling whether or not this pmic is controlling
 54                               the system power     47                               the system power.
 55                                                    48 
 56 Example:                                           49 Example:
 57                                                    50 
 58 #include <dt-bindings/interrupt-controller/irq     51 #include <dt-bindings/interrupt-controller/irq.h>
 59                                                    52 
 60 pmic {                                             53 pmic {
 61         compatible = "ti,twl6035-pmic", "ti,pa     54         compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
 62         interrupt-parent = <&palmas>;              55         interrupt-parent = <&palmas>;
 63         interrupts = <14 IRQ_TYPE_NONE>;           56         interrupts = <14 IRQ_TYPE_NONE>;
 64         interrupts-name = "short-irq";             57         interrupts-name = "short-irq";
 65                                                    58 
 66         ti,ldo6-vibrator;                          59         ti,ldo6-vibrator;
 67                                                    60 
 68         ti,system-power-controller;                61         ti,system-power-controller;
 69                                                    62 
 70         regulators {                               63         regulators {
 71                 smps12_reg : smps12 {              64                 smps12_reg : smps12 {
 72                         regulator-name = "smps     65                         regulator-name = "smps12";
 73                         regulator-min-microvol     66                         regulator-min-microvolt = < 600000>;
 74                         regulator-max-microvol     67                         regulator-max-microvolt = <1500000>;
 75                         regulator-always-on;       68                         regulator-always-on;
 76                         regulator-boot-on;         69                         regulator-boot-on;
 77                         ti,warm-reset;             70                         ti,warm-reset;
 78                         ti,roof-floor = <1>; /     71                         ti,roof-floor = <1>; /* ENABLE1 control */
 79                         ti,mode-sleep = <0>;       72                         ti,mode-sleep = <0>;
 80                         ti,smps-range = <1>;       73                         ti,smps-range = <1>;
 81                 };                                 74                 };
 82                                                    75 
 83                 ldo1_reg: ldo1 {                   76                 ldo1_reg: ldo1 {
 84                         regulator-name = "ldo1     77                         regulator-name = "ldo1";
 85                         regulator-min-microvol     78                         regulator-min-microvolt = <2800000>;
 86                         regulator-max-microvol     79                         regulator-max-microvolt = <2800000>;
 87                 };                                 80                 };
 88         };                                         81         };
 89 };                                                 82 };
                                                      

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