Ignore:
Timestamp:
2010-12-10T16:17:06+01:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: add rtc modules for nbg460n

This adds the rtc-class and rtc-pcf8563 modules for the
real time clock used in the NBG460N/550N/550NH.

Signed-off-by: Michael Kurz <michi.kurz@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/other.mk

    r23902 r24420  
    137137  TITLE:=CRC32 library support 
    138138  KCONFIG:=CONFIG_LIBCRC32C 
    139   DEPENDS:=+kmod-crypto-core +kmod-crypto-misc  
     139  DEPENDS:=+kmod-crypto-core +kmod-crypto-misc 
    140140  FILES:=$(LINUX_DIR)/lib/libcrc32c.ko 
    141141  AUTOLOAD:=$(call AutoLoad,20,crc32c libcrc32c,1) 
     
    565565define KernelPackage/ledtrig-netfilter/description 
    566566 Kernel module to flash LED when a particular packets passing through your machine. 
    567   
     567 
    568568 For example to create an LED trigger for incoming SSH traffic: 
    569569    iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000 
     
    785785$(eval $(call KernelPackage,wdt-scx200)) 
    786786 
    787  
    788787define KernelPackage/pwm 
    789788  SUBMENU:=$(OTHER_MENU) 
     
    815814 
    816815$(eval $(call KernelPackage,pwm-gpio)) 
     816 
     817define KernelPackage/rtc-core 
     818  SUBMENU:=$(OTHER_MENU) 
     819  TITLE:=Real Time Clock class support 
     820  DEPENDS:=@LINUX_2_6 
     821  KCONFIG:=CONFIG_RTC_CLASS 
     822  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.$(LINUX_KMOD_SUFFIX) 
     823  AUTOLOAD:=$(call AutoLoad,29,rtc-core) 
     824endef 
     825 
     826define KernelPackage/rtc-core/description 
     827 Generic RTC class support. 
     828endef 
     829 
     830$(eval $(call KernelPackage,rtc-core)) 
     831 
     832define KernelPackage/rtc-pcf8563 
     833  SUBMENU:=$(OTHER_MENU) 
     834  TITLE:=Philips PCF8563/Epson RTC8564 RTC support 
     835  DEPENDS:=+kmod-rtc-core 
     836  KCONFIG:=CONFIG_RTC_DRV_PCF8563 
     837  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.$(LINUX_KMOD_SUFFIX) 
     838  AUTOLOAD:=$(call AutoLoad,30,rtc-pcf8563) 
     839endef 
     840 
     841define KernelPackage/rtc-pcf8563/description 
     842 Kernel module for Philips PCF8563 RTC chip. 
     843 The Epson RTC8564 should work as well. 
     844endef 
     845 
     846$(eval $(call KernelPackage,rtc-pcf8563)) 
Note: See TracChangeset for help on using the changeset viewer.