]> 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)
commit43278832a1b766dab6d86653595b07de6b84faec
treeecc9cd0e50a207947cb3ee59aef6f0cc838e7308
parentc12c9133f170bed33bf574ed5c94678b3aeb01ce
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