max77686.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. Maxim MAX77686 multi-function device
  2. MAX77686 is a Mulitifunction device with PMIC, RTC and Charger on chip. It is
  3. interfaced to host controller using i2c interface. PMIC and Charger submodules
  4. are addressed using same i2c slave address whereas RTC submodule uses
  5. different i2c slave address,presently for which we are statically creating i2c
  6. client while probing.This document describes the binding for mfd device and
  7. PMIC submodule.
  8. Required properties:
  9. - compatible : Must be "maxim,max77686";
  10. - reg : Specifies the i2c slave address of PMIC block.
  11. - interrupts : This i2c device has an IRQ line connected to the main SoC.
  12. - interrupt-parent : The parent interrupt controller.
  13. Optional node:
  14. - voltage-regulators : The regulators of max77686 have to be instantiated
  15. under subnode named "voltage-regulators" using the following format.
  16. regulator_name {
  17. regulator-compatible = LDOn/BUCKn
  18. standard regulator constraints....
  19. };
  20. refer Documentation/devicetree/bindings/regulator/regulator.txt
  21. The regulator-compatible property of regulator should initialized with string
  22. to get matched with their hardware counterparts as follow:
  23. -LDOn : for LDOs, where n can lie in range 1 to 26.
  24. example: LDO1, LDO2, LDO26.
  25. -BUCKn : for BUCKs, where n can lie in range 1 to 9.
  26. example: BUCK1, BUCK5, BUCK9.
  27. Example:
  28. max77686@09 {
  29. compatible = "maxim,max77686";
  30. interrupt-parent = <&wakeup_eint>;
  31. interrupts = <26 0>;
  32. reg = <0x09>;
  33. voltage-regulators {
  34. ldo11_reg {
  35. regulator-compatible = "LDO11";
  36. regulator-name = "vdd_ldo11";
  37. regulator-min-microvolt = <1900000>;
  38. regulator-max-microvolt = <1900000>;
  39. regulator-always-on;
  40. };
  41. buck1_reg {
  42. regulator-compatible = "BUCK1";
  43. regulator-name = "vdd_mif";
  44. regulator-min-microvolt = <950000>;
  45. regulator-max-microvolt = <1300000>;
  46. regulator-always-on;
  47. regulator-boot-on;
  48. };
  49. }