Tool/software: Linux
I had issues creating a new thread, apparently DRA726 is no longer a valid part number according to this site.
I have a small issue with a GPIO and would need some help on this. We have a co-processor which looks at a GPIO and if it is off will turn the power on if the line has gone from high to low and the ignition is turned on. On power up it ignores the status of the ignition and turns on the power for the PMIC either way. When Linux shuts down the GPIO should normally go down. I have a pulldown on the GPIO. On some boards the GPIO stays high until we touch the line with a probe (scope or multimeter).
I use a LED setting for the GPIO, is there a way to have a GPIO entry in the devicetree without using the LED mode? I would like to change my power down with first bringing the line down and the issuing a shutdown. The co-processor can have a small delay to allow me to do a clean shutdown. Once it sees the line goes down it brings the control line low and then tri-state before going to stop mode. Doing so before the linux shutdown would keep from having a clean shutdown.
I am hoping that bringing that line down before the shutdown would fix things up. I won't know until I try it out but with the GPIO as a LED I can't access it as a GPIO.
Is there a reason why the default state of the LED is only done after the kernel is all loaded? anyway to turn the GPIO on early on? The programmer of the co-processor tells me that it takes about 10 seconds before he can see the line going high.
Michel Catudal
ACTIA Corp