da9055.txt 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. * Dialog DA9055 Power Management Integrated Circuit (PMIC)
  2. DA9055 consists of a large and varied group of sub-devices (I2C Only):
  3. Device Supply Names Description
  4. ------ ------------ -----------
  5. da9055-gpio : : GPIOs
  6. da9055-regulator : : Regulators
  7. da9055-onkey : : On key
  8. da9055-rtc : : RTC
  9. da9055-hwmon : : ADC
  10. da9055-watchdog : : Watchdog
  11. The CODEC device in DA9055 has a separate, configurable I2C address and so
  12. is instantiated separately from the PMIC.
  13. For details on accompanying CODEC I2C device, see the following:
  14. Documentation/devicetree/bindings/sound/da9055.txt
  15. ======
  16. Required properties:
  17. - compatible : Should be "dlg,da9055-pmic"
  18. - reg: Specifies the I2C slave address (defaults to 0x5a but can be modified)
  19. - interrupt-parent: Specifies the phandle of the interrupt controller to which
  20. the IRQs from da9055 are delivered to.
  21. - interrupts: IRQ line info for da9055 chip.
  22. - interrupt-controller: da9055 has internal IRQs (has own IRQ domain).
  23. - #interrupt-cells: Should be 1, is the local IRQ number for da9055.
  24. Sub-nodes:
  25. - regulators : Contain the regulator nodes. The DA9055 regulators are
  26. bound using their names as listed below:
  27. buck1 : regulator BUCK1
  28. buck2 : regulator BUCK2
  29. ldo1 : regulator LDO1
  30. ldo2 : regulator LDO2
  31. ldo3 : regulator LDO3
  32. ldo4 : regulator LDO4
  33. ldo5 : regulator LDO5
  34. ldo6 : regulator LDO6
  35. The bindings details of individual regulator device can be found in:
  36. Documentation/devicetree/bindings/regulator/regulator.txt
  37. Example:
  38. pmic: da9055-pmic@5a {
  39. compatible = "dlg,da9055-pmic";
  40. reg = <0x5a>;
  41. interrupt-parent = <&intc>;
  42. interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
  43. interrupt-controller;
  44. #interrupt-cells = <1>;
  45. regulators {
  46. buck1: BUCK1 {
  47. regulator-min-microvolt = <725000>;
  48. regulator-max-microvolt = <2075000>;
  49. };
  50. buck2: BUCK2 {
  51. regulator-min-microvolt = <925000>;
  52. regulator-max-microvolt = <2500000>;
  53. };
  54. ldo1: LDO1 {
  55. regulator-min-microvolt = <900000>;
  56. regulator-max-microvolt = <3300000>;
  57. };
  58. };
  59. };