Skip to content

Commit d7d2818

Browse files
LorenzoBianconivinodkoul
authored andcommitted
phy: airoha: Add PCIe PHY driver for EN7581 SoC.
Introduce support for Airoha PCIe PHY controller available in EN7581 SoC. Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Tested-by: Zhengping Zhang <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Link: https://lore.kernel.org/r/20ac99aa8628d97778594f606681db7f868f24fe.1718485860.git.lorenzo@kernel.org Signed-off-by: Vinod Koul <[email protected]>
1 parent e2d0317 commit d7d2818

File tree

5 files changed

+1744
-0
lines changed

5 files changed

+1744
-0
lines changed

MAINTAINERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,14 @@ S: Supported
682682
F: fs/aio.c
683683
F: include/linux/*aio*.h
684684

685+
AIROHA PCIE PHY DRIVER
686+
M: Lorenzo Bianconi <[email protected]>
687+
L: [email protected] (moderated for non-subscribers)
688+
S: Maintained
689+
F: Documentation/devicetree/bindings/phy/airoha,en7581-pcie-phy.yaml
690+
F: drivers/phy/phy-airoha-pcie-regs.h
691+
F: drivers/phy/phy-airoha-pcie.c
692+
685693
AIROHA SPI SNFI DRIVER
686694
M: Lorenzo Bianconi <[email protected]>
687695
M: Ray Liu <[email protected]>

drivers/phy/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ config PHY_CAN_TRANSCEIVER
7272
functional modes using gpios and sets the attribute max link
7373
rate, for CAN drivers.
7474

75+
config PHY_AIROHA_PCIE
76+
tristate "Airoha PCIe-PHY Driver"
77+
depends on ARCH_AIROHA || COMPILE_TEST
78+
depends on OF
79+
select GENERIC_PHY
80+
help
81+
Say Y here to add support for Airoha PCIe PHY driver.
82+
This driver create the basic PHY instance and provides initialize
83+
callback for PCIe GEN3 port.
84+
7585
source "drivers/phy/allwinner/Kconfig"
7686
source "drivers/phy/amlogic/Kconfig"
7787
source "drivers/phy/broadcom/Kconfig"

drivers/phy/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ obj-$(CONFIG_PHY_LPC18XX_USB_OTG) += phy-lpc18xx-usb-otg.o
1010
obj-$(CONFIG_PHY_XGENE) += phy-xgene.o
1111
obj-$(CONFIG_PHY_PISTACHIO_USB) += phy-pistachio-usb.o
1212
obj-$(CONFIG_USB_LGM_PHY) += phy-lgm-usb.o
13+
obj-$(CONFIG_PHY_AIROHA_PCIE) += phy-airoha-pcie.o
1314
obj-y += allwinner/ \
1415
amlogic/ \
1516
broadcom/ \

0 commit comments

Comments
 (0)