Hi All,
I'm working on am335x based custom designed board.
I have requirement to retain the GPIO pin state while booting kernel which is set in u-boot.
Currently i'm able to drive an GPIO3_19(115) to output high in u-boot. This GPIO pin enable battery power supply, which drives the further booting process of board if i disconnect main power supply cable.
The problem i'm facing here is, When the u-boot loads kernel and handover the execution control to kernel, as soon as kernel starts booting which will reset the GPIO state i.e it will pull down. so the board stops booting because battery power supply disconnects.
My requirement is once the GPIO 115 pin set as output high in u-boot it shouldn't alter at any cost while booting kernel.
Is there any way i can achieve this ? please suggest me if need to do any changes in u-boot or kernel
Regards,
Thiru N