]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: kirin: Add support for a PHY layer
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 21 Oct 2021 10:45:09 +0000 (11:45 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Nov 2021 15:43:37 +0000 (10:43 -0500)
commitebaa08eb260a90eea564ee23759e976841d236b2
tree1fd7aa9d3644929c2e4ee8db3513fec91f0ab108
parent4e1a19e91fc8db0537e9459aeee8c39612c0ac21
PCI: kirin: Add support for a PHY layer

The pcie-kirin driver contains both PHY and generic PCI driver.

The best would be, instead, to support a PCI PHY driver, making the driver
more generic.

However, it is too late to remove the Kirin 960 PHY, as a change like that
would make the DT schema incompatible with past versions.

So, add support for an external PHY driver without removing the existing
Kirin 960 PHY from it.

Link: https://lore.kernel.org/r/f38361df2e9d0dc5a38ff942b631f7fef64cdc12.1634812676.git.mchehab+huawei@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Xiaowei Song <songxiaowei@hisilicon.com>
drivers/pci/controller/dwc/pcie-kirin.c