|
Posted at 12/13/2017 16:22:16
2#
Thank you for helping me.
I did patch all codes.But it's still not working.
[ 1.581575] rk818_ldo8: disabling
[ 1.582497] rk818_ldo4: disabling
the CIF connector uses these ldo8and4 for camera power?
So, it must have the ldo power? am I right?
What's that mean, the reverse rule, reset?
I used it the following code for resetting changing the LOW and HIGH, all cases
But it didn't work.
if(ov5640_io == 1){
rst = of_get_named_gpio_flags(cp, "tchip,rst", 0, &rst_flags);
gpio_request(rst, "tchip,rst");
printk("rst = %d\n", rst);
gpio_direction_output(rst,GPIO_LOW); //GPIO_HIGH
msleep(20);
gpio_direction_output(rst,GPIO_HIGH); //GPIO_LOW
ov5640_io = 2;
}
Thank you |
|