2 # Copyright (C) 2006-2010 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-adt7475
48 TITLE
:=ADT7473
/7475/7476/7490 monitoring support
49 KCONFIG
:=CONFIG_SENSORS_ADT7475
50 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/adt7475.ko
51 AUTOLOAD
:=$(call AutoProbe
,adt7475
)
52 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
55 define KernelPackage
/hwmon-adt7475
/description
56 Kernel module for ADT7473
/7475/7476/7490 thermal monitor chip
59 $(eval
$(call KernelPackage
,hwmon-adt7475
))
62 define KernelPackage
/hwmon-ina2xx
63 TITLE
:=INA2XX monitoring support
64 KCONFIG
:=CONFIG_SENSORS_INA2XX
65 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ina2xx.ko
66 AUTOLOAD
:=$(call AutoProbe
,ina2xx
)
67 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
70 define KernelPackage
/hwmon-ina2xx
/description
71 Kernel module for ina2xx dc current monitor chips
74 $(eval
$(call KernelPackage
,hwmon-ina2xx
))
77 define KernelPackage
/hwmon-lm63
78 TITLE
:=LM63
/64 monitoring support
79 KCONFIG
:=CONFIG_SENSORS_LM63
80 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm63.ko
81 AUTOLOAD
:=$(call AutoProbe
,lm63
)
82 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
85 define KernelPackage
/hwmon-lm63
/description
86 Kernel module for lm63 and lm64 thermal monitor chip
89 $(eval
$(call KernelPackage
,hwmon-lm63
))
92 define KernelPackage
/hwmon-lm75
93 TITLE
:=LM75 monitoring support
94 KCONFIG
:=CONFIG_SENSORS_LM75
95 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm75.ko
96 AUTOLOAD
:=$(call AutoProbe
,lm75
)
97 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
100 define KernelPackage
/hwmon-lm75
/description
101 Kernel module for lm75 thermal monitor chip
104 $(eval
$(call KernelPackage
,hwmon-lm75
))
107 define KernelPackage
/hwmon-lm77
108 TITLE
:=LM77 monitoring support
109 KCONFIG
:=CONFIG_SENSORS_LM77
110 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm77.ko
111 AUTOLOAD
:=$(call AutoProbe
,lm77
)
112 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
115 define KernelPackage
/hwmon-lm77
/description
116 Kernel module for LM77 thermal monitor chip
119 $(eval
$(call KernelPackage
,hwmon-lm77
))
122 define KernelPackage
/hwmon-lm85
123 TITLE
:=LM85 monitoring support
124 KCONFIG
:=CONFIG_SENSORS_LM85
125 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm85.ko
126 AUTOLOAD
:=$(call AutoProbe
,lm85
)
127 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
130 define KernelPackage
/hwmon-lm85
/description
131 Kernel module for LM85 thermal monitor chip
134 $(eval
$(call KernelPackage
,hwmon-lm85
))
137 define KernelPackage
/hwmon-lm90
138 TITLE
:=LM90 monitoring support
139 KCONFIG
:=CONFIG_SENSORS_LM90
140 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm90.ko
141 AUTOLOAD
:=$(call AutoProbe
,lm90
)
142 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
145 define KernelPackage
/hwmon-lm90
/description
146 Kernel module for LM90 thermal monitor chip
149 $(eval
$(call KernelPackage
,hwmon-lm90
))
151 define KernelPackage
/hwmon-lm92
152 TITLE
:=LM92 monitoring support
153 KCONFIG
:=CONFIG_SENSORS_LM92
154 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm92.ko
155 AUTOLOAD
:=$(call AutoProbe
,lm92
)
156 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
159 define KernelPackage
/hwmon-lm92
/description
160 Kernel module for LM92 thermal monitor chip
163 $(eval
$(call KernelPackage
,hwmon-lm92
))
165 define KernelPackage
/hwmon-lm95241
166 TITLE
:=LM95241 monitoring support
167 KCONFIG
:=CONFIG_SENSORS_LM95241
168 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm95241.ko
169 AUTOLOAD
:=$(call AutoProbe
,lm95241
)
170 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
173 define KernelPackage
/hwmon-lm95241
/description
174 Kernel module for LM95241 thermal monitor chip
177 $(eval
$(call KernelPackage
,hwmon-lm95241
))
179 define KernelPackage
/hwmon-sht21
180 TITLE
:=Sensiron SHT21 and compat. monitoring support
181 KCONFIG
:=CONFIG_SENSORS_SHT21
182 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/sht21.ko
183 AUTOLOAD
:=$(call AutoProbe
,sht21
)
184 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
187 define KernelPackage
/hwmon-sht21
/description
188 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
191 $(eval
$(call KernelPackage
,hwmon-sht21
))
193 define KernelPackage
/hwmon-pc87360
194 TITLE
:=PC87360 monitoring support
195 KCONFIG
:=CONFIG_SENSORS_PC87360
196 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.ko
197 AUTOLOAD
:=$(call AutoProbe
,pc87360
)
198 $(call AddDepends
/hwmon
,@TARGET_x86
+kmod-hwmon-vid
)
201 define KernelPackage
/hwmon-pc87360
/description
202 Kernel modules for PC87360 chips
205 $(eval
$(call KernelPackage
,hwmon-pc87360
))
208 define KernelPackage
/hwmon-w83627hf
209 TITLE
:=Winbond W83627HF monitoring support
210 KCONFIG
:=CONFIG_SENSORS_W83627HF
211 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/w83627hf.ko
212 AUTOLOAD
:=$(call AutoLoad
,50,w83627hf
)
213 $(call AddDepends
/hwmon
,@TARGET_rdc||TARGET_x86
+kmod-hwmon-vid
)
216 define KernelPacakge
/hwmon-w83627hf
/description
217 Kernel module for the Winbond W83627HF chips.
220 $(eval
$(call KernelPackage
,hwmon-w83627hf
))
223 define KernelPackage
/hwmon-gsc
224 TITLE
:=Gateworks GSC monitoring support
225 KCONFIG
:=CONFIG_SENSORS_GSC
226 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/gsc.ko
227 AUTOLOAD
:=$(call AutoLoad
,60,gsc
)
228 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
231 define KernelPacakge
/hwmon-gsc
/description
232 Kernel module for the Gateworks System Controller chips.
235 $(eval
$(call KernelPackage
,hwmon-gsc
))