max8907.txt 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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 regulator-compatible
  15. property, with valid values listed below. The content of each sub-node
  16. is defined by the standard binding for regulators; see regulator.txt.
  17. Optional properties:
  18. - maxim,system-power-controller: Boolean property indicating that the PMIC
  19. controls the overall system power.
  20. Valid regulator-compatible values are:
  21. sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10,
  22. ldo11, ldo12, ldo13, ldo14, ldo15, ldo16, ldo17, ldo18, ldo19, ldo20, out5v,
  23. out33v, bbat, sdby, vrtc.
  24. Example:
  25. max8907@3c {
  26. compatible = "maxim,max8907";
  27. reg = <0x3c>;
  28. interrupts = <0 86 0x4>;
  29. maxim,system-power-controller;
  30. mbatt-supply = <&some_reg>;
  31. in-v1-supply = <&mbatt_reg>;
  32. ...
  33. in1-supply = <&mbatt_reg>;
  34. ...
  35. regulators {
  36. #address-cells = <1>;
  37. #size-cells = <0>;
  38. mbatt_reg: regulator@0 {
  39. reg = <0>;
  40. regulator-compatible = "mbatt";
  41. regulator-name = "vbat_pmu";
  42. regulator-min-microvolt = <5000000>;
  43. regulator-max-microvolt = <5000000>;
  44. regulator-always-on;
  45. };
  46. regulator@1 {
  47. reg = <1>;
  48. regulator-compatible = "sd1";
  49. regulator-name = "nvvdd_sv1,vdd_cpu_pmu";
  50. regulator-min-microvolt = <1000000>;
  51. regulator-max-microvolt = <1000000>;
  52. regulator-always-on;
  53. };
  54. regulator@2 {
  55. reg = <2>;
  56. regulator-compatible = "sd2";
  57. regulator-name = "nvvdd_sv2,vdd_core";
  58. regulator-min-microvolt = <1200000>;
  59. regulator-max-microvolt = <1200000>;
  60. regulator-always-on;
  61. };
  62. ...
  63. };
  64. };
  65. };