You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
phy: HiSilicon: Add driver for Kirin 970 PCIe PHY
The Kirin 970 PHY is somewhat similar to the Kirin 960, but it does a lot more. Add the needed bits for PCIe to start working on HiKey 970 boards. Co-developed-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/b7a4ff41b57d861b003f1a00cae81f3d226fbe18.1632814194.git.mchehab+huawei@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
committed by
Vinod Koul
parent
9b870e8c04
commit
73075011ff
@@ -33,6 +33,16 @@ config PHY_HI3670_USB
|
||||
|
||||
To compile this driver as a module, choose M here.
|
||||
|
||||
config PHY_HI3670_PCIE
|
||||
tristate "hi3670 PCIe PHY support"
|
||||
depends on (ARCH_HISI && ARM64) || COMPILE_TEST
|
||||
select GENERIC_PHY
|
||||
select MFD_SYSCON
|
||||
help
|
||||
Enable this to support the HiSilicon hi3670 PCIe PHY.
|
||||
|
||||
To compile this driver as a module, choose M here.
|
||||
|
||||
config PHY_HISTB_COMBPHY
|
||||
tristate "HiSilicon STB SoCs COMBPHY support"
|
||||
depends on (ARCH_HISI && ARM64) || COMPILE_TEST
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
obj-$(CONFIG_PHY_HI6220_USB) += phy-hi6220-usb.o
|
||||
obj-$(CONFIG_PHY_HI3660_USB) += phy-hi3660-usb3.o
|
||||
obj-$(CONFIG_PHY_HI3670_USB) += phy-hi3670-usb3.o
|
||||
obj-$(CONFIG_PHY_HI3670_PCIE) += phy-hi3670-pcie.o
|
||||
obj-$(CONFIG_PHY_HISTB_COMBPHY) += phy-histb-combphy.o
|
||||
obj-$(CONFIG_PHY_HISI_INNO_USB2) += phy-hisi-inno-usb2.o
|
||||
obj-$(CONFIG_PHY_HIX5HD2_SATA) += phy-hix5hd2-sata.o
|
||||
|
||||
845
drivers/phy/hisilicon/phy-hi3670-pcie.c
Normal file
845
drivers/phy/hisilicon/phy-hi3670-pcie.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user