2 # Copyright (C) 2008-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 W1_MASTERS_DIR
:=$(LINUX_DIR
)/drivers
/w1
/masters
10 W1_SLAVES_DIR
:=$(LINUX_DIR
)/drivers
/w1
/slaves
12 define KernelPackage
/w1
14 TITLE
:=Dallas
's 1-wire support
17 FILES:=$(LINUX_DIR)/drivers/w1/wire.$(LINUX_KMOD_SUFFIX)
18 AUTOLOAD:=$(call AutoLoad,50,wire)
21 define KernelPackage/w1/description
22 Kernel module for Dallas's
1-wire support
25 $(eval
$(call KernelPackage
,w1
))
37 define KernelPackage
/w1-master-gpio
38 TITLE
:=GPIO
1-wire bus master driver
39 DEPENDS
:=@GPIO_SUPPORT
40 KCONFIG
:=CONFIG_W1_MASTER_GPIO
41 FILES
:=$(W1_MASTERS_DIR
)/w1-gpio.
$(LINUX_KMOD_SUFFIX
)
42 AUTOLOAD
:=$(call AutoLoad
,60,w1-gpio
)
46 define KernelPackage
/w1-master-gpio
/description
47 Kernel module for the GPIO
1-wire bus master driver
50 $(eval
$(call KernelPackage
,w1-master-gpio
))
56 define KernelPackage
/w1-slave-therm
57 TITLE
:=Thermal family implementation
58 KCONFIG
:=CONFIG_W1_SLAVE_THERM
59 FILES
:=$(W1_SLAVES_DIR
)/w1_therm.
$(LINUX_KMOD_SUFFIX
)
60 AUTOLOAD
:=$(call AutoLoad
,70,w1_therm
)
64 define KernelPackage
/w1-slave-therm
/description
65 Kernel module for
1-wire thermal sensors
68 $(eval
$(call KernelPackage
,w1-slave-therm
))
71 define KernelPackage
/w1-slave-smem
72 TITLE
:=Simple
64bit memory family implementation
73 KCONFIG
:=CONFIG_W1_SLAVE_SMEM
74 FILES
:=$(W1_SLAVES_DIR
)/w1_smem.
$(LINUX_KMOD_SUFFIX
)
75 AUTOLOAD
:=$(call AutoLoad
,70,w1_smem
)
79 define KernelPackage
/w1-slave-smem
/description
80 Kernel module for
1-wire simple
64bit memory rom
(ds2401
/ds2411
/ds1990
*)
83 $(eval
$(call KernelPackage
,w1-slave-smem
))
86 define KernelPackage
/w1-slave-ds2433
87 TITLE
:=Simple
64bit memory family implementation
89 CONFIG_W1_SLAVE_DS2433 \
90 CONFIG_W1_SLAVE_DS2433_CRC
=n
91 FILES
:=$(W1_SLAVES_DIR
)/w1_ds2433.
$(LINUX_KMOD_SUFFIX
)
92 AUTOLOAD
:=$(call AutoLoad
,70,w1_ds2433
)
96 define KernelPackage
/w1-slave-ds2433
/description
97 Kernel module for
1-wire simple
64bit memory rom
(ds2401
/ds2411
/ds1990
*)
100 $(eval
$(call KernelPackage
,w1-slave-ds2433
))
103 define KernelPackage
/w1-slave-ds2760
104 TITLE
:=Dallas
2760 battery monitor chip
(HP iPAQ
& others
)
106 CONFIG_W1_SLAVE_DS2760 \
107 CONFIG_W1_SLAVE_DS2433_CRC
=n
108 FILES
:=$(W1_SLAVES_DIR
)/w1_ds2760.
$(LINUX_KMOD_SUFFIX
)
109 AUTOLOAD
:=$(call AutoLoad
,70,w1_ds2760
)
110 $(call AddDepends
/w1
)
113 define KernelPackage
/w1-slave-ds2760
/description
114 Kernel module for
1-wire DS2760 battery monitor chip support
117 $(eval
$(call KernelPackage
,w1-slave-ds2760
))