]> 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)
commit5dd6ebf1d5b1b0b20aa042afae82a170899de236
tree9cb2f1cb7332d2da33a3e1ec17bc2f4677e445ac
parentd236fffae5240275279705f057d3f7bf00b8390e
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