- SUBMENU:=$(I2CMENU)
- KCONFIG:=$(CONFIG_I2C_ALGOBIT)
- FILES:=$(MODULES_DIR)/kernel/drivers/i2c/algos/*.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,60,i2c-algo-bit i2c-algo-pcf i2c-algo-pca)
+ KCONFIG:=CONFIG_I2C_ALGOPCF
+ FILES:=$(LINUX_DIR)/drivers/i2c/algos/i2c-algo-pcf.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,55,i2c-algo-pcf)
+endef
+
+define KernelPackage/i2c-algo-pcf/description
+ Kernel modules for I2C PCF 8584 interfaces
+endef
+
+$(eval $(call KernelPackage,i2c-algo-pcf))
+
+
+define KernelPackage/i2c-gpio
+ SUBMENU:=$(I2C_MENU)
+ TITLE:=GPIO-based bitbanging I2C
+ DEPENDS:=kmod-i2c-core +kmod-i2c-algo-bit
+ KCONFIG:=CONFIG_I2C_GPIO
+ FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-gpio.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,59,i2c-gpio)
+endef
+
+define KernelPackage/i2c-gpio/description
+ Kernel modules for a very simple bitbanging I2C driver utilizing the
+ arch-neutral GPIO API to control the SCL and SDA lines.
+endef
+
+$(eval $(call KernelPackage,i2c-gpio))
+
+
+define KernelPackage/i2c-scx200
+ SUBMENU:=$(I2C_MENU)
+ TITLE:=Geode ACCESS.bus support
+ DEPENDS:=@PCI_SUPPORT @TARGET_x86 kmod-i2c-core +kmod-i2c-algo-bit
+ KCONFIG:=CONFIG_SCx200_ACB
+ FILES:=$(LINUX_DIR)/drivers/i2c/busses/scx200_acb.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,59,scx200_acb)