2 # Copyright (C) 2008 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
))
36 define KernelPackage
/w1-master-gpio
37 $(call w1dep
,@GPIO_SUPPORT
)
38 TITLE
:=GPIO
1-wire bus master driver
39 KCONFIG
:=CONFIG_W1_MASTER_GPIO
40 FILES
:=$(W1_MASTERS_DIR
)/w1-gpio.
$(LINUX_KMOD_SUFFIX
)
41 AUTOLOAD
:=$(call AutoLoad
,51,w1-gpio
)
44 define KernelPackage
/w1-master-gpio
/description
45 Kernel module for the GPIO
1-wire bus master driver
48 $(eval
$(call KernelPackage
,w1-master-gpio
))
55 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
,52,w1_therm
)
63 define KernelPackage
/w1-slave-therm
/description
64 Kernel module for
1-wire thermal sensors
67 $(eval
$(call KernelPackage
,w1-slave-therm
))
70 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
,52,w1_smem
)
78 define KernelPackage
/w1-slave-smem
/description
79 Kernel module for
1-wire simple
64bit memory rom
(ds2401
/ds2411
/ds1990
*)
82 $(eval
$(call KernelPackage
,w1-slave-smem
))
84 define KernelPackage
/w1-slave-ds2433
86 TITLE
:=Simple
64bit memory family implementation
88 CONFIG_W1_SLAVE_DS2433 \
89 CONFIG_W1_SLAVE_DS2433_CRC
=n
90 FILES
:=$(W1_SLAVES_DIR
)/w1_ds2433.
$(LINUX_KMOD_SUFFIX
)
91 AUTOLOAD
:=$(call AutoLoad
,52,w1_ds2433
)
94 define KernelPackage
/w1-slave-ds2433
/description
95 Kernel module for
1-wire simple
64bit memory rom
(ds2401
/ds2411
/ds1990
*)
98 $(eval
$(call KernelPackage
,w1-slave-ds2433
))
101 define KernelPackage
/w1-slave-ds2760
103 TITLE
:=Dallas
2760 battery monitor chip
(HP iPAQ
& others
)
105 CONFIG_W1_SLAVE_DS2760 \
106 CONFIG_W1_SLAVE_DS2433_CRC
=n
107 FILES
:=$(W1_SLAVES_DIR
)/w1_ds2760.
$(LINUX_KMOD_SUFFIX
)
108 AUTOLOAD
:=$(call AutoLoad
,52,w1_ds2760
)
111 define KernelPackage
/w1-slave-ds2760
/description
112 Kernel module for
1-wire DS2760 battery monitor chip support
115 $(eval
$(call KernelPackage
,w1-slave-ds2760
))