rk3288:pmic:act8846:modify vsel pin level
author张晴 <zhangqing@rock-chips.com>
Wed, 14 May 2014 08:59:02 +0000 (16:59 +0800)
committer张晴 <zhangqing@rock-chips.com>
Wed, 14 May 2014 08:59:02 +0000 (16:59 +0800)
arch/arm/boot/dts/rk3288-tb.dts [changed mode: 0644->0755]
drivers/regulator/act8846.c

old mode 100644 (file)
new mode 100755 (executable)
index 754ced4..e9f787f
@@ -787,8 +787,8 @@ rockchip,power_type = <GPIO>;
 
                ldo3_reg: regulator@6 {
                        regulator-name= "act_ldo3";
-                       regulator-min-microvolt = <1800000>;
-                       regulator-max-microvolt = <1800000>;
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
                        
                };
 
index badf442e32c2ed46a3038a5ea55793a9b6b7ed68..15db2a2a71a6f507f3fcd5cf25225ad529f44957 100755 (executable)
@@ -937,7 +937,7 @@ static int act8846_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id
                                dev_err(act8846->dev,"Failed to request gpio %d with ret:""%d\n",       act8846->pmic_sleep_gpio, ret);
                                return IRQ_NONE;
                        }
-                       gpio_direction_output(act8846->pmic_sleep_gpio,0);
+                       gpio_direction_output(act8846->pmic_sleep_gpio,1);
                        ret = gpio_get_value(act8846->pmic_sleep_gpio);
                        gpio_free(act8846->pmic_sleep_gpio);
                        printk("%s: act8846_pmic_sleep=%x\n", __func__, ret);