b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2006-2014 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | HWMON_MENU:=Hardware Monitoring Support |
| 9 | |
| 10 | define KernelPackage/hwmon-core |
| 11 | SUBMENU:=$(HWMON_MENU) |
| 12 | TITLE:=Hardware monitoring support |
| 13 | KCONFIG:= \ |
| 14 | CONFIG_HWMON \ |
| 15 | CONFIG_HWMON_DEBUG_CHIP=n |
| 16 | FILES:= \ |
| 17 | $(LINUX_DIR)/drivers/hwmon/hwmon.ko |
| 18 | endef |
| 19 | |
| 20 | define KernelPackage/hwmon-core/description |
| 21 | Kernel modules for hardware monitoring |
| 22 | endef |
| 23 | |
| 24 | $(eval $(call KernelPackage,hwmon-core)) |
| 25 | |
| 26 | |
| 27 | define AddDepends/hwmon |
| 28 | SUBMENU:=$(HWMON_MENU) |
| 29 | DEPENDS:=+kmod-hwmon-core $(1) |
| 30 | endef |
| 31 | |
| 32 | define KernelPackage/hwmon-ad7418 |
| 33 | TITLE:=AD741x monitoring support |
| 34 | KCONFIG:=CONFIG_SENSORS_AD7418 |
| 35 | FILES:=$(LINUX_DIR)/drivers/hwmon/ad7418.ko |
| 36 | AUTOLOAD:=$(call AutoLoad,60,ad7418 ad7418) |
| 37 | $(call AddDepends/hwmon,+kmod-i2c-core +LINUX_6_6:kmod-regmap-core) |
| 38 | endef |
| 39 | |
| 40 | define KernelPackage/hwmon-ad7418/description |
| 41 | Kernel module for Analog Devices AD7416, AD7417 and AD7418 temperature monitor chip |
| 42 | endef |
| 43 | |
| 44 | $(eval $(call KernelPackage,hwmon-ad7418)) |
| 45 | |
| 46 | define KernelPackage/hwmon-adt7410 |
| 47 | TITLE:=ADT7410 monitoring support |
| 48 | KCONFIG:= \ |
| 49 | CONFIG_SENSORS_ADT7X10 \ |
| 50 | CONFIG_SENSORS_ADT7410 |
| 51 | FILES:= \ |
| 52 | $(LINUX_DIR)/drivers/hwmon/adt7x10.ko \ |
| 53 | $(LINUX_DIR)/drivers/hwmon/adt7410.ko |
| 54 | AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410) |
| 55 | $(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_5_15:kmod-regmap-core) |
| 56 | endef |
| 57 | |
| 58 | define KernelPackage/hwmon-adt7410/description |
| 59 | Kernel module for ADT7410/7420 I2C thermal monitor chip |
| 60 | endef |
| 61 | |
| 62 | $(eval $(call KernelPackage,hwmon-adt7410)) |
| 63 | |
| 64 | |
| 65 | define KernelPackage/hwmon-adt7475 |
| 66 | TITLE:=ADT7473/7475/7476/7490 monitoring support |
| 67 | KCONFIG:=CONFIG_SENSORS_ADT7475 |
| 68 | FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko |
| 69 | AUTOLOAD:=$(call AutoProbe,adt7475) |
| 70 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) |
| 71 | endef |
| 72 | |
| 73 | define KernelPackage/hwmon-adt7475/description |
| 74 | Kernel module for ADT7473/7475/7476/7490 thermal monitor chip |
| 75 | endef |
| 76 | |
| 77 | $(eval $(call KernelPackage,hwmon-adt7475)) |
| 78 | |
| 79 | |
| 80 | define KernelPackage/hwmon-coretemp |
| 81 | TITLE:=Intel Core/Core2/Atom temperature sensor |
| 82 | KCONFIG:=CONFIG_SENSORS_CORETEMP |
| 83 | FILES:=$(LINUX_DIR)/drivers/hwmon/coretemp.ko |
| 84 | AUTOLOAD:=$(call AutoProbe,coretemp) |
| 85 | $(call AddDepends/hwmon,@TARGET_x86) |
| 86 | endef |
| 87 | |
| 88 | define KernelPackage/hwmon-coretemp/description |
| 89 | Kernel module for Intel Core/Core2/Atom temperature monitoring support. |
| 90 | Most of the family 6 CPUs are supported. |
| 91 | Check Documentation/hwmon/coretemp.rst for details. |
| 92 | endef |
| 93 | |
| 94 | $(eval $(call KernelPackage,hwmon-coretemp)) |
| 95 | |
| 96 | |
| 97 | define KernelPackage/hwmon-dme1737 |
| 98 | TITLE:=SMSC DME1737 and compatible monitoring support |
| 99 | KCONFIG:=CONFIG_SENSORS_DME1737 |
| 100 | FILES:= \ |
| 101 | $(LINUX_DIR)/drivers/hwmon/dme1737.ko |
| 102 | AUTOLOAD:=$(call AutoProbe,dme1737) |
| 103 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) |
| 104 | endef |
| 105 | |
| 106 | define KernelPackage/hwmon-dme1737/description |
| 107 | SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support |
| 108 | endef |
| 109 | |
| 110 | $(eval $(call KernelPackage,hwmon-dme1737)) |
| 111 | |
| 112 | |
| 113 | define KernelPackage/hwmon-drivetemp |
| 114 | TITLE:=Hard disk drives with temperature sensor |
| 115 | KCONFIG:=CONFIG_SENSORS_DRIVETEMP |
| 116 | FILES:=$(LINUX_DIR)/drivers/hwmon/drivetemp.ko |
| 117 | AUTOLOAD:=$(call AutoLoad,60,drivetemp) |
| 118 | $(call AddDepends/hwmon,+kmod-ata-core +kmod-scsi-core) |
| 119 | endef |
| 120 | |
| 121 | define KernelPackage/hwmon-drivetemp/description |
| 122 | Kernel module for Hard disk drives with temperature sensor |
| 123 | endef |
| 124 | |
| 125 | $(eval $(call KernelPackage,hwmon-drivetemp)) |
| 126 | |
| 127 | |
| 128 | define KernelPackage/hwmon-gsc |
| 129 | TITLE:=Gateworks System Controller support |
| 130 | KCONFIG:=CONFIG_MFD_GATEWORKS_GSC \ |
| 131 | CONFIG_SENSORS_GSC |
| 132 | FILES:= \ |
| 133 | $(LINUX_DIR)/drivers/mfd/gateworks-gsc.ko \ |
| 134 | $(LINUX_DIR)/drivers/hwmon/gsc-hwmon.ko |
| 135 | AUTOLOAD:=$(call AutoLoad,20,gsc-hwmon,1) |
| 136 | $(call AddDepends/hwmon,@!LINUX_5_4 +kmod-i2c-core) |
| 137 | endef |
| 138 | |
| 139 | define KernelPackage/hwmon-gsc/description |
| 140 | Kernel module for Gateworks System Controller with temperature sensor, |
| 141 | ADCs, and FAN controller |
| 142 | endef |
| 143 | |
| 144 | $(eval $(call KernelPackage,hwmon-gsc)) |
| 145 | |
| 146 | |
| 147 | define KernelPackage/hwmon-gpiofan |
| 148 | TITLE:=Generic GPIO FAN support |
| 149 | KCONFIG:=CONFIG_SENSORS_GPIO_FAN |
| 150 | FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko |
| 151 | AUTOLOAD:=$(call AutoLoad,60,gpio-fan) |
| 152 | $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal) |
| 153 | endef |
| 154 | |
| 155 | define KernelPackage/hwmon-gpiofan/description |
| 156 | Kernel module for GPIO controlled FANs |
| 157 | endef |
| 158 | |
| 159 | $(eval $(call KernelPackage,hwmon-gpiofan)) |
| 160 | |
| 161 | |
| 162 | define KernelPackage/hwmon-f71882fg |
| 163 | TITLE:=F71882FG compatible monitoring support |
| 164 | KCONFIG:=CONFIG_SENSORS_F71882FG |
| 165 | FILES:=$(LINUX_DIR)/drivers/hwmon/f71882fg.ko |
| 166 | AUTOLOAD:=$(call AutoProbe,f71882fg) |
| 167 | $(call AddDepends/hwmon,@TARGET_x86) |
| 168 | endef |
| 169 | |
| 170 | define KernelPackage/hwmon-f71882fg/description |
| 171 | Kernel module for hardware monitoring via many Fintek Super-IO chips. |
| 172 | endef |
| 173 | |
| 174 | $(eval $(call KernelPackage,hwmon-f71882fg)) |
| 175 | |
| 176 | |
| 177 | define KernelPackage/hwmon-g762 |
| 178 | TITLE:=G762/G763 fan speed PWM controller support |
| 179 | KCONFIG:=CONFIG_SENSORS_G762 |
| 180 | FILES:=$(LINUX_DIR)/drivers/hwmon/g762.ko |
| 181 | AUTOLOAD:=$(call AutoProbe,g762) |
| 182 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 183 | endef |
| 184 | |
| 185 | define KernelPackage/hwmon-g762/description |
| 186 | Kernel module for Global Mixed-mode Technology Inc G762 and G763 fan speed PWM controller chips. |
| 187 | endef |
| 188 | |
| 189 | $(eval $(call KernelPackage,hwmon-g762)) |
| 190 | |
| 191 | |
| 192 | define KernelPackage/hwmon-ina209 |
| 193 | TITLE:=INA209 monitoring support |
| 194 | KCONFIG:=CONFIG_SENSORS_INA209 |
| 195 | FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko |
| 196 | AUTOLOAD:=$(call AutoProbe,ina209) |
| 197 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 198 | endef |
| 199 | |
| 200 | define KernelPackage/hwmon-ina209/description |
| 201 | Kernel module for ina209 dc power monitor chips |
| 202 | endef |
| 203 | |
| 204 | $(eval $(call KernelPackage,hwmon-ina209)) |
| 205 | |
| 206 | |
| 207 | define KernelPackage/hwmon-ina2xx |
| 208 | TITLE:=INA2XX monitoring support |
| 209 | KCONFIG:=CONFIG_SENSORS_INA2XX |
| 210 | FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko |
| 211 | AUTOLOAD:=$(call AutoProbe,ina2xx) |
| 212 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c) |
| 213 | endef |
| 214 | |
| 215 | define KernelPackage/hwmon-ina2xx/description |
| 216 | Kernel module for ina2xx dc current monitor chips |
| 217 | endef |
| 218 | |
| 219 | $(eval $(call KernelPackage,hwmon-ina2xx)) |
| 220 | |
| 221 | |
| 222 | define KernelPackage/hwmon-it87 |
| 223 | TITLE:=IT87 monitoring support |
| 224 | KCONFIG:=CONFIG_SENSORS_IT87 |
| 225 | FILES:=$(LINUX_DIR)/drivers/hwmon/it87.ko |
| 226 | AUTOLOAD:=$(call AutoProbe,it87) |
| 227 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid +PACKAGE_kmod-thermal:kmod-thermal) |
| 228 | endef |
| 229 | |
| 230 | define KernelPackage/hwmon-it87/description |
| 231 | Kernel module for it87 thermal and voltage monitor chip |
| 232 | endef |
| 233 | |
| 234 | $(eval $(call KernelPackage,hwmon-it87)) |
| 235 | |
| 236 | |
| 237 | define KernelPackage/hwmon-jc42 |
| 238 | TITLE:=Jedec JC42.4 compliant temperature sensors support |
| 239 | KCONFIG:=CONFIG_SENSORS_JC42 |
| 240 | FILES:=$(LINUX_DIR)/drivers/hwmon/jc42.ko |
| 241 | AUTOLOAD:=$(call AutoProbe,jc42) |
| 242 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c) |
| 243 | endef |
| 244 | |
| 245 | define KernelPackage/hwmon-jc42/description |
| 246 | Kernel module for Jedec JC42.4 compliant temperature sensors |
| 247 | endef |
| 248 | |
| 249 | $(eval $(call KernelPackage,hwmon-jc42)) |
| 250 | |
| 251 | |
| 252 | define KernelPackage/hwmon-lm63 |
| 253 | TITLE:=LM63/64 monitoring support |
| 254 | KCONFIG:=CONFIG_SENSORS_LM63 |
| 255 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko |
| 256 | AUTOLOAD:=$(call AutoProbe,lm63) |
| 257 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c) |
| 258 | endef |
| 259 | |
| 260 | define KernelPackage/hwmon-lm63/description |
| 261 | Kernel module for lm63 and lm64 thermal monitor chip |
| 262 | endef |
| 263 | |
| 264 | $(eval $(call KernelPackage,hwmon-lm63)) |
| 265 | |
| 266 | |
| 267 | define KernelPackage/hwmon-lm70 |
| 268 | TITLE:=LM70 monitoring support |
| 269 | KCONFIG:=CONFIG_SENSORS_LM70 \ |
| 270 | CONFIG_SPI=y \ |
| 271 | CONFIG_SPI_MASTER=y |
| 272 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm70.ko |
| 273 | AUTOLOAD:=$(call AutoProbe,lm70) |
| 274 | $(call AddDepends/hwmon) |
| 275 | endef |
| 276 | |
| 277 | define KernelPackage/hwmon-lm70/description |
| 278 | Kernel module for lm70 and compatible thermal monitor chip |
| 279 | endef |
| 280 | |
| 281 | $(eval $(call KernelPackage,hwmon-lm70)) |
| 282 | |
| 283 | |
| 284 | define KernelPackage/hwmon-lm75 |
| 285 | TITLE:=LM75 monitoring support |
| 286 | KCONFIG:=CONFIG_SENSORS_LM75 |
| 287 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko |
| 288 | AUTOLOAD:=$(call AutoProbe,lm75) |
| 289 | $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c) |
| 290 | endef |
| 291 | |
| 292 | define KernelPackage/hwmon-lm75/description |
| 293 | Kernel module for lm75 thermal monitor chip |
| 294 | endef |
| 295 | |
| 296 | $(eval $(call KernelPackage,hwmon-lm75)) |
| 297 | |
| 298 | |
| 299 | define KernelPackage/hwmon-lm77 |
| 300 | TITLE:=LM77 monitoring support |
| 301 | KCONFIG:=CONFIG_SENSORS_LM77 |
| 302 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko |
| 303 | AUTOLOAD:=$(call AutoProbe,lm77) |
| 304 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 305 | endef |
| 306 | |
| 307 | define KernelPackage/hwmon-lm77/description |
| 308 | Kernel module for LM77 thermal monitor chip |
| 309 | endef |
| 310 | |
| 311 | $(eval $(call KernelPackage,hwmon-lm77)) |
| 312 | |
| 313 | |
| 314 | define KernelPackage/hwmon-lm85 |
| 315 | TITLE:=LM85 monitoring support |
| 316 | KCONFIG:=CONFIG_SENSORS_LM85 |
| 317 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko |
| 318 | AUTOLOAD:=$(call AutoProbe,lm85) |
| 319 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) |
| 320 | endef |
| 321 | |
| 322 | define KernelPackage/hwmon-lm85/description |
| 323 | Kernel module for LM85 thermal monitor chip |
| 324 | endef |
| 325 | |
| 326 | $(eval $(call KernelPackage,hwmon-lm85)) |
| 327 | |
| 328 | |
| 329 | define KernelPackage/hwmon-lm90 |
| 330 | TITLE:=LM90 monitoring support |
| 331 | KCONFIG:=CONFIG_SENSORS_LM90 |
| 332 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko |
| 333 | AUTOLOAD:=$(call AutoProbe,lm90) |
| 334 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 335 | endef |
| 336 | |
| 337 | define KernelPackage/hwmon-lm90/description |
| 338 | Kernel module for LM90 thermal monitor chip |
| 339 | endef |
| 340 | |
| 341 | $(eval $(call KernelPackage,hwmon-lm90)) |
| 342 | |
| 343 | |
| 344 | define KernelPackage/hwmon-lm92 |
| 345 | TITLE:=LM92 monitoring support |
| 346 | KCONFIG:=CONFIG_SENSORS_LM92 |
| 347 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko |
| 348 | AUTOLOAD:=$(call AutoProbe,lm92) |
| 349 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 350 | endef |
| 351 | |
| 352 | define KernelPackage/hwmon-lm92/description |
| 353 | Kernel module for LM92 thermal monitor chip |
| 354 | endef |
| 355 | |
| 356 | $(eval $(call KernelPackage,hwmon-lm92)) |
| 357 | |
| 358 | |
| 359 | define KernelPackage/hwmon-lm95241 |
| 360 | TITLE:=LM95241 monitoring support |
| 361 | KCONFIG:=CONFIG_SENSORS_LM95241 |
| 362 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko |
| 363 | AUTOLOAD:=$(call AutoProbe,lm95241) |
| 364 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 365 | endef |
| 366 | |
| 367 | define KernelPackage/hwmon-lm95241/description |
| 368 | Kernel module for LM95241 thermal monitor chip |
| 369 | endef |
| 370 | |
| 371 | $(eval $(call KernelPackage,hwmon-lm95241)) |
| 372 | |
| 373 | |
| 374 | define KernelPackage/hwmon-ltc4151 |
| 375 | TITLE:=LTC4151 monitoring support |
| 376 | KCONFIG:=CONFIG_SENSORS_LTC4151 |
| 377 | FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko |
| 378 | AUTOLOAD:=$(call AutoProbe,ltc4151) |
| 379 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 380 | endef |
| 381 | |
| 382 | define KernelPackage/hwmon-ltc4151/description |
| 383 | Kernel module for Linear Technology LTC4151 current and voltage monitor chip |
| 384 | endef |
| 385 | |
| 386 | $(eval $(call KernelPackage,hwmon-ltc4151)) |
| 387 | |
| 388 | |
| 389 | define KernelPackage/hwmon-max6642 |
| 390 | TITLE:=MAX6642 monitoring support |
| 391 | KCONFIG:=CONFIG_SENSORS_MAX6642 |
| 392 | FILES:=$(LINUX_DIR)/drivers/hwmon/max6642.ko |
| 393 | AUTOLOAD:=$(call AutoLoad,60,max6642 max6642) |
| 394 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 395 | endef |
| 396 | |
| 397 | define KernelPackage/hwmon-max6642/description |
| 398 | Kernel module for Maxim MAX6642 temperature monitor |
| 399 | endef |
| 400 | |
| 401 | $(eval $(call KernelPackage,hwmon-max6642)) |
| 402 | |
| 403 | |
| 404 | define KernelPackage/hwmon-max6697 |
| 405 | TITLE:=MAX6697 monitoring support |
| 406 | KCONFIG:=CONFIG_SENSORS_MAX6697 |
| 407 | FILES:=$(LINUX_DIR)/drivers/hwmon/max6697.ko |
| 408 | AUTOLOAD:=$(call AutoProbe,max6697) |
| 409 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 410 | endef |
| 411 | |
| 412 | define KernelPackage/hwmon-max6697/description |
| 413 | Kernel module for Maxim MAX6697 temperature monitor |
| 414 | endef |
| 415 | |
| 416 | $(eval $(call KernelPackage,hwmon-max6697)) |
| 417 | |
| 418 | |
| 419 | define KernelPackage/hwmon-mcp3021 |
| 420 | TITLE:=MCP3021/3221 monitoring support |
| 421 | KCONFIG:=CONFIG_SENSORS_MCP3021 |
| 422 | FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko |
| 423 | AUTOLOAD:=$(call AutoProbe,mcp3021) |
| 424 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 425 | endef |
| 426 | |
| 427 | define KernelPackage/hwmon-mcp3021/description |
| 428 | Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip |
| 429 | endef |
| 430 | |
| 431 | $(eval $(call KernelPackage,hwmon-mcp3021)) |
| 432 | |
| 433 | |
| 434 | define KernelPackage/hwmon-nct6775 |
| 435 | TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support |
| 436 | KCONFIG:=CONFIG_SENSORS_NCT6775 |
| 437 | FILES:= \ |
| 438 | $(LINUX_DIR)/drivers/hwmon/nct6775.ko \ |
| 439 | $(LINUX_DIR)/drivers/hwmon/nct6775-core.ko |
| 440 | AUTOLOAD:=$(call AutoProbe,nct6775) |
| 441 | $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid +kmod-regmap-core) |
| 442 | endef |
| 443 | |
| 444 | define KernelPackage/hwmon-nct6775/description |
| 445 | Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip |
| 446 | endef |
| 447 | |
| 448 | $(eval $(call KernelPackage,hwmon-nct6775)) |
| 449 | |
| 450 | |
| 451 | define KernelPackage/hwmon-nct7802 |
| 452 | TITLE:=NCT7802Y and compatibles monitoring support |
| 453 | KCONFIG:=CONFIG_SENSORS_NCT7802 |
| 454 | FILES:=$(LINUX_DIR)/drivers/hwmon/nct7802.ko |
| 455 | AUTOLOAD:=$(call AutoProbe,nct7802) |
| 456 | $(call AddDepends/hwmon,+kmod-regmap-i2c) |
| 457 | endef |
| 458 | |
| 459 | define KernelPackage/hwmon-nct7802/description |
| 460 | Kernel module for NCT7802Y thermal monitor chip |
| 461 | endef |
| 462 | |
| 463 | $(eval $(call KernelPackage,hwmon-nct7802)) |
| 464 | |
| 465 | |
| 466 | define KernelPackage/hwmon-pc87360 |
| 467 | TITLE:=PC87360 monitoring support |
| 468 | KCONFIG:=CONFIG_SENSORS_PC87360 |
| 469 | FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko |
| 470 | AUTOLOAD:=$(call AutoProbe,pc87360) |
| 471 | $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid) |
| 472 | endef |
| 473 | |
| 474 | define KernelPackage/hwmon-pc87360/description |
| 475 | Kernel modules for PC87360 chips |
| 476 | endef |
| 477 | |
| 478 | $(eval $(call KernelPackage,hwmon-pc87360)) |
| 479 | |
| 480 | |
| 481 | define KernelPackage/pmbus-core |
| 482 | TITLE:=PMBus support |
| 483 | KCONFIG:= CONFIG_PMBUS |
| 484 | FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko |
| 485 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 486 | endef |
| 487 | |
| 488 | define KernelPackage/pmbus-core/description |
| 489 | Kernel modules for Power Management Bus |
| 490 | endef |
| 491 | |
| 492 | $(eval $(call KernelPackage,pmbus-core)) |
| 493 | |
| 494 | |
| 495 | define KernelPackage/pmbus-zl6100 |
| 496 | TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring |
| 497 | KCONFIG:=CONFIG_SENSORS_ZL6100 |
| 498 | FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko |
| 499 | AUTOLOAD:=$(call AutoProbe,zl6100) |
| 500 | $(call AddDepends/hwmon, +kmod-pmbus-core) |
| 501 | endef |
| 502 | |
| 503 | define KernelPackage/pmbus-zl6100/description |
| 504 | Kernel module for Intersil / Zilker Labs ZL6100 and |
| 505 | compatible digital DC-DC controllers |
| 506 | endef |
| 507 | |
| 508 | $(eval $(call KernelPackage,pmbus-zl6100)) |
| 509 | |
| 510 | |
| 511 | define KernelPackage/hwmon-pwmfan |
| 512 | TITLE:=Generic PWM FAN support |
| 513 | KCONFIG:=CONFIG_SENSORS_PWM_FAN |
| 514 | FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko |
| 515 | AUTOLOAD:=$(call AutoLoad,60,pwm-fan) |
| 516 | $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal) |
| 517 | endef |
| 518 | |
| 519 | define KernelPackage/hwmon-pwmfan/description |
| 520 | Kernel module for PWM controlled FANs |
| 521 | endef |
| 522 | |
| 523 | $(eval $(call KernelPackage,hwmon-pwmfan)) |
| 524 | |
| 525 | |
| 526 | define KernelPackage/hwmon-sch5627 |
| 527 | TITLE:=SMSC SCH5627 monitoring support |
| 528 | KCONFIG:= \ |
| 529 | CONFIG_SENSORS_SCH5627 \ |
| 530 | CONFIG_WATCHDOG_CORE=y |
| 531 | FILES:= \ |
| 532 | $(LINUX_DIR)/drivers/hwmon/sch5627.ko \ |
| 533 | $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko |
| 534 | AUTOLOAD:=$(call AutoProbe,sch5627) |
| 535 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 536 | endef |
| 537 | |
| 538 | define KernelPackage/hwmon-sch5627/description |
| 539 | SMSC SCH5627 Super I/O chips include complete hardware monitoring |
| 540 | endef |
| 541 | |
| 542 | $(eval $(call KernelPackage,hwmon-sch5627)) |
| 543 | |
| 544 | |
| 545 | define KernelPackage/hwmon-sht21 |
| 546 | TITLE:=Sensiron SHT21 and compat. monitoring support |
| 547 | KCONFIG:=CONFIG_SENSORS_SHT21 |
| 548 | FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko |
| 549 | AUTOLOAD:=$(call AutoProbe,sht21) |
| 550 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 551 | endef |
| 552 | |
| 553 | define KernelPackage/hwmon-sht21/description |
| 554 | Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip |
| 555 | endef |
| 556 | |
| 557 | $(eval $(call KernelPackage,hwmon-sht21)) |
| 558 | |
| 559 | |
| 560 | define KernelPackage/hwmon-sht3x |
| 561 | TITLE:=Sensiron SHT3x and compat. monitoring support |
| 562 | KCONFIG:=CONFIG_SENSORS_SHT3x |
| 563 | FILES:=$(LINUX_DIR)/drivers/hwmon/sht3x.ko |
| 564 | AUTOLOAD:=$(call AutoProbe,sht3x) |
| 565 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-lib-crc8) |
| 566 | endef |
| 567 | |
| 568 | define KernelPackage/hwmon-sht3x/description |
| 569 | Kernel module for Sensirion SHT3x temperature and humidity sensors chip |
| 570 | endef |
| 571 | |
| 572 | $(eval $(call KernelPackage,hwmon-sht3x)) |
| 573 | |
| 574 | |
| 575 | define KernelPackage/hwmon-tc654 |
| 576 | TITLE:=TC654 monitoring support |
| 577 | KCONFIG:=CONFIG_SENSORS_TC654 |
| 578 | FILES:=$(LINUX_DIR)/drivers/hwmon/tc654.ko |
| 579 | AUTOLOAD:=$(call AutoLoad,60,tc654) |
| 580 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 581 | endef |
| 582 | |
| 583 | define KernelPackage/hwmon-tc654/description |
| 584 | Kernel module for Microchip TC654/TC655 and compatibles |
| 585 | endef |
| 586 | |
| 587 | $(eval $(call KernelPackage,hwmon-tc654)) |
| 588 | |
| 589 | |
| 590 | define KernelPackage/hwmon-tmp102 |
| 591 | TITLE:=Texas Instruments TMP102 monitoring support |
| 592 | KCONFIG:=CONFIG_SENSORS_TMP102 |
| 593 | FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko |
| 594 | AUTOLOAD:=$(call AutoProbe,tmp102) |
| 595 | $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c) |
| 596 | endef |
| 597 | |
| 598 | define KernelPackage/hwmon-tmp102/description |
| 599 | Kernel module for Texas Instruments TMP102 temperature sensors chip |
| 600 | endef |
| 601 | |
| 602 | $(eval $(call KernelPackage,hwmon-tmp102)) |
| 603 | |
| 604 | |
| 605 | define KernelPackage/hwmon-tmp103 |
| 606 | TITLE:=Texas Instruments TMP103 monitoring support |
| 607 | KCONFIG:=CONFIG_SENSORS_TMP103 |
| 608 | FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko |
| 609 | AUTOLOAD:=$(call AutoProbe,tmp103) |
| 610 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c) |
| 611 | endef |
| 612 | |
| 613 | define KernelPackage/hwmon-tmp103/description |
| 614 | Kernel module for Texas Instruments TMP103 temperature sensors chip |
| 615 | endef |
| 616 | |
| 617 | $(eval $(call KernelPackage,hwmon-tmp103)) |
| 618 | |
| 619 | |
| 620 | define KernelPackage/hwmon-tmp421 |
| 621 | TITLE:=TI TMP421 and compatible monitoring support |
| 622 | KCONFIG:=CONFIG_SENSORS_TMP421 |
| 623 | FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko |
| 624 | AUTOLOAD:=$(call AutoLoad,60,tmp421) |
| 625 | $(call AddDepends/hwmon,+kmod-i2c-core) |
| 626 | endef |
| 627 | |
| 628 | define KernelPackage/hwmon-tmp421/description |
| 629 | Kernel module for the Texas Instruments TMP421 and compatible chips. |
| 630 | endef |
| 631 | |
| 632 | $(eval $(call KernelPackage,hwmon-tmp421)) |
| 633 | |
| 634 | |
| 635 | define KernelPackage/hwmon-tps23861 |
| 636 | TITLE:=Texas Instruments TPS23861 PoE PSE |
| 637 | KCONFIG:=CONFIG_SENSORS_TPS23861 |
| 638 | FILES:=$(LINUX_DIR)/drivers/hwmon/tps23861.ko |
| 639 | AUTOLOAD:=$(call AutoProbe,tps23861) |
| 640 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c) |
| 641 | endef |
| 642 | |
| 643 | define KernelPackage/hwmon-tps23861/description |
| 644 | Kernel module for the Texas Instruments TPS23861 802.3at PoE PSE chips. |
| 645 | endef |
| 646 | |
| 647 | $(eval $(call KernelPackage,hwmon-tps23861)) |
| 648 | |
| 649 | define KernelPackage/hwmon-vid |
| 650 | TITLE:=VID/VRM/VRD voltage conversion module. |
| 651 | KCONFIG:=CONFIG_HWMON_VID |
| 652 | FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko |
| 653 | AUTOLOAD:=$(call AutoLoad,41,hwmon-vid) |
| 654 | $(call AddDepends/hwmon,) |
| 655 | endef |
| 656 | |
| 657 | define KernelPackage/hwmon-vid/description |
| 658 | VID/VRM/VRD voltage conversion module for hardware monitoring |
| 659 | endef |
| 660 | |
| 661 | $(eval $(call KernelPackage,hwmon-vid)) |
| 662 | |
| 663 | |
| 664 | define KernelPackage/hwmon-w83627ehf |
| 665 | TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support |
| 666 | KCONFIG:=CONFIG_SENSORS_W83627EHF |
| 667 | FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko |
| 668 | AUTOLOAD:=$(call AutoProbe,w83627ehf) |
| 669 | $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid) |
| 670 | endef |
| 671 | |
| 672 | define KernelPackage/hwmon-w83627ehf/description |
| 673 | Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip |
| 674 | Support for NCT6775F and NCT6776F has been removed from this driver in favour of |
| 675 | using the nct6775 driver to handle those chips. |
| 676 | endef |
| 677 | |
| 678 | $(eval $(call KernelPackage,hwmon-w83627ehf)) |
| 679 | |
| 680 | |
| 681 | define KernelPackage/hwmon-w83627hf |
| 682 | TITLE:=Winbond W83627HF monitoring support |
| 683 | KCONFIG:=CONFIG_SENSORS_W83627HF |
| 684 | FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko |
| 685 | AUTOLOAD:=$(call AutoLoad,50,w83627hf) |
| 686 | $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid) |
| 687 | endef |
| 688 | |
| 689 | define KernelPackage/hwmon-w83627hf/description |
| 690 | Kernel module for the Winbond W83627HF chips. |
| 691 | endef |
| 692 | |
| 693 | $(eval $(call KernelPackage,hwmon-w83627hf)) |
| 694 | |
| 695 | |
| 696 | define KernelPackage/hwmon-w83793 |
| 697 | TITLE:=Winbond W83793G/R monitoring support |
| 698 | KCONFIG:=CONFIG_SENSORS_W83793 |
| 699 | FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko |
| 700 | AUTOLOAD:=$(call AutoProbe,w83793) |
| 701 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) |
| 702 | endef |
| 703 | |
| 704 | define KernelPackage/hwmon-w83793/description |
| 705 | Kernel module for the Winbond W83793G and W83793R chips. |
| 706 | endef |
| 707 | |
| 708 | $(eval $(call KernelPackage,hwmon-w83793)) |
| 709 | |
| 710 | |
| 711 | define KernelPackage/hwmon-adcxx |
| 712 | TITLE:=ADCxx monitoring support |
| 713 | KCONFIG:=CONFIG_SENSORS_ADCXX |
| 714 | FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko |
| 715 | AUTOLOAD:=$(call AutoLoad,60,adcxx) |
| 716 | $(call AddDepends/hwmon,) |
| 717 | endef |
| 718 | |
| 719 | define KernelPackage/hwmon-adcxx/description |
| 720 | Kernel module for the National Semiconductor |
| 721 | ADC<bb><c>S<sss> chip family, where |
| 722 | * bb is the resolution in number of bits (8, 10, 12) |
| 723 | * c is the number of channels (1, 2, 4, 8) |
| 724 | * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500 |
| 725 | kSPS and 101 for 1 MSPS) |
| 726 | |
| 727 | Examples : ADC081S101, ADC124S501, ... |
| 728 | endef |
| 729 | |
| 730 | $(eval $(call KernelPackage,hwmon-adcxx)) |
| 731 | |
| 732 | |