Platform: i.MX8MP
SW:Linux 5.4.70.2.3.0
On current linux BSP, PCIE driver does not support Hot-plug, customers wants to turn off PCIE device to save power, attached is guide.
- Remove PCIE device driver
- Suspend PCIE driver
- Turn off PCIE device power supply
- Turn on PCIE device power supply
- Resume PCIE driver
- Rescan PCIE device
- Load PCIE device driver