PCI: rockchip: Control vpcie0v9 for system PM
authorShawn Lin <shawn.lin@rock-chips.com>
Tue, 2 May 2017 07:31:23 +0000 (15:31 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 2 Jul 2017 23:45:54 +0000 (18:45 -0500)
commite47ced77837153bdc962bf6f988c5da51a438568
treec7e37c9b1d78e54bfc2dd4c21449e068490bdb4a
parent769b461fc0c0451bacf75826d5830fc07c5a57e4
PCI: rockchip: Control vpcie0v9 for system PM

vpcie0v9 is used for PHY, so we could disable it as we don't need PHY to
work then in S3 if folks assign it DT.  But we should note that there is a
side effect that we could not support beacon wakeup if we disable vpcie0v9
for aggressive power-saving.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Brian Norris <briannorris@chromium.org>
Cc: Jeffy Chen <jeffy.chen@rock-chips.com>
drivers/pci/host/pcie-rockchip.c