- 21 5月, 2018 2 次提交
-
-
由 Tom Levens 提交于
Updated version of the ltc2990 driver which supports all measurement modes (current, voltage, temperature) available in the chip. If devicetree is used, the mode must be specified with the property "lltc,meas-mode". The format and possible values of the property are described in the binding. If devicetree is not used, the mode of the chip will not be configured. Unless the chip is configured by another source, only the internal temperature and supply voltage will be measured. Signed-off-by: NTom Levens <tom.levens@cern.ch> Tested-By: mike.looijmans@topic.nl [groeck: Fixed compiler warning] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Lucas Magasweran 提交于
hwmon_device_register_with_info() registration API requires a non-NULL parent device when chip is non-NULL. This commit adds a check and documents this requirement. Signed-off-by: NLucas Magasweran <lucas.magasweran@ieee.org> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 23 3月, 2018 3 次提交
-
-
由 Alvaro G. M 提交于
Since autodetection of this chip was removed, it makes sense to add prefix max6635 so that the device can be instantiated by its actual name. Signed-off-by: NAlvaro Gamez Machado <alvaro.gamez@hazent.com> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Guenter Roeck 提交于
The chip is quite similar to other chips in the series, but as usual it comes with its own quirks. Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Alvaro G. M 提交于
Maxim MAX663x family are mostly compatible with LM92, but they lack any identification register. Weakening the detect function would make it prone to false positives, and current one doesn't detect all chips. Therefore, the detect function for max6635 devices is removed in favor of explicit device instatiation. Signed-off-by: NAlvaro Gamez Machado <alvaro.gamez@hazent.com> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 11 3月, 2018 3 次提交
-
-
由 Guenter Roeck 提交于
NCT6796D is mostly compatible to NCT6795D. It supports an additional pwm control and fan speed channel. While we are at it, update documentation for NCT6795D. Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Danilo Bargen 提交于
The previously used URL is dead. Sensirion provides permalinks for their product datasheets at https://www.sensirion.com/en/about-us/links/. Signed-off-by: NDanilo Bargen <mail@dbrgn.ch> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Danilo Bargen 提交于
The previously used URLs are dead. Sensirion provides permalinks for their product datasheets at https://www.sensirion.com/en/about-us/links/. Signed-off-by: NDanilo Bargen <mail@dbrgn.ch> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 03 1月, 2018 4 次提交
-
-
由 Andrew Jeffery 提交于
The dual tachometer feature is implemented in hardware with a TACHSEL input to indicate the rotor under measurement, and exposed on the device by extending the READ_FAN_SPEED_1 word with two extra bytes*. The need to read the non-standard four-byte response leads to a cut-down implementation of i2c_smbus_xfer_emulated() included in the driver. Further, to expose the second rotor tachometer value to userspace the values are exposed through virtual pages. We re-route accesses to FAN_CONFIG_1_2 and READ_FAN_SPEED_1 on pages 23-28 (not defined by the hardware) to the same registers on pages 0-5, and with the latter command we extract the value from the second word of the four-byte response. * The documentation recommends the slower rotor be associated with TACHSEL=0, which corresponds to the first word of the response. The TACHSEL=0 measurement is used by the controller's closed-loop fan management to judge target fan rate. Signed-off-by: NAndrew Jeffery <andrew@aj.id.au> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Andrew Jeffery 提交于
The implementation makes use of the new fan control virtual registers exposed by the pmbus core. It mixes use of the default implementations with some overrides via the read/write handlers to handle FAN_COMMAND_1 on the MAX31785, whose definition breaks the value range into various control bands dependent on RPM or PWM mode. Signed-off-by: NAndrew Jeffery <andrew@aj.id.au> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Guenter Roeck 提交于
LM25063 was never released. Drop support for it. Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Lei YU 提交于
Add documentation for the w83773g driver. Signed-off-by: NLei YU <mine260309@gmail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 05 11月, 2017 1 次提交
-
-
由 Andrew Jeffery 提交于
The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan management with temperature and remote voltage sensing. It supports various fan control features, including PWM frequency control, temperature hysteresis, dual tachometer measurements, and fan health monitoring. This patch presents a basic driver using only the existing features of the PMBus subsystem. Signed-off-by: NAndrew Jeffery <andrew@aj.id.au> [groeck: Modified description to clarify that fan control is not yet provided] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 30 10月, 2017 1 次提交
-
-
由 Linus Walleij 提交于
After finding out there are active users of this sensor I noticed: - It has a single PXA27x board file using the platform data - The platform data is only used to carry two GPIO pins, all other fields are unused - The driver does not use GPIO descriptors but the legacy GPIO API I saw we can swiftly fix this by: - Killing off the platform data entirely - Define a GPIO descriptor lookup table in the board file - Use the standard devm_gpiod_get() to grab the GPIO descriptors from either the device tree or the board file table. This compiles, but needs testing. Cc: arm@kernel.org Cc: Marco Franchi <marco.franchi@nxp.com> Cc: Davide Hug <d@videhug.ch> Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Acked-by: NArnd Bergmann <arnd@arndb.de> Tested-by: NMarco Franchi <marco.franchi@nxp.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 30 8月, 2017 2 次提交
-
-
由 Xo Wang 提交于
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: NXo Wang <xow@google.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Edward A. James 提交于
Signed-off-by: NEdward A. James <eajames@us.ibm.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 13 8月, 2017 1 次提交
-
-
由 Thilo Cestonaro 提交于
sysfs store functions should return the number of bytes written. Returning zero results in an endless loop. Fixes: 08426eda ("hwmon: Add driver for FTS BMC chip "Teutates"") Signed-off-by: NThilo Cestonaro <thilo.cestonaro@ts.fujitsu.com> [groeck: Clean up documentation change and description] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 12 6月, 2017 6 次提交
-
-
由 Wolfram Sang 提交于
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: NWolfram Sang <wsa@the-dreams.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Wolfram Sang 提交于
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: NWolfram Sang <wsa@the-dreams.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Wolfram Sang 提交于
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: NWolfram Sang <wsa@the-dreams.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Chris Packham 提交于
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: NChris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Chris Packham 提交于
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: NChris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Samuel Mendoza-Jonas 提交于
IR35221 is a Digital DC-DC Multiphase Converter Signed-off-by: NSamuel Mendoza-Jonas <sam@mendozajonas.com> [groeck: Preserve alphabetic order in Kconfig; add missing break statements (from Dan Carpenter); add missing error checks] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 11 4月, 2017 1 次提交
-
-
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: NJaghathiswari Rankappagounder Natarajan <jaghu@google.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 02 4月, 2017 1 次提交
-
-
由 Chris Packham 提交于
Signed-off-by: NChris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 25 1月, 2017 1 次提交
-
-
由 Guenter Roeck 提交于
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: NJean Delvare <jdelvare@suse.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 22 1月, 2017 1 次提交
-
-
由 Florian Fainelli 提交于
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: NFlorian Fainelli <f.fainelli@gmail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 05 1月, 2017 1 次提交
-
-
由 Colin Ian King 提交于
Signed-off-by: NColin Ian King <colin.king@canonical.com> Acked-by: NGuenter Roeck <linux@roeck-us.net> Signed-off-by: NJonathan Corbet <corbet@lwn.net>
-
- 03 1月, 2017 1 次提交
-
-
由 Peter A. Bigot 提交于
Expose the per-chip unique identifier so it can be used to identify the sensor producing the measurements. Signed-off-by: NPeter A. Bigot <pab@pabigot.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 10 12月, 2016 4 次提交
-
-
由 John Muir 提交于
Add support for the TI TMP108 temperature sensor with some device configuration parameters. Signed-off-by: NJohn Muir <john@jmuir.com> [groeck: Initialize of_match_table] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 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: NGuenter Roeck <linux@roeck-us.net>
-
由 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: NGuenter Roeck <linux@roeck-us.net>
-
由 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: NGuenter Roeck <linux@roeck-us.net>
-
- 03 12月, 2016 1 次提交
-
-
由 Chris Packham 提交于
Add support for the tc654 and tc655 fan controllers from Microchip. http://ww1.microchip.com/downloads/en/DeviceDoc/20001734C.pdfSigned-off-by: NChris Packham <chris.packham@alliedtelesis.co.nz> Acked-by: NRob Herring <robh@kernel.org> [groeck: Fixed continuation line alignments] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 24 10月, 2016 1 次提交
-
-
由 Mauro Carvalho Chehab 提交于
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: NMauro Carvalho Chehab <mchehab@s-opensource.com>
-
- 09 9月, 2016 5 次提交
-
-
由 Mike Looijmans 提交于
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: NMike Looijmans <mike.looijmans@topic.nl> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Matt Weber 提交于
The UCD90160 Power Supply Sequencer reuses the existing register layout, so just an id addition was required. Signed-off-by: NMatthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: NRonak Desai <ronak.desai@rockwellcollins.com> [groeck: Updated description, ordered alphabetically, added documentation] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 hotran 提交于
This patch adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. Signed-off-by: NHoan Tran <hotran@apm.com> Reviewed-by: NGuenter Roeck <linux@roeck-us.net> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Joshua Scott 提交于
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: NJoshua Scott <joshua.scott@alliedtelesis.co.nz> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Guenter Roeck 提交于
Add basic pwm attribute support (no auto attributes) to new API. Reviewed-by: NJonathan Cameron <jic23@kernel.org> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-