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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml

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

  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/regulator/ti,tps65219.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: TI tps65219 Power Management Integrated Circuit regulators
  8 
  9 maintainers:
 10   - Jerome Neanne <jerome.neanne@baylibre.com>
 11 
 12 description: |
 13   Regulator nodes should be named to buck<number> and ldo<number>.
 14 
 15 properties:
 16   compatible:
 17     enum:
 18       - ti,tps65219
 19 
 20   reg:
 21     maxItems: 1
 22 
 23   system-power-controller:
 24     type: boolean
 25     description: Optional property that indicates that this device is
 26       controlling system power.
 27 
 28   interrupts:
 29     description: Short-circuit, over-current, under-voltage for regulators, PB interrupts.
 30     maxItems: 1
 31 
 32   interrupt-controller: true
 33 
 34   '#interrupt-cells':
 35     description: Specifies the PIN numbers and Flags, as defined in
 36       include/dt-bindings/interrupt-controller/irq.h
 37     const: 1
 38 
 39   ti,power-button:
 40     type: boolean
 41     description: |
 42       Optional property that sets the EN/PB/VSENSE pin to be a
 43       power-button.
 44       TPS65219 has a multipurpose pin called EN/PB/VSENSE that can be either
 45       1. EN in which case it functions as an enable pin.
 46       2. VSENSE which compares the voltages and triggers an automatic
 47       on/off request.
 48       3. PB in which case it can be configured to trigger an interrupt
 49       to the SoC.
 50       ti,power-button reflects the last one of those options
 51       where the board has a button wired to the pin and triggers
 52       an interrupt on pressing it.
 53 
 54   regulators:
 55     type: object
 56     description: |
 57       list of regulators provided by this controller
 58 
 59     patternProperties:
 60       "^ldo[1-4]$":
 61         type: object
 62         $ref: regulator.yaml#
 63         description:
 64           Properties for single LDO regulator.
 65 
 66         unevaluatedProperties: false
 67 
 68       "^buck[1-3]$":
 69         type: object
 70         $ref: regulator.yaml#
 71         description:
 72           Properties for single BUCK regulator.
 73 
 74         unevaluatedProperties: false
 75 
 76     additionalProperties: false
 77 
 78 patternProperties:
 79   "^buck[1-3]-supply$":
 80     description: Input supply phandle of one regulator.
 81 
 82   "^ldo[1-4]-supply$":
 83     description: Input supply phandle of one regulator.
 84 
 85 required:
 86   - compatible
 87   - reg
 88   - interrupts
 89   - regulators
 90 
 91 additionalProperties: false
 92 
 93 examples:
 94   - |
 95     #include <dt-bindings/interrupt-controller/arm-gic.h>
 96     i2c {
 97         #address-cells = <1>;
 98         #size-cells = <0>;
 99 
100         tps65219: pmic@30 {
101             compatible = "ti,tps65219";
102             reg = <0x30>;
103             buck1-supply = <&vcc_3v3_sys>;
104             buck2-supply = <&vcc_3v3_sys>;
105             buck3-supply = <&vcc_3v3_sys>;
106             ldo1-supply = <&vcc_3v3_sys>;
107             ldo2-supply = <&buck2_reg>;
108             ldo3-supply = <&vcc_3v3_sys>;
109             ldo4-supply = <&vcc_3v3_sys>;
110 
111             pinctrl-0 = <&pmic_irq_pins_default>;
112 
113             interrupt-parent = <&gic500>;
114             interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
115             ti,power-button;
116 
117             regulators {
118                 buck1_reg: buck1 {
119                     regulator-name = "VDD_CORE";
120                     regulator-min-microvolt = <750000>;
121                     regulator-max-microvolt = <750000>;
122                     regulator-boot-on;
123                     regulator-always-on;
124                 };
125 
126                 buck2_reg: buck2 {
127                     regulator-name = "VCC1V8";
128                     regulator-min-microvolt = <1800000>;
129                     regulator-max-microvolt = <1800000>;
130                     regulator-boot-on;
131                     regulator-always-on;
132                 };
133 
134                 buck3_reg: buck3 {
135                     regulator-name = "VDD_LPDDR4";
136                     regulator-min-microvolt = <1100000>;
137                     regulator-max-microvolt = <1100000>;
138                     regulator-boot-on;
139                     regulator-always-on;
140                 };
141 
142                 ldo1_reg: ldo1 {
143                     regulator-name = "VDDSHV_SD_IO_PMIC";
144                     regulator-min-microvolt = <33000000>;
145                     regulator-max-microvolt = <33000000>;
146                 };
147 
148                 ldo2_reg: ldo2 {
149                     regulator-name = "VDDAR_CORE";
150                     regulator-min-microvolt = <850000>;
151                     regulator-max-microvolt = <850000>;
152                     regulator-boot-on;
153                     regulator-always-on;
154                 };
155 
156                 ldo3_reg: ldo3 {
157                     regulator-name = "VDDA_1V8";
158                     regulator-min-microvolt = <18000000>;
159                     regulator-max-microvolt = <18000000>;
160                     regulator-boot-on;
161                     regulator-always-on;
162                 };
163 
164                 ldo4_reg: ldo4 {
165                     regulator-name = "VDD_PHY_2V5";
166                     regulator-min-microvolt = <25000000>;
167                     regulator-max-microvolt = <25000000>;
168                     regulator-boot-on;
169                     regulator-always-on;
170                 };
171             };
172         };
173     };

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