"Fossies" - the Fresh Open Source Software Archive

Member "linux-5.3.1/Documentation/devicetree/bindings/mfd/da9062.txt" (21 Sep 2019, 3153 Bytes) of package /linux/kernel/v5.3/linux-5.3.1.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

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