Back to home page

OSCL-LXR

 
 

    


0001 Device-Tree bindings for Active-semi ACT8945A MFD driver
0002 
0003 Required properties:
0004  - compatible: "active-semi,act8945a".
0005  - reg: the I2C slave address for the ACT8945A chip
0006 
0007 The chip exposes two subdevices:
0008  - a regulators: see ../regulator/act8945a-regulator.txt
0009  - a charger: see ../power/act8945a-charger.txt
0010 
0011 Example:
0012         pmic@5b {
0013                 compatible = "active-semi,act8945a";
0014                 reg = <0x5b>;
0015 
0016                 active-semi,vsel-high;
0017 
0018                 regulators {
0019                         vdd_1v35_reg: REG_DCDC1 {
0020                                 regulator-name = "VDD_1V35";
0021                                 regulator-min-microvolt = <1350000>;
0022                                 regulator-max-microvolt = <1350000>;
0023                                 regulator-always-on;
0024                         };
0025 
0026                         vdd_1v2_reg: REG_DCDC2 {
0027                                 regulator-name = "VDD_1V2";
0028                                 regulator-min-microvolt = <1100000>;
0029                                 regulator-max-microvolt = <1300000>;
0030                                 regulator-always-on;
0031                         };
0032 
0033                         vdd_3v3_reg: REG_DCDC3 {
0034                                 regulator-name = "VDD_3V3";
0035                                 regulator-min-microvolt = <3300000>;
0036                                 regulator-max-microvolt = <3300000>;
0037                                 regulator-always-on;
0038                         };
0039 
0040                         vdd_fuse_reg: REG_LDO1 {
0041                                 regulator-name = "VDD_FUSE";
0042                                 regulator-min-microvolt = <2500000>;
0043                                 regulator-max-microvolt = <2500000>;
0044                                 regulator-always-on;
0045                         };
0046 
0047                         vdd_3v3_lp_reg: REG_LDO2 {
0048                                 regulator-name = "VDD_3V3_LP";
0049                                 regulator-min-microvolt = <3300000>;
0050                                 regulator-max-microvolt = <3300000>;
0051                                 regulator-always-on;
0052                         };
0053 
0054                         vdd_led_reg: REG_LDO3 {
0055                                 regulator-name = "VDD_LED";
0056                                 regulator-min-microvolt = <3300000>;
0057                                 regulator-max-microvolt = <3300000>;
0058                                 regulator-always-on;
0059                         };
0060 
0061                         vdd_sdhc_1v8_reg: REG_LDO4 {
0062                                 regulator-name = "VDD_SDHC_1V8";
0063                                 regulator-min-microvolt = <1800000>;
0064                                 regulator-max-microvolt = <1800000>;
0065                                 regulator-always-on;
0066                         };
0067                 };
0068 
0069                 charger {
0070                         compatible = "active-semi,act8945a-charger";
0071                         pinctrl-names = "default";
0072                         pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
0073                         interrupt-parent = <&pioA>;
0074                         interrupts = <45 IRQ_TYPE_LEVEL_LOW>;
0075 
0076                         active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
0077                         active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>;
0078                         active-semi,input-voltage-threshold-microvolt = <6600>;
0079                         active-semi,precondition-timeout = <40>;
0080                         active-semi,total-timeout = <3>;
0081                 };
0082         };