From 74e7271062c5e296901ed1b191680a259f79da5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BC=A0=E6=99=B4?= Date: Wed, 14 May 2014 16:59:02 +0800 Subject: [PATCH] rk3288:pmic:act8846:modify vsel pin level --- arch/arm/boot/dts/rk3288-tb.dts | 4 ++-- drivers/regulator/act8846.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 arch/arm/boot/dts/rk3288-tb.dts 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); -- 2.34.1