Documentation / devicetree / bindings / regulator / sprd,sc2731-regulator.yaml


Based on kernel version 6.11. Page generated on 2024-09-24 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/sprd,sc2731-regulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Spreadtrum SC2731 Power Management IC regulators

maintainers:
  - Orson Zhai <orsonzhai@gmail.com>
  - Baolin Wang <baolin.wang7@gmail.com>
  - Chunyan Zhang <zhang.lyra@gmail.com>

description: |
  The SC2731 integrates low-voltage and low quiescent current DCDC/LDO.
  14 LDO and 3 DCDCs are designed for external use. All DCDCs/LDOs have
  their own bypass (power-down) control signals. It is recommended to use
  external tantalum or MLCC ceramic capacitors with these LDOs.
  Valid names for the regulators are:
    BUCK:
      BUCK_CPU0, BUCK_CPU1, BUCK_RF
    LDO:
      LDO_CAMA0, LDO_CAMA1, LDO_CAMD0, LDO_CAMD1, LDO_CAMIO, LDO_CAMMOT,
      LDO_CON, LDO_EMMCCORE, LDO_SDCORE, LDO_SDIO, LDO_SRAM, LDO_USB33,
      LDO_VLDO, LDO_WIFIPA

properties:
  compatible:
    const: sprd,sc2731-regulator

patternProperties:
  "^BUCK_(CPU[0-1]|RF)$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
 
  "^LDO_(CAM(A0|A1|D0|D1|IO|MOT)|CON|EMMCCORE|SD(CORE|IO)|SRAM|USB33|VLDO|WIFIPA)$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false

required:
  - compatible

additionalProperties: false

examples:
  - |
    regulators {
      compatible = "sprd,sc2731-regulator";
 
      BUCK_CPU0 {
        regulator-name = "vddarm0";
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <1996875>;
        regulator-ramp-delay = <25000>;
        regulator-always-on;
      };
 
      LDO_CAMA0 {
        regulator-name = "vddcama0";
        regulator-min-microvolt = <1200000>;
        regulator-max-microvolt = <3750000>;
        regulator-enable-ramp-delay = <100>;
      };
    };
...