From: 张晴 Date: Wed, 14 May 2014 08:59:02 +0000 (+0800) Subject: rk3288:pmic:act8846:modify vsel pin level X-Git-Tag: firefly_0821_release~5277 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=74e7271062c5e296901ed1b191680a259f79da5a;p=firefly-linux-kernel-4.4.55.git rk3288:pmic:act8846:modify vsel pin level --- diff --git a/arch/arm/boot/dts/rk3288-tb.dts b/arch/arm/boot/dts/rk3288-tb.dts old mode 100644 new mode 100755 index 754ced4b5ca5..e9f787f4605f --- a/arch/arm/boot/dts/rk3288-tb.dts +++ b/arch/arm/boot/dts/rk3288-tb.dts @@ -787,8 +787,8 @@ rockchip,power_type = ; ldo3_reg: regulator@6 { regulator-name= "act_ldo3"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; }; diff --git a/drivers/regulator/act8846.c b/drivers/regulator/act8846.c index badf442e32c2..15db2a2a71a6 100755 --- a/drivers/regulator/act8846.c +++ b/drivers/regulator/act8846.c @@ -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);