max8907.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. MAX8907 regulator
  2. Required properties:
  3. - compatible: "maxim,max8907"
  4. - reg: I2C slave address
  5. - interrupts: The interrupt output of the controller
  6. - mbatt-supply: The input supply for MBATT, BBAT, SDBY, VRTC.
  7. - in-v1-supply: The input supply for SD1.
  8. - in-v2-supply: The input supply for SD2.
  9. - in-v3-supply: The input supply for SD3.
  10. - in1-supply: The input supply for LDO1.
  11. ...
  12. - in20-supply: The input supply for LDO20.
  13. - regulators: A node that houses a sub-node for each regulator within the
  14. device. Each sub-node is identified using the node's name (or the deprecated
  15. regulator-compatible property if present), with valid values listed below.
  16. The content of each sub-node is defined by the standard binding for
  17. regulators; see regulator.txt.
  18. Optional properties:
  19. - maxim,system-power-controller: Boolean property indicating that the PMIC
  20. controls the overall system power.
  21. The valid names for regulators are:
  22. sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10,
  23. ldo11, ldo12, ldo13, ldo14, ldo15, ldo16, ldo17, ldo18, ldo19, ldo20, out5v,
  24. out33v, bbat, sdby, vrtc.
  25. Example:
  26. max8907@3c {
  27. compatible = "maxim,max8907";
  28. reg = <0x3c>;
  29. interrupts = <0 86 0x4>;
  30. maxim,system-power-controller;
  31. mbatt-supply = <&some_reg>;
  32. in-v1-supply = <&mbatt_reg>;
  33. ...
  34. in1-supply = <&mbatt_reg>;
  35. ...
  36. regulators {
  37. mbatt_reg: mbatt {
  38. regulator-name = "vbat_pmu";
  39. regulator-min-microvolt = <5000000>;
  40. regulator-max-microvolt = <5000000>;
  41. regulator-always-on;
  42. };
  43. sd1 {
  44. regulator-name = "nvvdd_sv1,vdd_cpu_pmu";
  45. regulator-min-microvolt = <1000000>;
  46. regulator-max-microvolt = <1000000>;
  47. regulator-always-on;
  48. };
  49. sd2 {
  50. regulator-name = "nvvdd_sv2,vdd_core";
  51. regulator-min-microvolt = <1200000>;
  52. regulator-max-microvolt = <1200000>;
  53. regulator-always-on;
  54. };
  55. ...
  56. };
  57. };
  58. };