]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: rockchip: Improve the deassert sequence of four reset pins
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 23 Sep 2016 02:05:59 +0000 (10:05 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 4 Oct 2016 17:18:25 +0000 (12:18 -0500)
commit2685db186081aa7e095ba8e56e35eb61cf34c6e0
treeecc9cd0e50a207947cb3ee59aef6f0cc838e7308
parenta6e4498ac0420dc6268661ce3734c7877b05309d
PCI: rockchip: Improve the deassert sequence of four reset pins

Per TRM, we need to deassert the four reset pins simultaneously.  Currently
the reset framework doesn't support that so we did it one by one.  It seems
no side effect found but it does impact the state machine of controller, so
sometimes the change speed bit is not set when sending training sequence
from recover state.  After the silicon RTL review from SoC guys, we don't
need to do the sequence recommended by TRM, and could just move the
deassert of mgmt_sticky_rst to the first place.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-rockchip.c