]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: brcmstb: Add control of rescal reset
authorJim Quinlan <jquinlan@broadcom.com>
Fri, 11 Sep 2020 17:52:26 +0000 (13:52 -0400)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 2 Oct 2020 11:40:24 +0000 (12:40 +0100)
commit9bc89cdb54ab844de9ac20912d99809286ad73c6
treece6f3a11ac1b9090e96429c9d9379a7e3852f3db
parent27dc0f19654a086c070194b9745761b5397e9909
PCI: brcmstb: Add control of rescal reset

Some STB chips have a special purpose reset controller named RESCAL (reset
calibration).  The PCIe HW can now control RESCAL to start and stop its
operation.  On probe(), the RESCAL is deasserted and the driver goes
through the sequence of setting registers and reading status in order to
start the internal PHY that is required for the PCIe.

Link: https://lore.kernel.org/r/20200911175232.19016-7-james.quinlan@broadcom.com
Signed-off-by: Jim Quinlan <jquinlan@broadcom.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/pci/controller/pcie-brcmstb.c