regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
- regulator-state-uv = <3300000>;
+ regulator-state-uv = <1000000>;
};
};
ricoh619_ldo8_reg: regulator@12 {
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
- regulator-state-uv = <3300000>;
+ regulator-state-uv = <1800000>;
};
};
ricoh619_ldo9_reg: regulator@13 {
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
- regulator-state-uv = <3300000>;
+ regulator-state-uv = <1000000>;
};
};
ricoh619_ldo10_reg: regulator@14 {
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
- regulator-state-uv = <3300000>;
+ regulator-state-uv = <1800000>;
};
};
ricoh619_ldortc1_reg: regulator@15 {
}
else{
do{
+ ret = ricoh619_write(ricoh619->dev, 0xff, 0x00);
ret = ricoh619_read(ricoh619->dev, 0x36, &control);
i += 1;
printk(KERN_INFO "##################:read ricoh619 0x36 error retry %08x %d\n",control,ret);
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/regmap.h>
+#include <asm/system_misc.h>
#if 0
#define DBG(x...) printk(KERN_INFO x)
#if 1
if (act8846->pmic_hold_gpio) {
gpio_direction_output(act8846->pmic_hold_gpio,0);
+ arm_pm_restart('h', "charge");
}
+
#else
ret = act8846_reg_read(act8846,0xc3);
ret = act8846_set_bits(act8846, 0xc3,(0x1<<3),(0x1<<3));