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