-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmon: add Texas Instruments TPS23861 driver
Add basic monitoring support as well as port on/off control for Texas Instruments TPS23861 PoE PSE IC. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20210121134434.2782405-2-robert.marko@sartura.hr Signed-off-by: Guenter Roeck <linux@roeck-us.net>
- Loading branch information
Robert Marko
authored and
Guenter Roeck
committed
Feb 12, 2021
1 parent
f02e897
commit fff7b8a
Showing
5 changed files
with
655 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.. SPDX-License-Identifier: GPL-2.0-only | ||
Kernel driver tps23861 | ||
====================== | ||
|
||
Supported chips: | ||
* Texas Instruments TPS23861 | ||
|
||
Prefix: 'tps23861' | ||
|
||
Datasheet: https://www.ti.com/lit/gpn/tps23861 | ||
|
||
Author: Robert Marko <robert.marko@sartura.hr> | ||
|
||
Description | ||
----------- | ||
|
||
This driver supports hardware monitoring for Texas Instruments TPS23861 PoE PSE. | ||
|
||
TPS23861 is a quad port IEEE802.3at PSE controller with optional I2C control | ||
and monitoring capabilities. | ||
|
||
TPS23861 offers three modes of operation: Auto, Semi-Auto and Manual. | ||
|
||
This driver only supports the Auto mode of operation providing monitoring | ||
as well as enabling/disabling the four ports. | ||
|
||
Sysfs entries | ||
------------- | ||
|
||
======================= ===================================================================== | ||
in[0-3]_input Voltage on ports [1-4] | ||
in[0-3]_label "Port[1-4]" | ||
in4_input IC input voltage | ||
in4_label "Input" | ||
temp1_input IC die temperature | ||
temp1_label "Die" | ||
curr[1-4]_input Current on ports [1-4] | ||
in[1-4]_label "Port[1-4]" | ||
in[0-3]_enable Enable/disable ports [1-4] | ||
======================= ===================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.