-
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.
Merge tag 'hwmon-for-v5.3' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/groeck/linux-staging Pull hwmon updates from Guenter Roeck: - New drivers for Infineon PXE1610 and IRPS5401 - Minor improvements, cleanup, and fixes in several drivers * tag 'hwmon-for-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (33 commits) hwmon: (ina3221) Add of_node_put() before return hwmon: (gpio-fan) fix sysfs notifications and udev events for gpio-fan alarms hwmon: (gpio-fan) move fan_alarm_init after devm_hwmon_device_register_with_groups hwmon: (lm90) Introduce function to update configuration register hwmon: (lm90) Cache configuration register value hwmon: (lm90) Fix max6658 sporadic wrong temperature reading hwmon: (nct7904) Changes comments in probe function. hwmon: (nct7904) Add error handling in probe function. hwmon: Convert remaining drivers to use SPDX identifier hwmon: (max6650) Fix unused variable warning hwmon: (pmbus/adm1275) Fix power sampling support hwmon: (lm90) simplify getting the adapter of a client hwmon: (asus_atk0110) no need to check return value of debugfs_create functions hwmon: (max6650) Fix minor formatting issues hwmon: (max6650) Improve error handling in max6650_update_device hwmon: (max6650) Read non-volatile registers only once hwmon: (max6650) Convert to use devm_hwmon_device_register_with_info hwmon: (max6650) Simplify alarm handling hwmon: (max6650) Cache alarm_en register hwmon: (max6650) Declare valid as boolean ...
- Loading branch information
Showing
18 changed files
with
954 additions
and
457 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
Kernel driver pxe1610 | ||
===================== | ||
|
||
Supported chips: | ||
* Infineon PXE1610 | ||
Prefix: 'pxe1610' | ||
Addresses scanned: - | ||
Datasheet: Datasheet is not publicly available. | ||
|
||
* Infineon PXE1110 | ||
Prefix: 'pxe1110' | ||
Addresses scanned: - | ||
Datasheet: Datasheet is not publicly available. | ||
|
||
* Infineon PXM1310 | ||
Prefix: 'pxm1310' | ||
Addresses scanned: - | ||
Datasheet: Datasheet is not publicly available. | ||
|
||
Author: Vijay Khemka <vijaykhemka@fb.com> | ||
|
||
|
||
Description | ||
----------- | ||
|
||
PXE1610/PXE1110 are Multi-rail/Multiphase Digital Controllers | ||
and compliant to | ||
-- Intel VR13 DC-DC converter specifications. | ||
-- Intel SVID protocol. | ||
Used for Vcore power regulation for Intel VR13 based microprocessors | ||
-- Servers, Workstations, and High-end desktops | ||
|
||
PXM1310 is a Multi-rail Controller and it is compliant to | ||
-- Intel VR13 DC-DC converter specifications. | ||
-- Intel SVID protocol. | ||
Used for DDR3/DDR4 Memory power regulation for Intel VR13 and | ||
IMVP8 based systems | ||
|
||
|
||
Usage Notes | ||
----------- | ||
|
||
This driver does not probe for PMBus devices. You will have | ||
to instantiate devices explicitly. | ||
|
||
Example: the following commands will load the driver for an PXE1610 | ||
at address 0x70 on I2C bus #4: | ||
|
||
# modprobe pxe1610 | ||
# echo pxe1610 0x70 > /sys/bus/i2c/devices/i2c-4/new_device | ||
|
||
It can also be instantiated by declaring in device tree | ||
|
||
|
||
Sysfs attributes | ||
---------------- | ||
|
||
curr1_label "iin" | ||
curr1_input Measured input current | ||
curr1_alarm Current high alarm | ||
|
||
curr[2-4]_label "iout[1-3]" | ||
curr[2-4]_input Measured output current | ||
curr[2-4]_crit Critical maximum current | ||
curr[2-4]_crit_alarm Current critical high alarm | ||
|
||
in1_label "vin" | ||
in1_input Measured input voltage | ||
in1_crit Critical maximum input voltage | ||
in1_crit_alarm Input voltage critical high alarm | ||
|
||
in[2-4]_label "vout[1-3]" | ||
in[2-4]_input Measured output voltage | ||
in[2-4]_lcrit Critical minimum output voltage | ||
in[2-4]_lcrit_alarm Output voltage critical low alarm | ||
in[2-4]_crit Critical maximum output voltage | ||
in[2-4]_crit_alarm Output voltage critical high alarm | ||
|
||
power1_label "pin" | ||
power1_input Measured input power | ||
power1_alarm Input power high alarm | ||
|
||
power[2-4]_label "pout[1-3]" | ||
power[2-4]_input Measured output power | ||
|
||
temp[1-3]_input Measured temperature | ||
temp[1-3]_crit Critical high temperature | ||
temp[1-3]_crit_alarm Chip temperature critical high alarm | ||
temp[1-3]_max Maximum temperature | ||
temp[1-3]_max_alarm Chip temperature high alarm |
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
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
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.