2022-09-20 10:01:48 +00:00
|
|
|
From 89f71ebb355c624320c2b0ace8ae9488ff53cbeb Mon Sep 17 00:00:00 2001
|
|
|
|
From: Birger Koblitz <mail@birger-koblitz.de>
|
|
|
|
Date: Tue, 5 Jan 2021 20:40:52 +0100
|
|
|
|
Subject: PHY: Add realtek PHY
|
|
|
|
|
|
|
|
This fixes the build problems for the REALTEK target by adding a proper
|
|
|
|
configuration option for the phy module.
|
|
|
|
|
|
|
|
Submitted-by: Birger Koblitz <mail@birger-koblitz.de>
|
|
|
|
---
|
|
|
|
drivers/net/phy/Kconfig | 6 ++++++
|
|
|
|
drivers/net/phy/Makefile | 1 +
|
|
|
|
2 files changed, 7 insertions(+)
|
|
|
|
|
2021-05-05 00:32:27 +00:00
|
|
|
--- a/drivers/net/phy/Kconfig
|
|
|
|
+++ b/drivers/net/phy/Kconfig
|
2022-02-11 12:06:23 +00:00
|
|
|
@@ -330,6 +330,12 @@ config REALTEK_PHY
|
2021-05-05 05:02:49 +00:00
|
|
|
help
|
2021-05-05 00:32:27 +00:00
|
|
|
Supports the Realtek 821x PHY.
|
|
|
|
|
|
|
|
+config REALTEK_SOC_PHY
|
|
|
|
+ tristate "Realtek SoC PHYs"
|
2021-12-29 20:54:21 +00:00
|
|
|
+ depends on RTL83XX
|
2021-05-05 05:18:43 +00:00
|
|
|
+ help
|
2021-05-05 00:32:27 +00:00
|
|
|
+ Supports the PHYs found in combination with Realtek Switch SoCs
|
|
|
|
+
|
|
|
|
config RENESAS_PHY
|
2021-05-05 05:02:49 +00:00
|
|
|
tristate "Renesas PHYs"
|
|
|
|
help
|
2021-05-05 00:32:27 +00:00
|
|
|
--- a/drivers/net/phy/Makefile
|
|
|
|
+++ b/drivers/net/phy/Makefile
|
2022-06-06 11:05:18 +00:00
|
|
|
@@ -89,6 +89,7 @@ obj-$(CONFIG_NATIONAL_PHY) += national.o
|
2021-05-05 00:32:27 +00:00
|
|
|
obj-$(CONFIG_NXP_TJA11XX_PHY) += nxp-tja11xx.o
|
|
|
|
obj-$(CONFIG_QSEMI_PHY) += qsemi.o
|
|
|
|
obj-$(CONFIG_REALTEK_PHY) += realtek.o
|
|
|
|
+obj-$(CONFIG_REALTEK_SOC_PHY) += rtl83xx-phy.o
|
|
|
|
obj-$(CONFIG_RENESAS_PHY) += uPD60620.o
|
|
|
|
obj-$(CONFIG_ROCKCHIP_PHY) += rockchip.o
|
|
|
|
obj-$(CONFIG_SMSC_PHY) += smsc.o
|