]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited248a7699e8ef10c500c46cbecaf9f8ebbcbf71
tree9cb2f1cb7332d2da33a3e1ec17bc2f4677e445ac
parentdee38c99c18e7268fa4ee04e4be70b7df80dfe13
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