sprd,sc2731-regulator.yaml 1.8 KB

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