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.
10 define KernelPackage
/i2c-core
18 $(LINUX_DIR
)/drivers
/i2c
/i2c-core.
$(LINUX_KMOD_SUFFIX
) \
19 $(LINUX_DIR
)/drivers
/i2c
/i2c-dev.
$(LINUX_KMOD_SUFFIX
)
20 AUTOLOAD
:=$(call AutoLoad
,51,i2c-core i2c-dev
)
23 define KernelPackage
/i2c-core
/description
24 Kernel modules for I2C support
27 $(eval
$(call KernelPackage
,i2c-core
))
30 define KernelPackage
/i2c-algo-bit
32 TITLE
:=I2C bit-banging interfaces
33 DEPENDS
:=kmod-i2c-core
34 KCONFIG
:=CONFIG_I2C_ALGOBIT
35 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/algos
/i2c-algo-bit.
$(LINUX_KMOD_SUFFIX
)
36 AUTOLOAD
:=$(call AutoLoad
,55,i2c-algo-bit
)
39 define KernelPackage
/i2c-algo-bit
/description
40 Kernel modules for I2C bit-banging interfaces.
43 $(eval
$(call KernelPackage
,i2c-algo-bit
))
46 define KernelPackage
/i2c-algo-pca
48 TITLE
:=I2C PCA
9564 interfaces
49 DEPENDS
:=kmod-i2c-core
50 KCONFIG
:=CONFIG_I2C_ALGOPCA
51 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/algos
/i2c-algo-pca.
$(LINUX_KMOD_SUFFIX
)
52 AUTOLOAD
:=$(call AutoLoad
,55,i2c-algo-pca
)
55 define KernelPackage
/i2c-algo-pca
/description
56 Kernel modules for I2C PCA
9564 interfaces.
59 $(eval
$(call KernelPackage
,i2c-algo-pca
))
62 define KernelPackage
/i2c-algo-pcf
64 TITLE
:=I2C PCF
8584 interfaces
65 DEPENDS
:=kmod-i2c-core
66 KCONFIG
:=CONFIG_I2C_ALGOPCF
67 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/algos
/i2c-algo-pcf.
$(LINUX_KMOD_SUFFIX
)
68 AUTOLOAD
:=$(call AutoLoad
,55,i2c-algo-pcf
)
71 define KernelPackage
/i2c-algo-pcf
/description
72 Kernel modules for I2C PCF
8584 interfaces
75 $(eval
$(call KernelPackage
,i2c-algo-pcf
))
78 define KernelPackage
/i2c-gpio
80 TITLE
:=GPIO-based bitbanging I2C
81 DEPENDS
:=@GPIO_SUPPORT
+kmod-i2c-algo-bit
82 KCONFIG
:=CONFIG_I2C_GPIO
83 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/busses
/i2c-gpio.
$(LINUX_KMOD_SUFFIX
)
84 AUTOLOAD
:=$(call AutoLoad
,59,i2c-gpio
)
87 define KernelPackage
/i2c-gpio
/description
88 Kernel modules for a very simple bitbanging I2C driver utilizing the
89 arch-neutral GPIO API to control the SCL and SDA lines.
92 $(eval
$(call KernelPackage
,i2c-gpio
))
95 define KernelPackage
/i2c-scx200
97 TITLE
:=Geode SCx200 I2C using GPIO pins
98 DEPENDS
:=@PCI_SUPPORT @TARGET_x86
+kmod-i2c-algo-bit
99 KCONFIG
:=CONFIG_SCx200_I2C \
100 CONFIG_SCx200_I2C_SCL
=12 \
101 CONFIG_SCx200_I2C_SDA
=13
102 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/busses
/scx200_i2c.
$(LINUX_KMOD_SUFFIX
)
103 AUTOLOAD
:=$(call AutoLoad
,59,scx200_i2c
)
106 define KernelPackage
/i2c-scx200
/description
107 Kernel module for I2C using GPIO pins on the Geode SCx200 processors.
110 $(eval
$(call KernelPackage
,i2c-scx200
))
113 define KernelPackage
/i2c-scx200-acb
115 TITLE
:=Geode SCx200 ACCESS.bus support
116 DEPENDS
:=@PCI_SUPPORT @TARGET_x86
+kmod-i2c-algo-bit
117 KCONFIG
:=CONFIG_SCx200_ACB
118 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/busses
/scx200_acb.
$(LINUX_KMOD_SUFFIX
)
119 AUTOLOAD
:=$(call AutoLoad
,59,scx200_acb
)
122 define KernelPackage
/i2c-scx200-acb
/description
123 Kernel module for I2C using the ACCESS.bus controllers on the Geode SCx200
124 and SC1100 processors and the CS5535 and CS5536 Geode companion devices.
127 $(eval
$(call KernelPackage
,i2c-scx200-acb
))
129 define KernelPackage
/of-i2c
131 TITLE
:=OpenFirmware I2C accessors
132 DEPENDS
:=@TARGET_ppc40x||TARGET_ppc4xx kmod-i2c-core
133 KCONFIG
:=CONFIG_OF_I2C
134 FILES
:=$(LINUX_DIR
)/drivers
/of
/of_i2c.
$(LINUX_KMOD_SUFFIX
)
135 AUTOLOAD
:=$(call AutoLoad
,58,of_i2c
)
138 define KernelPackage
/of-i2c
/description
139 Kernel module for OpenFirmware I2C accessors.
142 $(eval
$(call KernelPackage
,of-i2c
))
145 define KernelPackage
/i2c-ibm-iic
147 TITLE
:=IBM PPC
4xx on-chip I2C interface support
148 DEPENDS
:=@TARGET_ppc40x||TARGET_ppc4xx
+kmod-i2c-core
+kmod-of-i2c
149 KCONFIG
:=CONFIG_I2C_IBM_IIC
150 FILES
:=$(LINUX_DIR
)/drivers
/i2c
/busses
/i2c-ibm_iic.
$(LINUX_KMOD_SUFFIX
)
151 AUTOLOAD
:=$(call AutoLoad
,59,i2c-ibm_iic
)
154 define KernelPackage
/i2c-ibm-iic
/description
155 Kernel module for IIC peripheral found on embedded IBM PPC4xx based systems.
158 $(eval
$(call KernelPackage
,i2c-ibm-iic
))