mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-24 11:58:18 +00:00

This adds hwmon support for the temperature sensor on RTL822x. It's available on the standalone versions of the PHY's, and on the integrated PHY's in RTL8125B/RTL8125D/RTL8126. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/ad6bfe9f-6375-4a00-84b4-bfb38a21bd71@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
11 lines
176 B
C
11 lines
176 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef REALTEK_H
|
|
#define REALTEK_H
|
|
|
|
#include <linux/phy.h>
|
|
|
|
int rtl822x_hwmon_init(struct phy_device *phydev);
|
|
|
|
#endif /* REALTEK_H */
|