Changeset 44690


Ignore:
Timestamp:
2015-03-12T11:06:17+01:00 (3 years ago)
Author:
blogic
Message:

ralink: MT7621 add i2c controller driver

ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code.

Signed-off-by: daixj <fl.service@…>

Location:
trunk/target/linux/ramips
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/modules.mk

    r43300 r44690  
    2828  $(call i2c_defaults,$(I2C_RALINK_MODULES),59) 
    2929  TITLE:=Ralink I2C Controller 
    30   DEPENDS:=@TARGET_ramips kmod-i2c-core 
     30  DEPENDS:=@TARGET_ramips @(!TARGET_ramips_mt7621) kmod-i2c-core 
    3131endef 
    3232 
     
    3636 
    3737$(eval $(call KernelPackage,i2c-ralink)) 
     38 
     39 
     40I2C_MT7621_MODULES:= \ 
     41  CONFIG_I2C_MT7621:drivers/i2c/busses/i2c-mt7621 
     42 
     43define KernelPackage/i2c-mt7621 
     44  $(call i2c_defaults,$(I2C_MT7621_MODULES),59) 
     45  TITLE:=MT7621 I2C Controller 
     46  DEPENDS:=@TARGET_ramips @TARGET_ramips_mt7621 kmod-i2c-core 
     47endef 
     48 
     49define KernelPackage/i2c-mt7621/description 
     50 Kernel modules for enable mt7621 i2c controller. 
     51endef 
     52 
     53$(eval $(call KernelPackage,i2c-mt7621)) 
     54 
     55 
    3856 
    3957define KernelPackage/sound-mt7620 
Note: See TracChangeset for help on using the changeset viewer.