- 21 5月, 2018 1 次提交
-
-
由 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>
-
- 14 5月, 2018 1 次提交
-
-
由 Guenter Roeck 提交于
The SMN (System Management Network) on Family 17h AMD CPUs is also accessed from other drivers, specifically EDAC. Accessing it directly is racy. On top of that, accessing the SMN through root bridge 00:00 is wrong on multi-die CPUs and may result in reading the temperature from the wrong die. Use available API functions to fix the problem. For this to work, add dependency on AMD_NB. Also change the Raven Ridge PCI device ID to point to Data Fabric Function 3, since this ID is used by the API functions to find the CPU node. Cc: stable@vger.kernel.org # v4.16+ Tested-by: NGabriel Craciunescu <nix.or.die@gmail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 11 3月, 2018 1 次提交
-
-
由 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>
-
- 01 3月, 2018 1 次提交
-
-
由 Sudeep Holla 提交于
Create a driver to add support for SoC sensors exported by the System Control Processor (SCP) via the System Control and Management Interface (SCMI). The supported sensor types is one of voltage, temperature, current, and power. The sensor labels and values provided by the SCP are exported via the hwmon sysfs interface. Cc: linux-hwmon@vger.kernel.org Acked-by: NGuenter Roeck <linux@roeck-us.net> Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
-
- 03 1月, 2018 2 次提交
-
-
由 Guenter Roeck 提交于
'default n' is default, so there is no need to specify it explicitly. Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Lei YU 提交于
Nuvoton W83773G is a hardware monitor IC providing one local temperature and two remote temperature sensors. Signed-off-by: NLei YU <mine260309@gmail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 30 10月, 2017 2 次提交
-
-
由 Linus Walleij 提交于
We have no users of platform data, we made platform data driver-local, so cut all #ifdefs for the platform data case, and depend on the Kconfig CONFIG_OF_GPIO symbol. Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Vadim Pasternak 提交于
MAX6621 is a PECI-to-I2C translator provides an efficient, low-cost solution for PECI-to-SMBus/I2C protocol conversion. It allows reading the temperature from the PECI-compliant host directly from up to four PECI-enabled CPUs. Signed-off-by: NVadim Pasternak <vadimp@mellanox.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 01 9月, 2017 1 次提交
-
-
由 Florian Eckert 提交于
Add the lantiq cpu temperature sensor support for xrx200. Signed-off-by: NFlorian Eckert <fe@dev.tdt.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 15 8月, 2017 1 次提交
-
-
由 Arnd Bergmann 提交于
With CONFIG_THERMAL=m, a built-in aspeed pwm tacho driver causes a link error: drivers/hwmon/aspeed-pwm-tacho.o: In function `aspeed_pwm_tacho_probe': aspeed-pwm-tacho.c:(.text+0x7f0): undefined reference to `thermal_of_cooling_device_register' This adds a dependency similar to what other hwmon drivers use, ensuring that the aspeed driver cannot be built-in in this case but has to be a module. With THERMAL=n, we still allow building it. Fixes: 2d7a548a ("drivers: hwmon: Support for ASPEED PWM/Fan tach") Signed-off-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 31 5月, 2017 1 次提交
-
-
由 Guenter Roeck 提交于
The driver uses regmap and thus has to select it to avoid build errors such as the following. drivers/hwmon/aspeed-pwm-tacho.c:337:21: error: variable 'aspeed_pwm_tacho_regmap_config' has initializer but incomplete type Reported-by: Nkbuild test robot <fengguang.wu@intel.com> Acked-by: NJoel Stanley <joel@jms.id.au> Fixes: 2d7a548a ("drivers: hwmon: Support for ASPEED PWM/Fan tach") Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 01 5月, 2017 1 次提交
-
-
由 Sebastian Reichel 提交于
This driver is no longer needed: * It has no mainline users * It has no DT support and OMAP is DT only * iio-hwmon can be used for madc, which also works with DT Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk> Acked-by: NGuenter Roeck <linux@roeck-us.net> 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>
-
- 03 2月, 2017 1 次提交
-
-
由 andrea.merello 提交于
This patch adds a HWMON driver for ST Microelectronics STTS751 temperature sensors. Thanks-to: LABBE Corentin [for suggestions] Thanks-to: Guenter Roeck [for suggestion and discussions] Signed-off-by: NAndrea Merello <andrea.merello@gmail.com> Cc: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 10 12月, 2016 2 次提交
-
-
由 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>
-
由 Tobias Klauser 提交于
The lm90 driver also supports the Texas Instruments TMP451 sensor chip. Since the Kconfig description for the driver includes a list of all compatible chips, mention the TI TMP451 there as well. Signed-off-by: NTobias Klauser <tklauser@distanz.ch> 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>
-
- 13 9月, 2016 1 次提交
-
-
由 Axel Lin 提交于
This driver now uses regmap APIs, so it needs to select REGMAP_I2C. Signed-off-by: NAxel Lin <axel.lin@ingics.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 09 9月, 2016 3 次提交
-
-
由 Guenter Roeck 提交于
Simplify code and reduce code size by using the new hwmon registration API. Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Guenter Roeck 提交于
Simplify code and reduce code size by using the new hwmon registration API. 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>
-
- 20 7月, 2016 1 次提交
-
-
由 Thilo Cestonaro 提交于
This driver implements hardware monitoring and watchdog support for the FTS BMC Chip "Teutates". Signed-off-by: NThilo Cestonaro <thilo@cestona.ro> [groeck: Updated subject and description; fixed dependencies] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 13 7月, 2016 1 次提交
-
-
由 Guenter Roeck 提交于
By converting the driver to regmap, we can use regmap to cache non-volatile registers. Stop caching the temperature register; while potentially reading it more often can result in reading it more often than necessary, this is offset by the gain due to not re-reading the limit registers. A positive side effect of this change is that limit registers can now be read and updated before the first temperature conversion is complete. Acked-by: NNishanth Menon <nm@ti.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 09 7月, 2016 1 次提交
-
-
由 Guenter Roeck 提交于
Convert to use regmap. Leave caching to regmap and drop the register update function. While this can result in additional read operations if the temperature register is read continuously, it avoids re-reading the limit registers and thus overall reduces complexity. Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 28 6月, 2016 4 次提交
-
-
由 Alison Schofield 提交于
MCP9808 is not officially compliant to JC-42, similar to MCP9804, but its registers are compatible to JC-42. Signed-off-by: NAlison Schofield <amsfield22@gmail.com> Cc: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Andrew F. Davis 提交于
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: NAndrew F. Davis <afd@ti.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Andrew F. Davis 提交于
Signed-off-by: NAndrew F. Davis <afd@ti.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 David Frey 提交于
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: NPascal Sachs <pascal.sachs@sensirion.com> [groeck: Fixed 'Variable length array is used' gcc warning] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 19 4月, 2016 3 次提交
-
-
由 Guenter Roeck 提交于
IT8628E is functionally identical to IT8620E. Tested-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Huang Rui 提交于
This patch adds CONFIG_CPU_SUP_AMD as the dependence of fam15h_power driver. Because the following patch will use the interface from x86/kernel/cpu/amd.c. Otherwise, the below error might be encountered: All errors (new ones prefixed by >>): drivers/built-in.o: In function `fam15h_power_probe': >> fam15h_power.c:(.text+0x26e3a3): undefined reference to >> `amd_get_cores_per_cu' fam15h_power.c:(.text+0x26e41e): undefined reference to `amd_get_cores_per_cu' Reported-by: Nbuild test robot <lkp@intel.com> Acked-by: NBorislav Petkov <bp@suse.de> Signed-off-by: NHuang Rui <ray.huang@amd.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Tiberiu Breana 提交于
Add basic support for the Maxim Integrated MAX31722/MAX31723 SPI temperature sensors / thermostats. Includes: - ACPI support; - raw temperature readings; - power management Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdfSigned-off-by: NTiberiu Breana <tiberiu.a.breana@intel.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 09 3月, 2016 1 次提交
-
-
由 Adam Baker 提交于
Create a driver to support the hardware monitoring chip present in the Zyxel NSA320 and some of the other Zyxel NAS devices. The driver reads fan speed and temperature from a suitably pre-programmed MCU on the device. Signed-off-by: NAdam Baker <linux@baker-net.org.uk> [groeck: Dropped .owner field initialization] Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 05 3月, 2016 2 次提交
-
-
由 Joseph McNally 提交于
This patch adds support for the Murata NCP15XH103 thermistor series. Signed-off-by: NJoseph McNally <jmcna06@gmail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Mike Looijmans 提交于
This adds support for the Linear Technology LTC2990 I2C System Monitor. The LTC2990 supports a combination of voltage, current and temperature monitoring. This driver currently only supports reading two currents by measuring two differential voltages across series resistors, in addition to the Vcc supply voltage and internal temperature. This is sufficient to support the Topic Miami SOM which uses this chip to monitor the currents flowing into the FPGA and the CPU parts. Signed-off-by: NMike Looijmans <mike.looijmans@topic.nl> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 19 12月, 2015 2 次提交
-
-
由 Guenter Roeck 提交于
HTU21 is now supported by IIO, and can be instantiated as hwmon driver using the iio-hwmon bridge. An explicit hwmon driver is no longer needed. Cc: William Markezana <william.markezana@meas-spec.com> Cc: Ludovic Tancerel <ludovic.tancerel@maplehightech.com> Cc: Jonathan Cameron <jic23@kernel.org> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Arnd Bergmann 提交于
If CONFIG_BITREVERSE is not built-in, the sht15 driver fails to link: drivers/built-in.o: In function `sht15_crc8': drivers/hwmon/sht15.c:195: undefined reference to `byte_rev_table' This adds a Kconfig 'select' statement, like all other users of bitrev.h have it. Signed-off-by: NArnd Bergmann <arnd@arndb.de> Fixes: 33836ee9 ("hwmon:change sht15_reverse()") Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 17 11月, 2015 1 次提交
-
-
由 Arnd Bergmann 提交于
The newly added scpi thermal support is broken when the scpi driver is built-in but the thermal driver is a loadable module: drivers/built-in.o: In function `scpi_hwmon_probe': (.text+0x444d70): undefined reference to `thermal_zone_of_sensor_unregister' (.text+0x444d94): undefined reference to `thermal_zone_of_sensor_register' drivers/built-in.o: In function `scpi_hwmon_remove': (text+0x444e6c): undefined reference to `thermal_zone_of_sensor_unregister' This uses the same Kconfig trick that we have in a couple of other drivers already to ensure we can only select the driver in valid configurations when either THERMAL_OF is disabled, or when with a dependency on CONFIG_THERMAL that can force SCPI to be a loadable module in the case I was hitting. Signed-off-by: NArnd Bergmann <arnd@arndb.de> Fixes: 68acc77a ("hwmon: Support thermal zones registration for SCP temperature sensors") Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 16 11月, 2015 1 次提交
-
-
由 Li Yang 提交于
Since a0de56c8 ("hwmon: (ina2xx) convert driver to using regmap") the driver requires REGMAP_I2C to build. Select it by default in Kconfig. Reported-by: NGuo Chunrong <B40290@freescale.com> Cc: Marc Titinger <mtitinger@baylibre.com> Signed-off-by: NLi Yang <leoli@freescale.com> Fixes: a0de56c8 ("hwmon: (ina2xx) convert driver to using regmap") Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 14 10月, 2015 1 次提交
-
-
由 Il Han 提交于
The driver supports the Maxim MAX31790. Signed-off-by: NIl Han <corone.il.han@gmail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
- 09 10月, 2015 1 次提交
-
-
由 Punit Agrawal 提交于
Create a driver to add support for SoC sensors exported by the System Control Processor (SCP) via the System Control and Power Interface (SCPI). The supported sensor types is one of voltage, temperature, current, and power. The sensor labels and values provided by the SCP are exported via the hwmon sysfs interface. Signed-off-by: NPunit Agrawal <punit.agrawal@arm.com> Acked-by: NGuenter Roeck <linux@roeck-us.net> Cc: Sudeep Holla <sudeep.holla@arm.com>
-