diff options
author | Robin Gong <yibin.gong@nxp.com> | 2019-10-23 00:03:35 +0800 |
---|---|---|
committer | Robin Gong <yibin.gong@nxp.com> | 2019-11-29 04:23:43 +0800 |
commit | 919ef6d1304164d2ab17be11a8d04a609a4ade05 (patch) | |
tree | b843002fcf88211e270199a817d93935bfb2f629 /Documentation/devicetree/bindings/mfd | |
parent | c286e88c7107cc461757025ac01822b3d40ba5f2 (diff) |
MLK-22824-1: mfd: pca9450: add pca9450 mfd driver
Add new pmic pca9450 driver for i.mx8mn-evk board.
Signed-off-by: John Lee <john.lee@nxp.com>
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
(cherry picked from commit 2189979539bb9817d3d8bf0f5489f906d86e673f)
Diffstat (limited to 'Documentation/devicetree/bindings/mfd')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/nxp,pca9450.txt | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/nxp,pca9450.txt b/Documentation/devicetree/bindings/mfd/nxp,pca9450.txt new file mode 100644 index 000000000000..f296c7d2e6ad --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/nxp,pca9450.txt @@ -0,0 +1,51 @@ +* NXP PCA9450 Power Management Integrated Circuit (PMIC) bindings + +Required properties: + - compatible : Should be "nxp,pca9450". + - reg : I2C slave address. + - pinctrl-0 : Pinctrl setting for pmic such as interrupt pin. + - gpio_intr : gpio pin used for interrupt pin. + - regulators: : List of child nodes that specify the regulator + initialization data. Including 6 buck regulators + and 5 ldo regulators. + +Example: + pmic: pca9450@25 { + reg = <0x25>; + compatible = "nxp,pca9450"; + /* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */ + pinctrl-0 = <&pinctrl_pmic>; + gpio_intr = <&gpio1 3 GPIO_ACTIVE_LOW>; + + regulators { + #address-cells = <1>; + #size-cells = <0>; + + pca9450,pmic-buck2-uses-i2c-dvs; + /* Run/Standby voltage */ + pca9450,pmic-buck2-dvs-voltage = <950000>, <850000>; + + buck1_reg: regulator@0 { + reg = <0>; + regulator-compatible = "buck1"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + }; + + buck2_reg: regulator@1 { + reg = <1>; + regulator-compatible = "buck2"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + }; + + ..... + + }; + }; |