aboutsummaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/hwmon.mk
Commit message (Collapse)AuthorAge
* kernel: kmod-backlight-pwm/kmod-hwmon-pwmfan: Depend on PWM_SUPPORTHauke Mehrtens2025-07-26
| | | | | | | | These drivers depend on the kernel option CONFIG_PWM, only add them to OpenWrt for targets which have PWM support. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-hwmon-max6642: Depend on kernel 6.6Hauke Mehrtens2025-07-26
| | | | | | | | | | This driver was removed in kernel 6.11 [0], make it depend on kernel 6.6 for now. [0]: https://git.kernel.org/linus/ed99ae74f2328e42286880c946953a8f9dd95a7e Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: support Maxlinear GPHYAlexandru Gagniuc2025-06-25
| | | | | | | | | Add support for Maxlinear GPHY module. Also add support for kmod-polynomial, which is a dependency for this module. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18435 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel/hwmon-sch5627: 6.12: fix missing dependencyMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | Add missing depends kmod-regmap-core. Package kmod-hwmon-sch5627 is missing dependencies for the following libraries: regmap-core.ko Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=a54fe61639d9f3b6765fee32edda7cfceb6d705a Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel/hwmon-lm92: 6.12: fix missing dependencyMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | Add missing depends kmod-regmap-core. Package kmod-hwmon-lm92 is missing dependencies for the following libraries: regmap-core.ko Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=1359590a5c48d1d28cd11808178931f146a539e2 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel/hwmon-core: 6.12: fix missing dependencyMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | Add missing depends kmod-i2c-core. Package kmod-hwmon-core is missing dependencies for the following libraries: i2c-core.ko Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel/hwmon-max6697: 6.12: fix missing dependencyMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | Add missing depends kmod-regmap-i2c. ERROR: modpost: "__regmap_init_i2c" [drivers/hwmon/max6697.ko] undefined! Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=3a2a8cc3fe24ec48a3d222f5b9db68a3404ffab3 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* packages: remove remnants of kernels below 6.6Mieczyslaw Nalewaj2024-09-21
| | | | | | | | Remove remnants of kernels below 6.6. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16432 Signed-off-by: Robert Marko <robimarko@gmail.com>
* packages: remove kernel 5.15 remnantsMieczyslaw Nalewaj2024-09-20
| | | | | | | | Remove kernel 5.15 remnants. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16417 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: Add kmod-mfdHauke Mehrtens2024-07-03
| | | | | | | | | Package the mfd-core.ko kernel module. It is selected by the kmod-hwmon-gsc already. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Link: https://github.com/openwrt/openwrt/pull/15833 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.6: backport patch for G671 PWM Fan controller supportChristian Marangi2024-06-25
| | | | | | | | | Backport patch for G761 PWM Fan controller support. This is used by an ipq807x RAX120v2 and have an internal clock that was currently unconfigured making the device not working. Link: https://github.com/openwrt/openwrt/pull/15796 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: add kmod-hwmon-emc2305 supportOleg S2024-04-10
| | | | | | | This module supports the Microchip Technology Inc (SMSC) EMC2301/EMC2302/EMC2303/EMC2305 fan speed PWM controller chips. Signed-off-by: Oleg S <remittor@gmail.com>
* hwmon: add TC654 fan-controller supportZoltan HERPAI2024-03-17
| | | | | | Add support for the Microchip TC654 PWM fan-controller. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: kmod-hwmon-coretemp: Depend on x86Hauke Mehrtens2024-03-14
| | | | | | This kernel module depends on x86, it works only on some Intel CPUs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: hwmon: adapt for kernel 6.6Tan Zien2024-03-11
| | | | | | | | | Adapt hwmon kmods for building under kernel 6.6: * ad7418 now requires regmap * Invert criteria to allow adt7410 be built with Linux 6.1 as well as Linux 6.6. Signed-off-by: Tan Zien <nabsdh9@gmail.com>
* x86: kernel: modules: clean makefilesPascal Coudurier2023-12-09
| | | | Signed-off-by: Pascal Coudurier <coudu@gmx.com>
* packages: add needed packages for Mellanox Spectrum SwitchesTil Kaiser2023-10-31
| | | | | | | Add needed kernel and firmware packages for Mellanox Spectrum SN2000 Series Switches. Signed-off-by: Til Kaiser <til.kaiser@gmx.de>
* kernel: modules: hwmon: adapt nct6775 for kernel 6.1Pascal Coudurier2023-09-19
| | | | | | | | nct6775 module splited in 5.19 kernel: * add nct6775-core module @ge5.19 * add regmap dependency for 6.1 Signed-off-by: Pascal Coudurier <coudu@gmx.com>
* kernel: add kmod-hwmon-jc42 supportChristian Svensson2023-07-04
| | | | | | Add package for Jedec JC42.4 compliant temperature sensor. Signed-off-by: Christian Svensson <blue@cmd.nu>
* kernel: add kmod-hwmon-max6697 supportChristian Svensson2023-07-04
| | | | | | Add package for Maxim MAX6697 I2C based temperature sensor. Signed-off-by: Christian Svensson <blue@cmd.nu>
* kernel: modules: adapt for kernel 6.1Christian Marangi2023-05-22
| | | | | | Adapt kernel modules to support kernel 6.1. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: add kmod-hwmon-max6642 supportTim Harvey2023-03-05
| | | | | | Add package for Maxim MAX6642 i2c based temperature sensor. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: fix hwmon-gsc driverTim Harvey2023-03-01
| | | | | | | | | Fix hwmon-gsc driver by replacing out-of-tree hwmon-gsc driver with in-tree driver that was merged in Linux v5.8: - remove the old out-of-tree module - add configuration for the in-tree modules Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: add kmod-hwmon-sht3x supportUwe Kleine-König2022-11-13
| | | | | | | The driver supports the temperature and humidity sensors chips SHT3x and STS3x by Sensirion. Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
* kernel: kmod-hwmon-tps23861: Add missing dependency to kmod-regmap-i2cHauke Mehrtens2022-08-13
| | | | | | | | | This fixes the following build error: Package kmod-hwmon-tps23861 is missing dependencies for the following libraries: regmap-i2c.ko Fixes: b664646db74a ("kernel: add kmod-hwmon-tps23861 support") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add kmod-hwmon-tps23861 supportAlexandru Gagniuc2022-08-13
| | | | | | | Package the tps23861.ko module, which supports Texas Instruments TPS23861 PoE+ controller. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
* kernel: add kmod-hwmon-lm70 supportChristian Lamparter2022-02-19
| | | | | | | | package hwmon's lm70.ko. This module supports the National Semiconductor/TI LM70,LM71,LM74 and TI TMP121,TMP122,TMP123 and TMP124 chips (all SPI). Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* kernel: add missing kmod+regmap-i2c dependency for NCT7802Y moduleChristian Lamparter2022-01-15
| | | | | | | | | | x86, mt7623 and others buildbot failed due to: |Package kmod-hwmon-nct7802 is missing dependencies for the following libraries: |regmap-core.ko |regmap-i2c.ko Fixes: 1ed50b92d157 ("package: kernel: add driver module for NCT7802Y") Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* package: kernel: add driver module for NCT7802YPawel Dembicki2022-01-15
| | | | | | | | | | | | This commit add package with hwmon-nct7802 module. This driver implements support for the Nuvoton NCT7802Y hardware monitoring chip. NCT7802Y supports 6 temperature sensors, 5 voltage sensors, and 3 fan speed sensors. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> (fixed c&p'ed module description) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* packages: kernel: add i2c hwmon g762 kmod packagePawel Dembicki2021-12-29
| | | | | | | This patch adds kernel module for Global Mixed-mode Technology Inc G762 and G763 fan speed PWM controller chips. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel: add package kmod-iio-ads1015 and remove kmod-hwmon-ads1015Christian Pointner2021-09-13
| | | | | | | | | | | | The hwmon driver for the ADC ADS1015 has been removed in Linux 5.4 in favor of a driver in the iio system. For details see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c9d5b5e This fixes: https://bugs.openwrt.org/index.php?do=details&task_id=4005 Run-tested: ramips/mt76x8 (Onion Omega 2+) Signed-off-by: Christian Pointner <equinox@spreadspace.org>
* kernel: set WATCHDOG_CORE dependency in kmod-hwmon-sch5627Adrian Schmutzler2020-08-24
| | | | | | | | | | | | | | | | | | For many target we have added CONFIG_WATCHDOG_CORE=y to the target config due to the following error: Package kmod-hwmon-sch5627 is missing dependencies for the following libraries: watchdog.ko However, actually the proper way appears to be setting the dependency for the kmod-hwmon-sch5627 package, as the error message demands. Do this in this patch and remove the target config entries added due to this issue. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: hwmon: add Analog Devices AD741x supportDavid Bauer2020-04-29
| | | | Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: hwmon: add dme1737 driverLucian Cristian2020-04-13
| | | | | | SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* kernel: package f71882fg hwmon driverNick Bowler2020-03-28
| | | | | | | This driver enables hardware monitoring support using the sensors found in many Fintek Super-IO chips. Signed-off-by: Nick Bowler <nbowler@draconx.ca>
* kernel: backport and package drivetemp hwmon from v5.5Christian Lamparter2020-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch backports the hwmon drivetemp sensor module from vanilla linux 5.5 to be available on OpenWrt's 5.4 kernel. Extract from The upstream commit by Guenter Roeck <linux@roeck-us.net>: hwmon: Driver for disk and solid state drives with temperature sensors "Reading the temperature of ATA drives has been supported for years by userspace tools such as smarttools or hddtemp. The downside of such tools is that they need to run with super-user privilege, that the temperatures are not reported by standard tools such as 'sensors' or 'libsensors', and that drive temperatures are not available for use in the kernel's thermal subsystem. This driver solves this problem by adding support for reading the temperature of ATA drives from the kernel using the hwmon API and by adding a temperature zone for each drive. With this driver, the hard disk temperature can be read [...] using sysfs: $ grep . /sys/class/hwmon/hwmon9/{name,temp1_input} /sys/class/hwmon/hwmon9/name:drivetemp /sys/class/hwmon/hwmon9/temp1_input:23000 If the drive supports SCT transport and reports temperature limits, those are reported as well. drivetemp-scsi-0-0 Adapter: SCSI adapter temp1: +27.0<C2><B0>C (low = +0.0<C2><B0>C, high = +60.0<C2><B0>C) (crit low = -41.0<C2><B0>C, crit = +85.0<C2><B0>C) (lowest = +23.0<C2><B0>C, highest = +34.0<C2><B0>C) The driver attempts to use SCT Command Transport to read the drive temperature. If the SCT Command Transport feature set is not available, or if it does not report the drive temperature, drive temperatures may be readable through SMART attributes. Since SMART attributes are not well defined, this method is only used as fallback mechanism." This patch incorperates a patch made by Linus Walleij: 820-libata-Assign-OF-node-to-the-SCSI-device.patch This patch is necessary in order to wire-up the drivetemp sensor into the device tree's thermal-zones. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* kernel: make kmod-hwmon-core selected by dependent modulesSungbo Eo2020-03-13
| | | | | | | | | | | | | | | | | | Currently kmod-hwmon-* will not get into images unless kmod-hwmon-core is added to DEVICE_PACKAGES as well. By changing the dependencies from "depends on" to "select", we do not have the issue anymore. Furthermore, we can remove most occurrences of the package from DEVICE_PACKAGES and similar variables, as it is now pulled by dependent modules such as: - kmod-hwmon-gpiofan - kmod-hwmon-lm63 - kmod-hwmon-lm75 - kmod-hwmon-lm85 - kmod-hwmon-lm90 Signed-off-by: Sungbo Eo <mans0n@gorani.run> [do not touch ar71xx, adjust line wrapping] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: fix typos in KernelPackage descriptionSungbo Eo2020-02-08
| | | | | | | | | | | | Fixes: ed2839ac4190 ("kernel/modules: add kmod-pmbus-zl6100 module") Fixes: bbcb9de93547 ("Add package for gpio rotary encoder") Fixes: 76854589829a ("package/kernel: package kmod-input-matrixkmap") Fixes: 8bfef353850a ("kernel: rename kmod-switch-rtl8366_smi to kmod-switch-rtl8366-smi to avoid underscores in package names") Fixes: f03bf608b151 ("kernel: Add dummy sound driver") Fixes: dda5d9b78643 ("ramips: rename pwm kernel module") Signed-off-by: Sungbo Eo <mans0n@gorani.run>
* kernel: hwmon: package mcp3021 moduleDaniel Golle2020-02-02
| | | | | | | Package kernel module for Linear Technology MCP3021/3221 I2C connected current and voltage monitor chips. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: Remove support for kernel 3.18Hauke Mehrtens2019-05-03
| | | | | | | | | | No target is using kernel 3.18 anymore, remove all the generic support for kernel 3.18. The removed packages are depending on kernel 3.18 only and are not used on any recent kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Build: Split kmod-regmapHauke Mehrtens2019-01-27
| | | | | | | | | | | | | | | | | | | | | | | This reduces the needed modifications to the mainline Linux kernel and also makes the regmap package work with an out of tree kernel which does not have these modifications. The regmap-core is only added when it is really build as a module. The regmap-core is normally bool so it cannot be built as a module in an unmodified kernel. When it is selected by on other kernel module it will always be selected as build in and it also does not show up in $(LINUX_DIR)/modules.builtin as it is not supposed to be a kernel module. When it is not in $(LINUX_DIR)/modules.builtin the build system expects it to be built as a .ko file. Just check if the module is really there and only add it in that case. This splits the regmap package into multiple packages, one for each bus type. This way only the bus maps which are really needed have to be added. This also splits the I2C, SPI and MMIO regmap into separate packages to not require all these subsystems to build them, on an unmodified upstream kernel this also causes problems in some situations. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
* kernel/modules: Fix build of kmod-pmbusHauke Mehrtens2019-01-13
| | | | | | | | This fixes two build problems introduced with the recently added new kernel module package. Fixes: ed2839ac4190 ("kernel/modules: add kmod-pmbus-zl6100 module") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel/modules: add kmod-pmbus-zl6100 modulePawel Dembicki2019-01-13
| | | | | | | | | | | | This patch adds the kmod packaging for the Intersil / Zilker Labs ZL6100 and compatible digital DC-DC controllers as well as the core kernel module for the Power Management Bus. Add: kmod-pmbus-core kmod-pmbus-zl6100 Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel/modules: TI ADS1015 kernel module support enabled.Roman Bazalevsky2018-11-25
| | | | Signed-off-by: Roman Bazalevsky <rvb@rvb.name>
* kernel/modules: add kmod-adcxx moduleFlorian Eckert2018-06-09
| | | | | | Add kernel module package for kmod-adcxx. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* hwmon.mk: sort kernel modulesLucian Cristian2018-02-13
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* kernel: add hwmon for W83627EHF and familyPhilip Prindeville2017-05-17
| | | | | | | | Remove support for NCT6775/6 from W83627EHF driver so the NCT6775 driver will still be used for those chips. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* kernel: add thermal monitor for nct6775/6776Philip Prindeville2017-04-07
| | | | | | | Support for the nct6775/6776 hwmon chips, and other compatibles in the family as well as the Intel on-chip thermal sensors. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* kernel: enable hwmon-k10temp in the x86/64 kernel config instead of packaging itFelix Fietkau2017-02-26
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kmod-* packaging and dependencies for linux 4.9Felix Fietkau2017-01-27
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>