summaryrefslogtreecommitdiff
path: root/drivers/net/phy/realtek/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/realtek/Kconfig')
-rw-r--r--drivers/net/phy/realtek/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/phy/realtek/Kconfig b/drivers/net/phy/realtek/Kconfig
new file mode 100644
index 000000000000..b05c2a1e9024
--- /dev/null
+++ b/drivers/net/phy/realtek/Kconfig
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config REALTEK_PHY
+ tristate "Realtek PHYs"
+ help
+ Currently supports RTL821x/RTL822x and fast ethernet PHYs
+
+if REALTEK_PHY
+
+config REALTEK_PHY_HWMON
+ bool "HWMON support for Realtek PHYs"
+ depends on HWMON && !(REALTEK_PHY=y && HWMON=m)
+ help
+ Optional hwmon support for the temperature sensor
+
+endif # REALTEK_PHY