]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: brcmstb: Don't conflate the reset rescal with PHY ctrl
authorJim Quinlan <james.quinlan@broadcom.com>
Thu, 15 Aug 2024 22:57:22 +0000 (18:57 -0400)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Wed, 4 Sep 2024 13:59:28 +0000 (13:59 +0000)
commite1c88956e200e225f2712de4b5e2be923cf559fc
treec7e4a8b896dc725afc59dee4e5de653fe02f3b53
parent0d8046037610dcf9e59ece73bf4bbcec1e6a878b
PCI: brcmstb: Don't conflate the reset rescal with PHY ctrl

Add a "has_phy" field indicating that the internal PHY has SW control
that requires configuration.  Some previous chips only required the
firing of the "rescal" reset controller.

This change requires us to give the 7216 SoC its own cfg_data structure.

Link: https://lore.kernel.org/linux-pci/20240815225731.40276-10-james.quinlan@broadcom.com
Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Stanimir Varbanov <svarbanov@suse.de>
drivers/pci/controller/pcie-brcmstb.c