-
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-linus-v4.9' of git://git.kernel.org/pub/scm/linu…
…x/kernel/git/groeck/linux-staging Pull hwmon updates from Guenter Roeck: - New hwmon registration API, including ports of several drivers to the new API - New hwmon driver for APM X-Gene SoC - Added support for UCD90160, DPS-460, DPS-800, and SGD009 PMBUs chips - Various cleanups, minor improvements, and fixes in several drivers * tag 'hwmon-for-linus-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (54 commits) hwmon: (nct6775) Add support for multiple virtual temperature sources hwmon: (adt7470) No need for additional synchronization on kthread_stop() hwmon: (lm95241) Update module description to include LM95231 hwmon: (lm95245) Select REGMAP_I2C hwmon: (ibmpowernv) Fix label for cores numbers not threads hwmon: (adt7470) Allow faster removal hwmon: (adt7470) Add write support to alarm_mask hwmon: (xgene) access mailbox as RAM hwmon: (lm95245) Use new hwmon registration API hwmon: (lm95241) Convert to use new hwmon registration API hwmon: (jc42) Convert to use new hwmon registration API hwmon: (max31790) Convert to use new hwmon registration API hwmon: (nct7904) Convert to use new hwmon registration API hwmon: (ltc4245) Convert to use new hwmon registration API hwmon: (tmp421) Convert to use new hwmon registration API hwmon: (tmp102) Convert to use new hwmon registration API hwmon: (lm90) Convert to use new hwmon registration API hwmon: (lm75) Convert to use new hwmon registration API hwmon: (xgene) Fix crash when alarm occurs before driver probe hwmon: (iio_hwmon) defer probe when no channel is found ...
- Loading branch information
Showing
36 changed files
with
4,620 additions
and
2,156 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,18 @@ | ||
LTC4151 High Voltage I2C Current and Voltage Monitor | ||
|
||
Required properties: | ||
- compatible: Must be "lltc,ltc4151" | ||
- reg: I2C address | ||
|
||
Optional properties: | ||
- shunt-resistor-micro-ohms | ||
Shunt resistor value in micro-Ohms | ||
Defaults to <1000> if unset. | ||
|
||
Example: | ||
|
||
ltc4151@6e { | ||
compatible = "lltc,ltc4151"; | ||
reg = <0x6e>; | ||
shunt-resistor-micro-ohms = <1500>; | ||
}; |
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,28 @@ | ||
Bindings for MAX6651 and MAX6650 I2C fan controllers | ||
|
||
Reference: | ||
[1] https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf | ||
|
||
Required properties: | ||
- compatible : One of "maxim,max6650" or "maxim,max6651" | ||
- reg : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48. | ||
|
||
Optional properties, default is to retain the chip's current setting: | ||
- maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or | ||
12000000 uV. | ||
- maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values | ||
allow more fine-grained control of slower fans. | ||
Valid: 1, 2, 4, 8, 16. | ||
- maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the | ||
driver selects closed-loop mode and the requested speed. | ||
This ensures the fan is already running before userspace | ||
takes over. | ||
|
||
Example: | ||
fan-max6650: max6650@1b { | ||
reg = <0x1b>; | ||
compatible = "maxim,max6650"; | ||
maxim,fan-microvolt = <12000000>; | ||
maxim,fan-prescale = <4>; | ||
maxim,fan-target-rpm = <1200>; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Kernel driver xgene-hwmon | ||
======================== | ||
|
||
Supported chips: | ||
* APM X-Gene SoC | ||
|
||
Description | ||
----------- | ||
|
||
This driver adds hardware temperature and power reading support for | ||
APM X-Gene SoC using the mailbox communication interface. | ||
For device tree, it is the standard DT mailbox. | ||
For ACPI, it is the PCC mailbox. | ||
|
||
The following sensors are supported | ||
|
||
* Temperature | ||
- SoC on-die temperature in milli-degree C | ||
- Alarm when high/over temperature occurs | ||
* Power | ||
- CPU power in uW | ||
- IO power in uW | ||
|
||
sysfs-Interface | ||
--------------- | ||
|
||
temp0_input - SoC on-die temperature (milli-degree C) | ||
temp0_critical_alarm - An 1 would indicates on-die temperature exceeded threshold | ||
power0_input - CPU power in (uW) | ||
power1_input - IO power in (uW) |
Oops, something went wrong.