Part Number: AM3352
Hi,
I would like to know, if we can call two separate functions for reboot and poweroff from a platform driver, like leds-gpio.c
Because, as far as I understand, reboot is triggering poweroff internally. Hence, I felt that there is no differentiation between reboot and poweroff at the platform driver level.
Is that true ?
Or can we differentiate between poweroff and reboot ?
Use case,
I would like to keep a GPIO as is (do not make it LOW explicitly), when reboot command is issued,
but, make it LOW when poweroff command is issued.
