Back to home page

OSCL-LXR

 
 

    


0001 * Dialog DA9062 Power Management Integrated Circuit (PMIC)
0002 
0003 Product information for the DA9062 and DA9061 devices can be found here:
0004 - https://www.dialog-semiconductor.com/products/da9062
0005 - https://www.dialog-semiconductor.com/products/da9061
0006 
0007 The DA9062 PMIC consists of:
0008 
0009 Device                   Supply Names    Description
0010 ------                   ------------    -----------
0011 da9062-regulator        :               : LDOs & BUCKs
0012 da9062-rtc              :               : Real-Time Clock
0013 da9062-onkey            :               : On Key
0014 da9062-watchdog         :               : Watchdog Timer
0015 da9062-thermal          :               : Thermal
0016 da9062-gpio             :               : GPIOs
0017 
0018 The DA9061 PMIC consists of:
0019 
0020 Device                   Supply Names    Description
0021 ------                   ------------    -----------
0022 da9062-regulator        :               : LDOs & BUCKs
0023 da9062-onkey            :               : On Key
0024 da9062-watchdog         :               : Watchdog Timer
0025 da9062-thermal          :               : Thermal
0026 
0027 ======
0028 
0029 Required properties:
0030 
0031 - compatible : Should be
0032     "dlg,da9062" for DA9062
0033     "dlg,da9061" for DA9061
0034 - reg : Specifies the I2C slave address (this defaults to 0x58 but it can be
0035   modified to match the chip's OTP settings).
0036 - interrupts : IRQ line information.
0037 - interrupt-controller
0038 
0039 See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
0040 further information on IRQ bindings.
0041 
0042 Optional properties:
0043 
0044 - gpio-controller : Marks the device as a gpio controller.
0045 - #gpio-cells     : Should be two. The first cell is the pin number and the
0046                     second cell is used to specify the gpio polarity.
0047 
0048 See Documentation/devicetree/bindings/gpio/gpio.txt for further information on
0049 GPIO bindings.
0050 
0051 Sub-nodes:
0052 
0053 - regulators : This node defines the settings for the LDOs and BUCKs.
0054   The DA9062 regulators are bound using their names listed below:
0055 
0056     buck1    : BUCK_1
0057     buck2    : BUCK_2
0058     buck3    : BUCK_3
0059     buck4    : BUCK_4
0060     ldo1     : LDO_1
0061     ldo2     : LDO_2
0062     ldo3     : LDO_3
0063     ldo4     : LDO_4
0064 
0065   The DA9061 regulators are bound using their names listed below:
0066 
0067     buck1    : BUCK_1
0068     buck2    : BUCK_2
0069     buck3    : BUCK_3
0070     ldo1     : LDO_1
0071     ldo2     : LDO_2
0072     ldo3     : LDO_3
0073     ldo4     : LDO_4
0074 
0075   The component follows the standard regulator framework and the bindings
0076   details of individual regulator device can be found in:
0077   Documentation/devicetree/bindings/regulator/regulator.txt
0078 
0079   regulator-initial-mode may be specified for buck regulators using mode values
0080   from include/dt-bindings/regulator/dlg,da9063-regulator.h.
0081 
0082 - rtc : This node defines settings required for the Real-Time Clock associated
0083   with the DA9062. There are currently no entries in this binding, however
0084   compatible = "dlg,da9062-rtc" should be added if a node is created.
0085 
0086 - onkey : See ../input/da9062-onkey.txt
0087 
0088 - watchdog: See ../watchdog/da9062-watchdog.txt
0089 
0090 - thermal : See ../thermal/da9062-thermal.txt
0091 
0092 Example:
0093 
0094         pmic0: da9062@58 {
0095                 compatible = "dlg,da9062";
0096                 reg = <0x58>;
0097                 interrupt-parent = <&gpio6>;
0098                 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
0099                 interrupt-controller;
0100 
0101                 rtc {
0102                         compatible = "dlg,da9062-rtc";
0103                 };
0104 
0105                 regulators {
0106                         DA9062_BUCK1: buck1 {
0107                                 regulator-name = "BUCK1";
0108                                 regulator-min-microvolt = <300000>;
0109                                 regulator-max-microvolt = <1570000>;
0110                                 regulator-min-microamp = <500000>;
0111                                 regulator-max-microamp = <2000000>;
0112                                 regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
0113                                 regulator-boot-on;
0114                         };
0115                         DA9062_LDO1: ldo1 {
0116                                 regulator-name = "LDO_1";
0117                                 regulator-min-microvolt = <900000>;
0118                                 regulator-max-microvolt = <3600000>;
0119                                 regulator-boot-on;
0120                         };
0121                 };
0122         };
0123