2 # Copyright (C) 2006-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 HWMON_MENU
:=Hardware Monitoring Support
10 define KernelPackage
/hwmon-core
11 SUBMENU
:=$(HWMON_MENU
)
12 TITLE
:=Hardware monitoring support
15 CONFIG_HWMON_DEBUG_CHIP
=n
17 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.ko
20 define KernelPackage
/hwmon-core
/description
21 Kernel modules for hardware monitoring
24 $(eval
$(call KernelPackage
,hwmon-core
))
27 define AddDepends
/hwmon
28 SUBMENU
:=$(HWMON_MENU
)
29 DEPENDS
:=kmod-hwmon-core
$(1)
32 define KernelPackage
/hwmon-vid
33 TITLE
:=VID
/VRM
/VRD voltage conversion module.
34 KCONFIG
:=CONFIG_HWMON_VID
35 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.ko
36 AUTOLOAD
:=$(call AutoLoad
,41,hwmon-vid
)
37 $(call AddDepends
/hwmon
,)
40 define KernelPackage
/hwmon-vid
/description
41 VID
/VRM
/VRD voltage conversion module for hardware monitoring
44 $(eval
$(call KernelPackage
,hwmon-vid
))
47 define KernelPackage
/hwmon-adt7410
48 TITLE
:=ADT7410 monitoring support
50 CONFIG_SENSORS_ADT7X10 \
51 CONFIG_SENSORS_ADT7410
53 $(LINUX_DIR
)/drivers
/hwmon
/adt7x10.ko \
54 $(LINUX_DIR
)/drivers
/hwmon
/adt7410.ko
55 AUTOLOAD
:=$(call AutoLoad
,60,adt7x10 adt7410
)
56 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
59 define KernelPackage
/hwmon-adt7410
/description
60 Kernel module for ADT7410
/7420 I2C thermal monitor chip
63 $(eval
$(call KernelPackage
,hwmon-adt7410
))
66 define KernelPackage
/hwmon-adt7475
67 TITLE
:=ADT7473
/7475/7476/7490 monitoring support
68 KCONFIG
:=CONFIG_SENSORS_ADT7475
69 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/adt7475.ko
70 AUTOLOAD
:=$(call AutoProbe
,adt7475
)
71 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
74 define KernelPackage
/hwmon-adt7475
/description
75 Kernel module for ADT7473
/7475/7476/7490 thermal monitor chip
78 $(eval
$(call KernelPackage
,hwmon-adt7475
))
81 define KernelPackage
/hwmon-ina209
82 TITLE
:=INA209 monitoring support
83 KCONFIG
:=CONFIG_SENSORS_INA209
84 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ina209.ko
85 AUTOLOAD
:=$(call AutoProbe
,ina209
)
86 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
89 define KernelPackage
/hwmon-ina209
/description
90 Kernel module for ina209 dc power monitor chips
93 $(eval
$(call KernelPackage
,hwmon-ina209
))
96 define KernelPackage
/hwmon-ina2xx
97 TITLE
:=INA2XX monitoring support
98 KCONFIG
:=CONFIG_SENSORS_INA2XX
99 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ina2xx.ko
100 AUTOLOAD
:=$(call AutoProbe
,ina2xx
)
101 $(call AddDepends
/hwmon
,+kmod-i2c-core
+LINUX_4_4
:kmod-regmap
)
104 define KernelPackage
/hwmon-ina2xx
/description
105 Kernel module for ina2xx dc current monitor chips
108 $(eval
$(call KernelPackage
,hwmon-ina2xx
))
111 define KernelPackage
/hwmon-lm63
112 TITLE
:=LM63
/64 monitoring support
113 KCONFIG
:=CONFIG_SENSORS_LM63
114 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm63.ko
115 AUTOLOAD
:=$(call AutoProbe
,lm63
)
116 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
119 define KernelPackage
/hwmon-lm63
/description
120 Kernel module for lm63 and lm64 thermal monitor chip
123 $(eval
$(call KernelPackage
,hwmon-lm63
))
126 define KernelPackage
/hwmon-lm75
127 TITLE
:=LM75 monitoring support
128 KCONFIG
:=CONFIG_SENSORS_LM75
129 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm75.ko
130 AUTOLOAD
:=$(call AutoProbe
,lm75
)
131 $(call AddDepends
/hwmon
,+kmod-i2c-core
+PACKAGE_kmod-thermal
:kmod-thermal
)
134 define KernelPackage
/hwmon-lm75
/description
135 Kernel module for lm75 thermal monitor chip
138 $(eval
$(call KernelPackage
,hwmon-lm75
))
141 define KernelPackage
/hwmon-lm77
142 TITLE
:=LM77 monitoring support
143 KCONFIG
:=CONFIG_SENSORS_LM77
144 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm77.ko
145 AUTOLOAD
:=$(call AutoProbe
,lm77
)
146 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
149 define KernelPackage
/hwmon-lm77
/description
150 Kernel module for LM77 thermal monitor chip
153 $(eval
$(call KernelPackage
,hwmon-lm77
))
156 define KernelPackage
/hwmon-lm85
157 TITLE
:=LM85 monitoring support
158 KCONFIG
:=CONFIG_SENSORS_LM85
159 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm85.ko
160 AUTOLOAD
:=$(call AutoProbe
,lm85
)
161 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
164 define KernelPackage
/hwmon-lm85
/description
165 Kernel module for LM85 thermal monitor chip
168 $(eval
$(call KernelPackage
,hwmon-lm85
))
171 define KernelPackage
/hwmon-lm90
172 TITLE
:=LM90 monitoring support
173 KCONFIG
:=CONFIG_SENSORS_LM90
174 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm90.ko
175 AUTOLOAD
:=$(call AutoProbe
,lm90
)
176 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
179 define KernelPackage
/hwmon-lm90
/description
180 Kernel module for LM90 thermal monitor chip
183 $(eval
$(call KernelPackage
,hwmon-lm90
))
185 define KernelPackage
/hwmon-lm92
186 TITLE
:=LM92 monitoring support
187 KCONFIG
:=CONFIG_SENSORS_LM92
188 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm92.ko
189 AUTOLOAD
:=$(call AutoProbe
,lm92
)
190 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
193 define KernelPackage
/hwmon-lm92
/description
194 Kernel module for LM92 thermal monitor chip
197 $(eval
$(call KernelPackage
,hwmon-lm92
))
199 define KernelPackage
/hwmon-lm95241
200 TITLE
:=LM95241 monitoring support
201 KCONFIG
:=CONFIG_SENSORS_LM95241
202 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm95241.ko
203 AUTOLOAD
:=$(call AutoProbe
,lm95241
)
204 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
207 define KernelPackage
/hwmon-lm95241
/description
208 Kernel module for LM95241 thermal monitor chip
211 $(eval
$(call KernelPackage
,hwmon-lm95241
))
213 define KernelPackage
/hwmon-ltc4151
214 TITLE
:=LTC4151 monitoring support
215 KCONFIG
:=CONFIG_SENSORS_LTC4151
216 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ltc4151.ko
217 AUTOLOAD
:=$(call AutoProbe
,ltc4151
)
218 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
221 define KernelPackage
/hwmon-ltc4151
/description
222 Kernel module for Linear Technology LTC4151 current and voltage monitor chip
225 $(eval
$(call KernelPackage
,hwmon-ltc4151
))
227 define KernelPackage
/hwmon-sht21
228 TITLE
:=Sensiron SHT21 and compat. monitoring support
229 KCONFIG
:=CONFIG_SENSORS_SHT21
230 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/sht21.ko
231 AUTOLOAD
:=$(call AutoProbe
,sht21
)
232 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
235 define KernelPackage
/hwmon-sht21
/description
236 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
239 $(eval
$(call KernelPackage
,hwmon-sht21
))
241 define KernelPackage
/hwmon-pc87360
242 TITLE
:=PC87360 monitoring support
243 KCONFIG
:=CONFIG_SENSORS_PC87360
244 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.ko
245 AUTOLOAD
:=$(call AutoProbe
,pc87360
)
246 $(call AddDepends
/hwmon
,@TARGET_x86
+kmod-hwmon-vid
)
249 define KernelPackage
/hwmon-pc87360
/description
250 Kernel modules for PC87360 chips
253 $(eval
$(call KernelPackage
,hwmon-pc87360
))
256 define KernelPackage
/hwmon-w83627hf
257 TITLE
:=Winbond W83627HF monitoring support
258 KCONFIG
:=CONFIG_SENSORS_W83627HF
259 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/w83627hf.ko
260 AUTOLOAD
:=$(call AutoLoad
,50,w83627hf
)
261 $(call AddDepends
/hwmon
,@TARGET_x86
+kmod-hwmon-vid
)
264 define KernelPackage
/hwmon-w83627hf
/description
265 Kernel module for the Winbond W83627HF chips.
268 $(eval
$(call KernelPackage
,hwmon-w83627hf
))
271 define KernelPackage
/hwmon-gsc
272 TITLE
:=Gateworks GSC monitoring support
273 KCONFIG
:=CONFIG_SENSORS_GSC
274 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/gsc.ko
275 AUTOLOAD
:=$(call AutoLoad
,60,gsc
)
276 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
279 define KernelPackage
/hwmon-gsc
/description
280 Kernel module for the Gateworks System Controller chips.
283 $(eval
$(call KernelPackage
,hwmon-gsc
))
286 define KernelPackage
/hwmon-tmp421
287 TITLE
:=TI TMP421 and compatible monitoring support
288 KCONFIG
:=CONFIG_SENSORS_TMP421
289 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/tmp421.ko
290 AUTOLOAD
:=$(call AutoLoad
,60,tmp421
)
291 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
294 define KernelPackage
/hwmon-tmp421
/description
295 Kernel module for the Texas Instruments TMP421 and compatible chips.
298 $(eval
$(call KernelPackage
,hwmon-tmp421
))
301 define KernelPackage
/hwmon-gpiofan
302 TITLE
:=Generic GPIO FAN support
303 KCONFIG
:=CONFIG_SENSORS_GPIO_FAN
304 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/gpio-fan.ko
305 AUTOLOAD
:=$(call AutoLoad
,60,gpio-fan
)
306 $(call AddDepends
/hwmon
,+kmod-i2c-core
+PACKAGE_kmod-thermal
:kmod-thermal
)
309 define KernelPackage
/hwmon-gpiofan
/description
310 Kernel module for GPIO controlled FANs
313 $(eval
$(call KernelPackage
,hwmon-gpiofan
))
316 define KernelPackage
/hwmon-pwmfan
317 TITLE
:=Generic PWM FAN support
318 KCONFIG
:=CONFIG_SENSORS_PWM_FAN
319 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pwm-fan.ko
320 AUTOLOAD
:=$(call AutoLoad
,60,pwm-fan
)
321 $(call AddDepends
/hwmon
, +PACKAGE_kmod-thermal
:kmod-thermal
)
324 define KernelPackage
/hwmon-pwmfan
/description
325 Kernel module for PWM controlled FANs
328 $(eval
$(call KernelPackage
,hwmon-pwmfan
))
331 define KernelPackage
/hwmon-k10temp
332 TITLE
:=AMD Family
10h
+ temperature sensor
333 KCONFIG
:=CONFIG_SENSORS_K10TEMP
334 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/k10temp.ko
335 AUTOLOAD
:=$(call AutoLoad
,60,k10temp
)
336 $(call AddDepends
/hwmon
,@PCI_SUPPORT @TARGET_x86
)
339 define KernelPackage
/hwmon-k10temp
/description
340 Thermal sensor support for AMD
10h
, 11h
, 12h
(Llano
), 14h
(Brazos
),
341 15h
(Bulldozer
/Trinity
/Kaveri
) and
16h
(Kabini
/Mullins
) CPUs
344 $(eval
$(call KernelPackage
,hwmon-k10temp
))