Power-cycle PCIe

I have a usb-hub attached to my PCIe slot on AGX, I would like to power-cycle the PCIe slot to have a power off method for my peripherals plugged into the hub. I could find any documentation on how to do this, or even if the feature exists. Any ideas?

Hi,

AGX doesn’t support hot plug and unplug. If you want to have power off slot regulators then you need completely unbind Tegra PCIe driver for that particular controller instance.

cd /sys/bus/platform/drivers/tegra-pcie-dw
echo 141a0000.pcie > unbind #To unbind EP client driver, power down PCIe controller and power off slot regulators

echo 141a0000.pcie > bind #To power on slot regulators, power up PCIe controller and bind EP client driver.

Thanks,
Manikanta

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.