PCI: rockchip: Add three new resets as required properties
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 10 Nov 2016 17:14:37 +0000 (11:14 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Nov 2016 17:14:37 +0000 (11:14 -0600)
commit31a3a7b5b26f75fbe82de10ca99f2b673f6c26b4
tree9cb2f1cb7332d2da33a3e1ec17bc2f4677e445ac
parent16d917b130d782b94fa02afc7bdf0d4aae689da4
PCI: rockchip: Add three new resets as required properties

pm_rst, aclk_rst, pclk_rst was controlled by ROM code so the software
wasn't needed to control it again in theory.  But it didn't work properly,
so we do need to do it again and add enough delay between the assert of
pm_rst and the deassert of pm_rst.  The Soc intergrated with this
controller, rk3399, is still under MP test internally, so the backward
compatibility won't be a big deal.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/rockchip-pcie.txt
drivers/pci/host/pcie-rockchip.c