]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit58c6990c5ee772c2551193f053e51a52b9984b49
treeecc9cd0e50a207947cb3ee59aef6f0cc838e7308
parent277743ef616defc870d101f9cf9d3488aba1c1b6
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