From patchwork Tue Jul 14 21:40:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 495268 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id E99B914076E for ; Wed, 15 Jul 2015 07:41:12 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id B70C128C621; Tue, 14 Jul 2015 23:40:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 69E6B28C621 for ; Tue, 14 Jul 2015 23:40:02 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -7.6 Received: from fudo.makrotopia.org (fudo.makrotopia.org [5.135.190.93]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Tue, 14 Jul 2015 23:39:59 +0200 (CEST) Received: from local by fudo.makrotopia.org with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ZF7w4-00051b-VU; Tue, 14 Jul 2015 23:40:21 +0200 Date: Tue, 14 Jul 2015 23:40:17 +0200 From: Daniel Golle To: openwrt-devel@lists.openwrt.org Message-ID: <20150714214002.GA12846@makrotopia.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23+89 (0255b37be491) (2014-03-12) Subject: [OpenWrt-Devel] [PATCH 1/3] kernel: add Ricoh RS5C372 RTC module support X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Daniel Golle --- package/kernel/linux/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 473f063..b4907f4 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -643,6 +643,21 @@ endef $(eval $(call KernelPackage,rtc-pt7c4338)) +define KernelPackage/rtc-rs5c372 + SUBMENU:=$(OTHER_MENU) + TITLE:=Ricoh RS5C372A/B (and compatbile) RTC support + DEPENDS:=@RTC_SUPPORT +kmod-i2c-core + KCONFIG:=CONFIG_RTC_DRV_RS5C372 + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko + AUTOLOAD:=$(call AutoProbe,rtc-rs5c372) +endef + +define KernelPackage/rtc-rs5c372/description + Kernel module for Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386 + and RV5C387A RTC chips +endef + +$(eval $(call KernelPackage,rtc-rs5c372)) define KernelPackage/mtdtests SUBMENU:=$(OTHER_MENU)