Hi,
Are there any recommended approaches to maintain GPIO output state during suspend on i.MX91 (either hardware or software-assisted)?
-->You can choose an external D-type latch or a buffer with a hold function, such as the 74HC/HCT373, 74HC595, or SN74LVC1G373. Furthermore, this latch must be powered by the AON(Always On) power domain(NVCC_AON). AON domain will not lose power when suspended.
Is it possible to keep specific GPIO banks or pad domains powered during suspend to avoid losing output state?
-->The NVCC_GPIO is not closed during suspend, but the internal PAD driver is closed. I checked the GPC registers and found that there are no dedicated bits for the GPIOs, so it is not possible to prevent the PAD driver from being powered down by modifying the GPC logic.
Are there any low-power modes where GPIO output drivers remain active?
-->The i.MX91 does not have a pad retention mechanism similar to that of the i.MX8ULP's FSGPIO/HSGPIO.
Are there any reference designs, application notes, or best practices for handling this type of requirement on i.MX91?
-->Currently, NXP does not offer a similar reference design, but implementing an external latch should not be too difficult.
Best Regards,
Zhiming