diff options
author | Michael Walle <michael@walle.cc> | 2022-06-22 16:17:16 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-23 20:55:18 -0700 |
commit | 09ce6b20103b57e4d24b2b57b5f46a6968c1f281 (patch) | |
tree | 45fc072f784b0e8357bee407b93bbfbdbf253468 /drivers/net/phy/Kconfig | |
parent | 5dc4868440be87e5f09e669574f586e1f5228c27 (diff) | |
download | lwn-09ce6b20103b57e4d24b2b57b5f46a6968c1f281.tar.gz lwn-09ce6b20103b57e4d24b2b57b5f46a6968c1f281.zip |
net: phy: mxl-gpy: add temperature sensor
The GPY115 and GPY2xx PHYs contain an integrated temperature sensor. It
accuracy is +/- 5°C. Add support for it.
Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220622141716.3517645-1-michael@walle.cc
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r-- | drivers/net/phy/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 4bb231013009..c57a0262fb64 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -221,6 +221,8 @@ config MARVELL_88X2222_PHY config MAXLINEAR_GPHY tristate "Maxlinear Ethernet PHYs" + select POLYNOMIAL if HWMON + depends on HWMON || HWMON=n help Support for the Maxlinear GPY115, GPY211, GPY212, GPY215, GPY241, GPY245 PHYs. |