2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
11 define KernelPackage
/i2c-core
19 $(LINUX_DIR
)/drivers
/i2c
/i2c-core.
$(LINUX_KMOD_SUFFIX
) \
20 $(LINUX_DIR
)/drivers
/i2c
/i2c-dev.
$(LINUX_KMOD_SUFFIX
)
21 AUTOLOAD
:=$(call AutoLoad
,51,i2c-core i2c-dev
)
24 define KernelPackage
/i2c-core
/description
25 Kernel modules for I2C support
28 $(eval
$(call KernelPackage
,i2c-core
))
31 define KernelPackage
/i2c-algo-bit
33 TITLE
:=I2C bit-banging interfaces
34 DEPENDS
:=kmod-i2c-core
35 KCONFIG
:=CONFIG_I2C_ALGOBIT
36 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/algos
/i2c-algo-bit.
$(LINUX_KMOD_SUFFIX
)
37 AUTOLOAD
:=$(call AutoLoad
,55,i2c-algo-bit
)
40 define KernelPackage
/i2c-algo-bit
/description
41 Kernel modules for I2C bit-banging interfaces.
44 $(eval
$(call KernelPackage
,i2c-algo-bit
))
47 define KernelPackage
/i2c-algo-pca
49 TITLE
:=I2C PCA
9564 interfaces
50 DEPENDS
:=kmod-i2c-core
51 KCONFIG
:=CONFIG_I2C_ALGOPCA
52 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/algos
/i2c-algo-pca.
$(LINUX_KMOD_SUFFIX
)
53 AUTOLOAD
:=$(call AutoLoad
,55,i2c-algo-pca
)
56 define KernelPackage
/i2c-algo-pca
/description
57 Kernel modules for I2C PCA
9564 interfaces.
60 $(eval
$(call KernelPackage
,i2c-algo-pca
))
63 define KernelPackage
/i2c-algo-pcf
65 TITLE
:=I2C PCF
8584 interfaces
66 DEPENDS
:=kmod-i2c-core
67 KCONFIG
:=CONFIG_I2C_ALGOPCF
68 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/algos
/i2c-algo-pcf.
$(LINUX_KMOD_SUFFIX
)
69 AUTOLOAD
:=$(call AutoLoad
,55,i2c-algo-pcf
)
72 define KernelPackage
/i2c-algo-pcf
/description
73 Kernel modules for I2C PCF
8584 interfaces
76 $(eval
$(call KernelPackage
,i2c-algo-pcf
))
79 define KernelPackage
/i2c-gpio
81 TITLE
:=GPIO-based bitbanging I2C
82 DEPENDS
:=@GPIO_SUPPORT
+kmod-i2c-algo-bit
83 KCONFIG
:=CONFIG_I2C_GPIO
84 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/busses
/i2c-gpio.
$(LINUX_KMOD_SUFFIX
)
85 AUTOLOAD
:=$(call AutoLoad
,59,i2c-gpio
)
88 define KernelPackage
/i2c-gpio
/description
89 Kernel modules for a very simple bitbanging I2C driver utilizing the
90 arch-neutral GPIO API to control the SCL and SDA lines.
93 $(eval
$(call KernelPackage
,i2c-gpio
))
96 define KernelPackage
/i2c-scx200
98 TITLE
:=Geode SCx200 I2C using GPIO pins
99 DEPENDS
:=@PCI_SUPPORT @TARGET_x86
+kmod-i2c-algo-bit
100 KCONFIG
:=CONFIG_SCx200_I2C \
101 CONFIG_SCx200_I2C_SCL
=12 \
102 CONFIG_SCx200_I2C_SDA
=13
103 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/busses
/scx200_i2c.
$(LINUX_KMOD_SUFFIX
)
104 AUTOLOAD
:=$(call AutoLoad
,59,scx200_i2c
)
107 define KernelPackage
/i2c-scx200
/description
108 Kernel module for I2C using GPIO pins on the Geode SCx200 processors.
111 $(eval
$(call KernelPackage
,i2c-scx200
))
114 define KernelPackage
/i2c-scx200-acb
116 TITLE
:=Geode SCx200 ACCESS.bus support
117 DEPENDS
:=@PCI_SUPPORT @TARGET_x86
+kmod-i2c-algo-bit
118 KCONFIG
:=CONFIG_SCx200_ACB
119 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/busses
/scx200_acb.
$(LINUX_KMOD_SUFFIX
)
120 AUTOLOAD
:=$(call AutoLoad
,59,scx200_acb
)
123 define KernelPackage
/i2c-scx200-acb
/description
124 Kernel module for I2C using the ACCESS.bus controllers on the Geode SCx200
125 and SC1100 processors and the CS5535 and CS5536 Geode companion devices.
128 $(eval
$(call KernelPackage
,i2c-scx200-acb
))