da9063.txt 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. * Dialog DA9063 Power Management Integrated Circuit (PMIC)
  2. DA9093 consists of a large and varied group of sub-devices (I2C Only):
  3. Device Supply Names Description
  4. ------ ------------ -----------
  5. da9063-regulator : : LDOs & BUCKs
  6. da9063-onkey : : On Key
  7. da9063-rtc : : Real-Time Clock
  8. da9063-watchdog : : Watchdog
  9. ======
  10. Required properties:
  11. - compatible : Should be "dlg,da9063"
  12. - reg : Specifies the I2C slave address (this defaults to 0x58 but it can be
  13. modified to match the chip's OTP settings).
  14. - interrupt-parent : Specifies the reference to the interrupt controller for
  15. the DA9063.
  16. - interrupts : IRQ line information.
  17. - interrupt-controller
  18. Sub-nodes:
  19. - regulators : This node defines the settings for the LDOs and BUCKs. The
  20. DA9063 regulators are bound using their names listed below:
  21. bcore1 : BUCK CORE1
  22. bcore2 : BUCK CORE2
  23. bpro : BUCK PRO
  24. bmem : BUCK MEM
  25. bio : BUCK IO
  26. bperi : BUCK PERI
  27. ldo1 : LDO_1
  28. ldo2 : LDO_2
  29. ldo3 : LDO_3
  30. ldo4 : LDO_4
  31. ldo5 : LDO_5
  32. ldo6 : LDO_6
  33. ldo7 : LDO_7
  34. ldo8 : LDO_8
  35. ldo9 : LDO_9
  36. ldo10 : LDO_10
  37. ldo11 : LDO_11
  38. The component follows the standard regulator framework and the bindings
  39. details of individual regulator device can be found in:
  40. Documentation/devicetree/bindings/regulator/regulator.txt
  41. - rtc : This node defines settings for the Real-Time Clock associated with
  42. the DA9063. There are currently no entries in this binding, however
  43. compatible = "dlg,da9063-rtc" should be added if a node is created.
  44. - onkey : This node defines the OnKey settings for controlling the key
  45. functionality of the device. The node should contain the compatible property
  46. with the value "dlg,da9063-onkey".
  47. Optional onkey properties:
  48. - dlg,disable-key-power : Disable power-down using a long key-press. If this
  49. entry exists the OnKey driver will remove support for the KEY_POWER key
  50. press. If this entry does not exist then by default the key-press
  51. triggered power down is enabled and the OnKey will support both KEY_POWER
  52. and KEY_SLEEP.
  53. - watchdog : This node defines settings for the Watchdog timer associated
  54. with the DA9063. There are currently no entries in this binding, however
  55. compatible = "dlg,da9063-watchdog" should be added if a node is created.
  56. Example:
  57. pmic0: da9063@58 {
  58. compatible = "dlg,da9063"
  59. reg = <0x58>;
  60. interrupt-parent = <&gpio6>;
  61. interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
  62. interrupt-controller;
  63. rtc {
  64. compatible = "dlg,da9063-rtc";
  65. };
  66. wdt {
  67. compatible = "dlg,da9063-watchdog";
  68. };
  69. onkey {
  70. compatible = "dlg,da9063-onkey";
  71. dlg,disable-key-power;
  72. };
  73. regulators {
  74. DA9063_BCORE1: bcore1 {
  75. regulator-name = "BCORE1";
  76. regulator-min-microvolt = <300000>;
  77. regulator-max-microvolt = <1570000>;
  78. regulator-min-microamp = <500000>;
  79. regulator-max-microamp = <2000000>;
  80. regulator-boot-on;
  81. };
  82. DA9063_LDO11: ldo11 {
  83. regulator-name = "LDO_11";
  84. regulator-min-microvolt = <900000>;
  85. regulator-max-microvolt = <3600000>;
  86. regulator-boot-on;
  87. };
  88. };
  89. };