-
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' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/groeck/linux-staging Pull hwmon update from Guenter Roeck: - New drivers for NCT6775, NCT6776, NCT6779, and LM95234. - Added support for LTC2974, LTC3883, LM25056, TMP431, TMP432, ADT7310, and ADT7320 to existing drivers. - Various code cleanups and minor improvements. * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (54 commits) hwmon: (nct6775) Fix coding style problems hwmon: (nct6775) Constify strings hwmon: (tmp401) Add support for TMP432 hwmon: (tmp401) Add support for update_interval attribute hwmon: (tmp401) Reset valid flag when resetting temperature history hwmon: (tmp401) Simplification and cleanup hwmon: (tmp401) Use sysfs_create_group / sysfs_remove_group hwmon: (tmp401) Drop unused defines, use BIT for bit masks hwmon: (nct6775) Use ARRAY_SIZE for loops where possible documentation: hwmon: Fix typo in documentation/hwmon hwmon: (nct6775) Enable both AUXTIN and VIN3 on NCT6776 hwmon: (ad7314) use spi_get_drvdata() and spi_set_drvdata() MAINTAINERS: Add myself as maintainer for the NCT6775 driver hwmon: (nct6775) Expand scope of supported chips hwmon: (gpio-fan) Use is_visible to determine if attributes should be created hwmon: (tmp401) Fix device detection for TMP411B and TMP411C hwmon: Add driver for LM95234 hwmon: (tmp401) Add support for TMP431 hwmon: (pmbus/lm25066) Add support for LM25056 hwmon: (pmbus/lm25066) Refactor device specific coefficients ...
- Loading branch information
Showing
77 changed files
with
7,862 additions
and
1,793 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
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,29 @@ | ||
NTC Thermistor hwmon sensors | ||
------------------------------- | ||
|
||
Requires node properties: | ||
- "compatible" value : one of | ||
"ntc,ncp15wb473" | ||
"ntc,ncp18wb473" | ||
"ntc,ncp21wb473" | ||
"ntc,ncp03wb473" | ||
"ntc,ncp15wl333" | ||
- "pullup-uv" Pull up voltage in micro volts | ||
- "pullup-ohm" Pull up resistor value in ohms | ||
- "pulldown-ohm" Pull down resistor value in ohms | ||
- "connected-positive" Always ON, If not specified. | ||
Status change is possible. | ||
- "io-channels" Channel node of ADC to be used for | ||
conversion. | ||
|
||
Read more about iio bindings at | ||
Documentation/devicetree/bindings/iio/iio-bindings.txt | ||
|
||
Example: | ||
ncp15wb473@0 { | ||
compatible = "ntc,ncp15wb473"; | ||
pullup-uv = <1800000>; | ||
pullup-ohm = <47000>; | ||
pulldown-ohm = <0>; | ||
io-channels = <&adc 3>; | ||
}; |
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,36 @@ | ||
Kernel driver lm95234 | ||
===================== | ||
|
||
Supported chips: | ||
* National Semiconductor / Texas Instruments LM95234 | ||
Addresses scanned: I2C 0x18, 0x4d, 0x4e | ||
Datasheet: Publicly available at the Texas Instruments website | ||
http://www.ti.com/product/lm95234 | ||
|
||
|
||
Author: Guenter Roeck <linux@roeck-us.net> | ||
|
||
Description | ||
----------- | ||
|
||
LM95234 is an 11-bit digital temperature sensor with a 2-wire System Management | ||
Bus (SMBus) interface and TrueTherm technology that can very accurately monitor | ||
the temperature of four remote diodes as well as its own temperature. | ||
The four remote diodes can be external devices such as microprocessors, | ||
graphics processors or diode-connected 2N3904s. The LM95234's TruTherm | ||
beta compensation technology allows sensing of 90 nm or 65 nm process | ||
thermal diodes accurately. | ||
|
||
All temperature values are given in millidegrees Celsius. Temperature | ||
is provided within a range of -127 to +255 degrees (+127.875 degrees for | ||
the internal sensor). Resolution depends on temperature input and range. | ||
|
||
Each sensor has its own maximum limit, but the hysteresis is common to all | ||
channels. The hysteresis is configurable with the tem1_max_hyst attribute and | ||
affects the hysteresis on all channels. The first two external sensors also | ||
have a critical limit. | ||
|
||
The lm95234 driver can change its update interval to a fixed set of values. | ||
It will round up to the next selectable interval. See the datasheet for exact | ||
values. Reading sensor values more often will do no harm, but will return | ||
'old' values. |
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.