xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/sprd,sc2731-regulator.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/sprd,sc2731-regulator.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Spreadtrum SC2731 Power Management IC regulators
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Orson Zhai <orsonzhai@gmail.com>
11*0e8011faSEmmanuel Vadot  - Baolin Wang <baolin.wang7@gmail.com>
12*0e8011faSEmmanuel Vadot  - Chunyan Zhang <zhang.lyra@gmail.com>
13*0e8011faSEmmanuel Vadot
14*0e8011faSEmmanuel Vadotdescription: |
15*0e8011faSEmmanuel Vadot  The SC2731 integrates low-voltage and low quiescent current DCDC/LDO.
16*0e8011faSEmmanuel Vadot  14 LDO and 3 DCDCs are designed for external use. All DCDCs/LDOs have
17*0e8011faSEmmanuel Vadot  their own bypass (power-down) control signals. It is recommended to use
18*0e8011faSEmmanuel Vadot  external tantalum or MLCC ceramic capacitors with these LDOs.
19*0e8011faSEmmanuel Vadot  Valid names for the regulators are:
20*0e8011faSEmmanuel Vadot    BUCK:
21*0e8011faSEmmanuel Vadot      BUCK_CPU0, BUCK_CPU1, BUCK_RF
22*0e8011faSEmmanuel Vadot    LDO:
23*0e8011faSEmmanuel Vadot      LDO_CAMA0, LDO_CAMA1, LDO_CAMD0, LDO_CAMD1, LDO_CAMIO, LDO_CAMMOT,
24*0e8011faSEmmanuel Vadot      LDO_CON, LDO_EMMCCORE, LDO_SDCORE, LDO_SDIO, LDO_SRAM, LDO_USB33,
25*0e8011faSEmmanuel Vadot      LDO_VLDO, LDO_WIFIPA
26*0e8011faSEmmanuel Vadot
27*0e8011faSEmmanuel Vadotproperties:
28*0e8011faSEmmanuel Vadot  compatible:
29*0e8011faSEmmanuel Vadot    const: sprd,sc2731-regulator
30*0e8011faSEmmanuel Vadot
31*0e8011faSEmmanuel VadotpatternProperties:
32*0e8011faSEmmanuel Vadot  "^BUCK_(CPU[0-1]|RF)$":
33*0e8011faSEmmanuel Vadot    type: object
34*0e8011faSEmmanuel Vadot    $ref: regulator.yaml#
35*0e8011faSEmmanuel Vadot    unevaluatedProperties: false
36*0e8011faSEmmanuel Vadot
37*0e8011faSEmmanuel Vadot  "^LDO_(CAM(A0|A1|D0|D1|IO|MOT)|CON|EMMCCORE|SD(CORE|IO)|SRAM|USB33|VLDO|WIFIPA)$":
38*0e8011faSEmmanuel Vadot    type: object
39*0e8011faSEmmanuel Vadot    $ref: regulator.yaml#
40*0e8011faSEmmanuel Vadot    unevaluatedProperties: false
41*0e8011faSEmmanuel Vadot
42*0e8011faSEmmanuel Vadotrequired:
43*0e8011faSEmmanuel Vadot  - compatible
44*0e8011faSEmmanuel Vadot
45*0e8011faSEmmanuel VadotadditionalProperties: false
46*0e8011faSEmmanuel Vadot
47*0e8011faSEmmanuel Vadotexamples:
48*0e8011faSEmmanuel Vadot  - |
49*0e8011faSEmmanuel Vadot    regulators {
50*0e8011faSEmmanuel Vadot      compatible = "sprd,sc2731-regulator";
51*0e8011faSEmmanuel Vadot
52*0e8011faSEmmanuel Vadot      BUCK_CPU0 {
53*0e8011faSEmmanuel Vadot        regulator-name = "vddarm0";
54*0e8011faSEmmanuel Vadot        regulator-min-microvolt = <400000>;
55*0e8011faSEmmanuel Vadot        regulator-max-microvolt = <1996875>;
56*0e8011faSEmmanuel Vadot        regulator-ramp-delay = <25000>;
57*0e8011faSEmmanuel Vadot        regulator-always-on;
58*0e8011faSEmmanuel Vadot      };
59*0e8011faSEmmanuel Vadot
60*0e8011faSEmmanuel Vadot      LDO_CAMA0 {
61*0e8011faSEmmanuel Vadot        regulator-name = "vddcama0";
62*0e8011faSEmmanuel Vadot        regulator-min-microvolt = <1200000>;
63*0e8011faSEmmanuel Vadot        regulator-max-microvolt = <3750000>;
64*0e8011faSEmmanuel Vadot        regulator-enable-ramp-delay = <100>;
65*0e8011faSEmmanuel Vadot      };
66*0e8011faSEmmanuel Vadot    };
67*0e8011faSEmmanuel Vadot...
68