kernel: allow hwmon GSC driver for all targets

- enable using hwmon GSC driver on all targets
- add a kmod package for it

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37933
master
Luka Perkov 11 years ago
parent 35d2b601aa
commit 7d73153e86
  1. 15
      package/kernel/linux/modules/hwmon.mk
  2. 2
      target/linux/generic/patches-3.10/880-gateworks_system_controller.patch
  3. 2
      target/linux/generic/patches-3.3/880-gateworks_system_controller.patch
  4. 2
      target/linux/generic/patches-3.6/880-gateworks_system_controller.patch
  5. 2
      target/linux/generic/patches-3.8/880-gateworks_system_controller.patch
  6. 2
      target/linux/generic/patches-3.9/880-gateworks_system_controller.patch

@ -219,3 +219,18 @@ define KernelPacakge/hwmon-w83627hf/description
endef
$(eval $(call KernelPackage,hwmon-w83627hf))
define KernelPackage/hwmon-gsc
TITLE:=Gateworks GSC monitoring support
KCONFIG:=CONFIG_SENSORS_GSC
FILES:=$(LINUX_DIR)/drivers/hwmon/gsc.ko
AUTOLOAD:=$(call AutoLoad,50,gsc)
$(call AddDepends/hwmon)
endef
define KernelPacakge/hwmon-gsc/description
Kernel module for the Gateworks System Controller chips.
endef
$(eval $(call KernelPackage,hwmon-gsc))

@ -6,7 +6,7 @@
+config SENSORS_GSC
+ tristate "Gateworks System Controller"
+ depends on I2C && (ARCH_DAVINCI || ARCH_CNS3XXX || ARCH_IXP4XX)
+ depends on I2C
+ help
+ If you say yes here you get support for the Gateworks System Controller.
+

@ -6,7 +6,7 @@
+config SENSORS_GSC
+ tristate "Gateworks System Controller"
+ depends on I2C && (ARCH_DAVINCI || ARCH_CNS3XXX || ARCH_IXP4XX)
+ depends on I2C
+ help
+ If you say yes here you get support for the Gateworks System Controller.
+

@ -6,7 +6,7 @@
+config SENSORS_GSC
+ tristate "Gateworks System Controller"
+ depends on I2C && (ARCH_DAVINCI || ARCH_CNS3XXX || ARCH_IXP4XX)
+ depends
+ help
+ If you say yes here you get support for the Gateworks System Controller.
+

@ -6,7 +6,7 @@
+config SENSORS_GSC
+ tristate "Gateworks System Controller"
+ depends on I2C && (ARCH_DAVINCI || ARCH_CNS3XXX || ARCH_IXP4XX)
+ depends on I2C
+ help
+ If you say yes here you get support for the Gateworks System Controller.
+

@ -6,7 +6,7 @@
+config SENSORS_GSC
+ tristate "Gateworks System Controller"
+ depends on I2C && (ARCH_DAVINCI || ARCH_CNS3XXX || ARCH_IXP4XX)
+ depends on I2C
+ help
+ If you say yes here you get support for the Gateworks System Controller.
+

Loading…
Cancel
Save