OSDN Git Service

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)
commit740d6c3708a9325a9ae86aee61c666847be27b36
treece6f3a11ac1b9090e96429c9d9379a7e3852f3db
parent04356ac30771091f60e0a45d91bd8027d45c2427
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