Changeset 38185


Ignore:
Timestamp:
2013-09-25T20:00:33+02:00 (4 years ago)
Author:
juhosg
Message:

package/kernel: move I2C-GPIO drivers from i2c.mk to other.mk

Move pca953x support from i2c.mk to other.mk, where other
GPIO drivers are located. Remove duplicate pcf857x support
from i2c.mk.

Signed-off-by: Hartmut Knaack <knaack.h@…>
[juhosg: update subject, and reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@…>

Location:
trunk/package/kernel/linux/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/linux/modules/i2c.mk

    r38021 r38185  
    238238 
    239239$(eval $(call KernelPackage,i2c-mux-pca9541)) 
    240  
    241 GPIO_PCA953X_MODULES:= \ 
    242   CONFIG_GPIO_PCA953X:drivers/gpio/gpio-pca953x 
    243  
    244 define KernelPackage/pca953x 
    245   $(call i2c_defaults,$(GPIO_PCA953X_MODULES),51) 
    246   TITLE:=Philips PCA953x I2C GPIO extenders 
    247   DEPENDS:=kmod-i2c-core 
    248 endef 
    249  
    250 define KernelPackage/pca953x/description 
    251  Kernel modules for PCA953x I2C GPIO extenders 
    252 endef 
    253  
    254 $(eval $(call KernelPackage,pca953x)) 
    255  
    256  
    257 GPIO_PCF857X_MODULES:= \ 
    258   CONFIG_GPIO_PCF857X:drivers/gpio/gpio-pcf857x 
    259  
    260 define KernelPackage/pcf857x 
    261   $(call i2c_defaults,$(GPIO_PCF857X_MODULES),51) 
    262   TITLE:=Philips PCF857x I2C GPIO extenders 
    263   DEPENDS:=kmod-i2c-core 
    264 endef 
    265  
    266 define KernelPackage/pcf857x/description 
    267  Kernel modules for PCF857x I2C GPIO extenders 
    268 endef 
    269  
    270 $(eval $(call KernelPackage,pcf857x)) 
  • trunk/package/kernel/linux/modules/other.mk

    r38021 r38185  
    163163$(eval $(call KernelPackage,gpio-nxp-74hc164)) 
    164164 
     165define KernelPackage/gpio-pca953x 
     166  SUBMENU:=$(OTHER_MENU) 
     167  DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core 
     168  TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports 
     169  KCONFIG:=CONFIG_GPIO_PCA953X 
     170  FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko 
     171  AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x) 
     172endef 
     173 
     174define KernelPackage/gpio-pca953x/description 
     175 Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7}, 
     176 PCA957{4,5} and TCA64{08,16} I2C GPIO expanders 
     177endef 
     178 
     179$(eval $(call KernelPackage,gpio-pca953x)) 
     180 
    165181define KernelPackage/gpio-pcf857x 
    166182  SUBMENU:=$(OTHER_MENU) 
Note: See TracChangeset for help on using the changeset viewer.