Dear All
We did implement a what we called "powerhold" configuration , where a gpio ( namely ETK_D5 gpio 19) is used to keep the power to the board.
We implemented a 2nd gpio to a button in parallel to become our "Power Button".
Now the goal is : The user presses the power button then the board turns on and boots ti-x-loader -> u-boot.
Now during u-boot i configured my powerhold gpio (ETK_D5- gpio 19) as PTU .. so after that the power is holding the board stays powered.
Now when the linux kernel gets loaded , this pin is supposed to stay high until i can run my board code and make sure it stays high for the rest of the session.
Unfortunately that power hold gpio gets low after the kernel fires up and the user has to stay pressed on the power button until my board code comes by and reconfigures it high again.
I double checked many times if any board code or driver touches my gpio 19 ETK_D5 but couldnt find anything. I even took out my gpio board code .. but no luck.
Could it be that the cpu when fired by the linux kernel resets all pins to low generally ? if yes , how could i prevent that and leave a pin high if it was high during u-boot.
Thanks in advance for any hints or help
Regards Rob