Skip to content

Commit 601d062

Browse files
Bartosz Golaszewskivinodkoul
authored andcommitted
phy: qcom: add the SGMII SerDes PHY driver
Implement support for the SGMII/SerDes PHY present on various Qualcomm platforms. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Link: https://lore.kernel.org/r/20230619091336.194914-4-brgl@bgdev.pl Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 97b7951 commit 601d062

3 files changed

Lines changed: 461 additions & 0 deletions

File tree

drivers/phy/qualcomm/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,12 @@ config PHY_QCOM_IPQ806X_USB
188188
This option enables support for the Synopsis PHYs present inside the
189189
Qualcomm USB3.0 DWC3 controller on ipq806x SoC. This driver supports
190190
both HS and SS PHY controllers.
191+
192+
config PHY_QCOM_SGMII_ETH
193+
tristate "Qualcomm DWMAC SGMII SerDes/PHY driver"
194+
depends on OF && (ARCH_QCOM || COMPILE_TEST)
195+
depends on HAS_IOMEM
196+
select GENERIC_PHY
197+
help
198+
Enable this to support the internal SerDes/SGMII PHY on various
199+
Qualcomm chipsets.

drivers/phy/qualcomm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ obj-$(CONFIG_PHY_QCOM_USB_HS_28NM) += phy-qcom-usb-hs-28nm.o
2121
obj-$(CONFIG_PHY_QCOM_USB_SS) += phy-qcom-usb-ss.o
2222
obj-$(CONFIG_PHY_QCOM_USB_SNPS_FEMTO_V2)+= phy-qcom-snps-femto-v2.o
2323
obj-$(CONFIG_PHY_QCOM_IPQ806X_USB) += phy-qcom-ipq806x-usb.o
24+
obj-$(CONFIG_PHY_QCOM_SGMII_ETH) += phy-qcom-sgmii-eth.o

0 commit comments

Comments
 (0)