da9063.txt 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. * Dialog DA9063/DA9063L 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 (DA9063 only)
  8. da9063-watchdog : : Watchdog
  9. ======
  10. Required properties:
  11. - compatible : Should be "dlg,da9063" or "dlg,da9063l"
  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. - interrupts : IRQ line information.
  15. - interrupt-controller
  16. Sub-nodes:
  17. - regulators : This node defines the settings for the LDOs and BUCKs.
  18. The DA9063(L) regulators are bound using their names listed below:
  19. bcore1 : BUCK CORE1
  20. bcore2 : BUCK CORE2
  21. bpro : BUCK PRO
  22. bmem : BUCK MEM
  23. bio : BUCK IO
  24. bperi : BUCK PERI
  25. ldo1 : LDO_1 (DA9063 only)
  26. ldo2 : LDO_2 (DA9063 only)
  27. ldo3 : LDO_3
  28. ldo4 : LDO_4 (DA9063 only)
  29. ldo5 : LDO_5 (DA9063 only)
  30. ldo6 : LDO_6 (DA9063 only)
  31. ldo7 : LDO_7
  32. ldo8 : LDO_8
  33. ldo9 : LDO_9
  34. ldo10 : LDO_10 (DA9063 only)
  35. ldo11 : LDO_11
  36. The component follows the standard regulator framework and the bindings
  37. details of individual regulator device can be found in:
  38. Documentation/devicetree/bindings/regulator/regulator.txt
  39. - rtc : This node defines settings for the Real-Time Clock associated with
  40. the DA9063 only. The RTC is not present in DA9063L. There are currently
  41. no entries in this binding, however compatible = "dlg,da9063-rtc" should
  42. be added if a node is created.
  43. - onkey : This node defines the OnKey settings for controlling the key
  44. functionality of the device. The node should contain the compatible property
  45. with the value "dlg,da9063-onkey".
  46. Optional onkey properties:
  47. - dlg,disable-key-power : Disable power-down using a long key-press. If this
  48. entry exists the OnKey driver will remove support for the KEY_POWER key
  49. press. If this entry does not exist then by default the key-press
  50. triggered power down is enabled and the OnKey will support both KEY_POWER
  51. and KEY_SLEEP.
  52. - watchdog : This node defines settings for the Watchdog timer associated
  53. with the DA9063 and DA9063L. There are currently no entries in this
  54. binding, however compatible = "dlg,da9063-watchdog" should be added
  55. 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. };