hello,
we are using the IMX6ull Processor and used with our device and we want to add the power/reset switch to the device.
we are using yocto image dunfell.
so for graceful shutdown we have used the command "shutdown -h now"
after the successful execution all peripherals and interfaces are disabled but however the GPIO still hold it's state,
1. is there any way to shutdown and also clear the GPIOs after executing shutdown ?
2. if yes, how we can do so ?