Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mfd/ti,lp87561-q1.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: TI LP87561-Q1 single 4-phase output buck converter
0008 
0009 maintainers:
0010   - Keerthy <j-keerthy@ti.com>
0011 
0012 properties:
0013   compatible:
0014     const: ti,lp87561-q1
0015 
0016   reg:
0017     description: I2C slave address
0018     const: 0x60
0019 
0020   reset-gpios:
0021     description: GPIO connected to NRST pin (active low reset, pin 20)
0022     maxItems: 1
0023 
0024   gpio-controller: true
0025 
0026   '#gpio-cells':
0027     description:
0028       The first cell is the pin number.
0029       The second cell is is used to specify flags.
0030       See ../gpio/gpio.txt for more information.
0031     const: 2
0032 
0033   buck3210-in-supply:
0034     description:
0035       Voltage regulator supply for all the four BUCK converters.
0036 
0037   regulators:
0038     type: object
0039 
0040     properties:
0041       buck3210:
0042         type: object
0043         $ref: /schemas/regulator/regulator.yaml#
0044 
0045     required:
0046       - buck3210
0047 
0048     additionalProperties: false
0049 
0050 required:
0051   - compatible
0052   - reg
0053   - gpio-controller
0054   - '#gpio-cells'
0055   - buck3210-in-supply
0056 
0057 additionalProperties: false
0058 
0059 examples:
0060   - |
0061     i2c@0 {
0062         reg = <0x0 0x100>;
0063         #address-cells = <1>;
0064         #size-cells = <0>;
0065 
0066         pmic@60 {
0067             compatible = "ti,lp87561-q1";
0068             reg = <0x60>;
0069             gpio-controller;
0070             #gpio-cells = <2>;
0071 
0072             buck3210-in-supply = <&vsys_3v3>;
0073 
0074             regulators {
0075                 buck3210_reg: buck3210 {
0076                     /* VDD_CORE */
0077                     regulator-name = "buck3210";
0078                     regulator-min-microvolt = <800000>;
0079                     regulator-max-microvolt = <800000>;
0080                     regulator-always-on;
0081                     regulator-boot-on;
0082                 };
0083             };
0084         };
0085     };
0086 
0087 ...