04 Oct, 2018
1 commit
-
[ Upstream commit 3ad867001c91657c46dcf6656d52eb6080286fd5 ]
fix the sysfs shunt resistor read access: return the shunt resistor
value, not the calibration register contents.update email address
Signed-off-by: Lothar Felten
Signed-off-by: Guenter Roeck
Signed-off-by: Sasha Levin
Signed-off-by: Greg Kroah-Hartman
30 Aug, 2017
2 commits
-
The TI LM5066I hotswap controller is a more accurate version of the
LM5066 device already supported. It has different measurement conversion
coefficients than the LM5066, so it needs to be recognized as a
different device.Signed-off-by: Xo Wang
Signed-off-by: Guenter Roeck -
Signed-off-by: Edward A. James
Signed-off-by: Guenter Roeck
13 Aug, 2017
1 commit
-
sysfs store functions should return the number of bytes written.
Returning zero results in an endless loop.Fixes: 08426eda58e0 ("hwmon: Add driver for FTS BMC chip "Teutates"")
Signed-off-by: Thilo Cestonaro
[groeck: Clean up documentation change and description]
Signed-off-by: Guenter Roeck
12 Jun, 2017
6 commits
-
include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.Signed-off-by: Wolfram Sang
Signed-off-by: Guenter Roeck -
include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.Signed-off-by: Wolfram Sang
Signed-off-by: Guenter Roeck -
include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.Signed-off-by: Wolfram Sang
Signed-off-by: Guenter Roeck -
When enabled temperature smoothing allows ramping the fan speed over a
configurable period of time instead of jumping to the new speed
instantaneously.Signed-off-by: Chris Packham
Signed-off-by: Guenter Roeck -
By default adt7475 will stop the fans (pwm duty cycle 0%) when the
temperature drops past Tmin - hysteresis. Some systems want to keep the
fans moving even when the temperature drops so add new sysfs attributes
that configure the enhanced acoustics min 1-3 which allows the fans to
run at the minimum configure pwm duty cycle.Signed-off-by: Chris Packham
Signed-off-by: Guenter Roeck -
IR35221 is a Digital DC-DC Multiphase Converter
Signed-off-by: Samuel Mendoza-Jonas
[groeck: Preserve alphabetic order in Kconfig;
add missing break statements (from Dan Carpenter);
add missing error checks]
Signed-off-by: Guenter Roeck
11 Apr, 2017
1 commit
-
The ASPEED AST2400/2500 PWM controller supports 8 PWM output ports.
The ASPEED AST2400/2500 Fan tach controller supports 16 tachometer
inputs.
The device driver matches on the device tree node. The configuration
values are read from the device tree and written to the respective
registers.
The driver provides a sysfs entries through which the user can
configure the duty-cycle value (ranging from 0 to 100 percent) and read
the fan tach rpm value.Signed-off-by: Jaghathiswari Rankappagounder Natarajan
Signed-off-by: Guenter Roeck
02 Apr, 2017
1 commit
-
Signed-off-by: Chris Packham
Signed-off-by: Guenter Roeck
23 Feb, 2017
1 commit
-
Pull documentation updates from Jonathan Corbet:
"A slightly quieter cycle for documentation this time around.Three more DocBook template files have been converted to RST; only 21
to go. There are various build improvements and the usual array of
documentation improvements and fixes"* tag 'docs-4.11' of git://git.lwn.net/linux: (44 commits)
docs / driver-api: Fix structure references in device_link.rst
PM / docs: Fix structure references in device.rst
Add a target to check broken external links in the Documentation
Documentation: Fix linux-api list typo
Documentation: DocBook/Makefile comment typo
Improve sparse documentation
Documentation: make Makefile.sphinx no-ops quieter
Documentation: DMA-ISA-LPC.txt
Documentation: input: fix path to input code definitions
docs: Remove the copyright year from conf.py
docs: Fix a warning in the Korean HOWTO.rst translation
PM / sleep / docs: Convert PM notifiers document to reST
PM / core / docs: Convert sleep states API document to reST
PM / core: Update kerneldoc comments in pm.h
doc-rst: Fix recursive make invocation from macros
doc-rst: Delete output of failed dot-SVG conversion
doc-rst: Break shell command sequences on failure
Documentation/sphinx: make targets independent of Sphinx work for HAVE_SPHINX=0
doc-rst: fixed cleandoc target when used with O=dir
Documentation/sphinx: prevent generation of .pyc files in the source tree
...
25 Jan, 2017
1 commit
-
Clarify that the name attribute must report a valid name, and the rules
for valid names. Also clarify that the name parameter must be provided
for all supported API functions.Reviewed-by: Jean Delvare
Signed-off-by: Guenter Roeck
22 Jan, 2017
1 commit
-
Add support for Texas Instruments TMP122/124 which are nearly identical to
their TMP121/123 except that they also support programmable temperature
thresholds.Signed-off-by: Florian Fainelli
Signed-off-by: Guenter Roeck
05 Jan, 2017
1 commit
-
Signed-off-by: Colin Ian King
Acked-by: Guenter Roeck
Signed-off-by: Jonathan Corbet
03 Jan, 2017
1 commit
-
Expose the per-chip unique identifier so it can be used to identify the
sensor producing the measurements.Signed-off-by: Peter A. Bigot
Signed-off-by: Guenter Roeck
14 Dec, 2016
1 commit
-
…it/groeck/linux-staging
Pull hwmon updates from Guenter Roeck:
- new drivers for TMP108 and TC654
- hwmon core code cleanup
- coretemp driver cleanup
- fix overflow issues in several drivers
- minor fixes, cleanups and enhancements in various drivers
* tag 'hwmon-for-linus-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (41 commits)
hwmon: (g762) Fix overflows and crash seen when writing limit attributes
hwmon: (emcw201) Fix overflows seen when writing into limit attributes
hwmon: (emc2103) Fix overflows seen when temperature limit attributes
hwmon: (lm85) Fix overflows seen when writing voltage limit attributes
hwmon: (lm87) Fix overflow seen when writing voltage limit attributes
hwmon: (nct7802) Fix overflows seen when writing into limit attributes
hwmon: (adt7470) Fix overflows seen when writing into limit attributes
hwmon: (adt7462) Fix overflows seen when writing into limit attributes
hwmon: (adm1026) Fix overflows seen when writing into limit attributes
hwmon: (adm1025) Fix overflows seen when writing voltage limits
hwmon: (via-cputemp) Convert to hotplug state machine
devicetree: hwmon: Add documentation for TMP108 driver.
hwmon: Add Texas Instruments TMP108 temperature sensor driver.
hwmon: (core) Simplify sysfs attribute name allocation
hwmon: (core) Rename groups parameter in API to extra_groups
hwmon: (core) Explain why at least two attribute groups are allocated
hwmon: (core) Make is_visible callback truly mandatory
hwmon: (core) Deprecate hwmon_device_register()
hwmon: (core) Clarify use of chip attributes
hwmon: (core) Add support for string attributes to new API
...
10 Dec, 2016
4 commits
-
Add support for the TI TMP108 temperature sensor with some device
configuration parameters.Signed-off-by: John Muir
[groeck: Initialize of_match_table]
Signed-off-by: Guenter Roeck -
The 'groups' parameter of hwmon_device_register_with_info() and
devm_hwmon_device_register_with_info() is only necessary if extra
non-standard attributes need to be provided. Rename the parameter
to extra_groups and clarify the documentation.Signed-off-by: Guenter Roeck
-
Inform the user that hwmon_device_register() is deprecated,
and suggest conversion to the newest API. Also remove
hwmon_device_register() from the kernel API documentation.Note that hwmon_device_register() is not marked as __deprecated()
since doing so might result in build errors.Signed-off-by: Guenter Roeck
-
Describing chip attributes as "attributes which apply to the entire chip"
is confusing. Rephrase to "attributes which are not bound to a specific
input or output".Also rename hwmon_chip_attr_templates[] to hwmon_chip_attrs[] to indicate
that the respective strings strings are not templates but actual attribute
names.Signed-off-by: Guenter Roeck
03 Dec, 2016
1 commit
-
Add support for the tc654 and tc655 fan controllers from Microchip.
http://ww1.microchip.com/downloads/en/DeviceDoc/20001734C.pdf
Signed-off-by: Chris Packham
Acked-by: Rob Herring
[groeck: Fixed continuation line alignments]
Signed-off-by: Guenter Roeck
24 Oct, 2016
1 commit
-
The previous patch renamed several files that are cross-referenced
along the Kernel documentation. Adjust the links to point to
the right places.Signed-off-by: Mauro Carvalho Chehab
09 Sep, 2016
6 commits
-
The fan can be stopped by writing "3" to pwm1_enable in sysfs.
Add devicetree property for early initialization of the fan controller
to prevent overheating, for example when resetting the board while the
fan was completely turned off.Also improve error reporting, I2C failures were ignored while writing
new values.Signed-off-by: Mike Looijmans
Signed-off-by: Guenter Roeck -
The UCD90160 Power Supply Sequencer reuses the existing register layout,
so just an id addition was required.Signed-off-by: Matthew Weber
Signed-off-by: Ronak Desai
[groeck: Updated description, ordered alphabetically, added documentation]
Signed-off-by: Guenter Roeck -
This patch adds hardware temperature and power reading support for
APM X-Gene SoC using the mailbox communication interface.Signed-off-by: Hoan Tran
Reviewed-by: Guenter Roeck
Signed-off-by: Guenter Roeck -
The ADT7470 supports a variety of PWM frequencies. This patch allows the
frequency to be configured and viewed through the sysfs entry pwm1_freq.Signed-off-by: Joshua Scott
Signed-off-by: Guenter Roeck -
Add basic pwm attribute support (no auto attributes) to new API.
Reviewed-by: Jonathan Cameron
Signed-off-by: Guenter Roeck -
Describe the new registration API function as well as the data
structures it requires.Acked-by: Punit Agrawal
Reviewed-by: Jonathan Cameron
Signed-off-by: Guenter Roeck
12 Aug, 2016
1 commit
-
Signed-off-by: Thilo Cestonaro
Signed-off-by: Guenter Roeck
20 Jul, 2016
1 commit
-
This driver implements hardware monitoring and watchdog support
for the FTS BMC Chip "Teutates".Signed-off-by: Thilo Cestonaro
[groeck: Updated subject and description; fixed dependencies]
Signed-off-by: Guenter Roeck
16 Jul, 2016
1 commit
-
The enables control of the SHT31 sensors heating element that can turned
on to remove excess humidity.Cc: Guenter Roeck
Cc: David Frey
Signed-off-by: Matt Ranostay
Signed-off-by: Guenter Roeck
28 Jun, 2016
7 commits
-
MCP9808 is not officially compliant to JC-42, similar to MCP9804,
but its registers are compatible to JC-42.Signed-off-by: Alison Schofield
Cc: Daniel Baluta
Signed-off-by: Guenter Roeck -
Add more details to the guidelines for submitting patches.
Signed-off-by: Guenter Roeck
-
Add support for the the INA3221 26v capable, Triple channel,
Bi-Directional, Zero-Drift, Low-/High-Side, Current/Voltage Monitor
with I2C interface.Signed-off-by: Andrew F. Davis
Signed-off-by: Guenter Roeck -
Signed-off-by: Andrew F. Davis
Signed-off-by: Guenter Roeck -
This driver implements support for the Sensirion SHT3x-DIS chip,
a humidity and temperature sensor. Temperature is measured
in degrees celsius, relative humidity is expressed as a percentage.
In the sysfs interface, all values are scaled by 1000,
i.e. the value for 31.5 degrees celsius is 31500.Signed-off-by: Pascal Sachs
[groeck: Fixed 'Variable length array is used' gcc warning]
Signed-off-by: Guenter Roeck -
Signed-off-by: Andrea Gelmini
[groeck: Updated subject]
Signed-off-by: Guenter Roeck -
Signed-off-by: Andrea Gelmini
[groeck: Updated subject]
Signed-off-by: Guenter Roeck