^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Dialog DA9062 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) Product information for the DA9062 and DA9061 devices can be found here:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - https://www.dialog-semiconductor.com/products/da9062
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - https://www.dialog-semiconductor.com/products/da9061
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) The DA9062 PMIC consists of:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Device Supply Names Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) ------ ------------ -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) da9062-regulator : : LDOs & BUCKs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) da9062-rtc : : Real-Time Clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) da9062-onkey : : On Key
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) da9062-watchdog : : Watchdog Timer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) da9062-thermal : : Thermal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) da9062-gpio : : GPIOs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) The DA9061 PMIC consists of:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Device Supply Names Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) ------ ------------ -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) da9062-regulator : : LDOs & BUCKs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) da9062-onkey : : On Key
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) da9062-watchdog : : Watchdog Timer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) da9062-thermal : : Thermal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) ======
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) - compatible : Should be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) "dlg,da9062" for DA9062
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) "dlg,da9061" for DA9061
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) - reg : Specifies the I2C slave address (this defaults to 0x58 but it can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) modified to match the chip's OTP settings).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) - interrupts : IRQ line information.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) - interrupt-controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) further information on IRQ bindings.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) - gpio-controller : Marks the device as a gpio controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) - #gpio-cells : Should be two. The first cell is the pin number and the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) second cell is used to specify the gpio polarity.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) See Documentation/devicetree/bindings/gpio/gpio.txt for further information on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) GPIO bindings.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Sub-nodes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) - regulators : This node defines the settings for the LDOs and BUCKs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) The DA9062 regulators are bound using their names listed below:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) buck1 : BUCK_1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) buck2 : BUCK_2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) buck3 : BUCK_3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) buck4 : BUCK_4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) ldo1 : LDO_1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) ldo2 : LDO_2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) ldo3 : LDO_3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) ldo4 : LDO_4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) The DA9061 regulators are bound using their names listed below:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) buck1 : BUCK_1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) buck2 : BUCK_2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) buck3 : BUCK_3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) ldo1 : LDO_1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) ldo2 : LDO_2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) ldo3 : LDO_3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) ldo4 : LDO_4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) The component follows the standard regulator framework and the bindings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) details of individual regulator device can be found in:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) Documentation/devicetree/bindings/regulator/regulator.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) regulator-initial-mode may be specified for buck regulators using mode values
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) from include/dt-bindings/regulator/dlg,da9063-regulator.h.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) - rtc : This node defines settings required for the Real-Time Clock associated
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) with the DA9062. There are currently no entries in this binding, however
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) compatible = "dlg,da9062-rtc" should be added if a node is created.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) - onkey : See ../input/da9062-onkey.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) - watchdog: See ../watchdog/da9062-watchdog.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) - thermal : See ../thermal/da9062-thermal.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) pmic0: da9062@58 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) compatible = "dlg,da9062";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) reg = <0x58>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) interrupt-parent = <&gpio6>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) interrupt-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) rtc {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) compatible = "dlg,da9062-rtc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) DA9062_BUCK1: buck1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) regulator-name = "BUCK1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) regulator-min-microvolt = <300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) regulator-max-microvolt = <1570000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) regulator-min-microamp = <500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) regulator-max-microamp = <2000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) DA9062_LDO1: ldo1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) regulator-name = "LDO_1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) regulator-min-microvolt = <900000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) regulator-max-microvolt = <3600000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123)