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