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