From patchwork Wed Mar 6 19:07:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Maciej Nowak X-Patchwork-Id: 1052490 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=o2.pl Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sN4AL3Og"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="X2mj6Mwe"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44F3D55ClRz9sB3 for ; Thu, 7 Mar 2019 06:07:17 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=838k+Yg6JrynHzLUlGj8ngiqelIFOI1trZPOLW08L9c=; b=sN4AL3Og8Jvb6UiTqMoQyvXe0E SQh8ZjgrGLsL6PFQAF3zNkaaDwWsTkHiMhj2KltHBab4K+gtZ2j/yFIxHDfEhutHtHDIzzYTh4h0y lt8uK9Sc6ZXtjlUlvuV4BiY6K/9QahGLLYpidSvdrA5Soliod9jiymSBrntQFehwlhaat+qw3z0T4 gCt7078xM1zxLauk+va0O8cHaRvO6w426uR87QGKZZQcIgPUGN2xc5R+HEZwwUp7tJauRpZrAy88o Wo7cIhFxsW5OjyR0PW1+jQz71NVKonQx+e295cAxU2fnYazn6pmgd21lXA4119aMhINyA4bpz+JN9 xu8nfNMQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1bsd-0005xM-Sj; Wed, 06 Mar 2019 19:07:03 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1bsO-0005VY-0I for openwrt-devel@bombadil.infradead.org; Wed, 06 Mar 2019 19:06:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dEKDHurOGL+Xqw8SvbLQiyklVeGd/e0uJZ9yZxDbEJg=; b=X2mj6Mwe4ggz8oSSrPp/d8b9C8 bPaSwccNAnWltC9yx5u7mAkHEA1d+2OuopnmYkzWKzd0bi3PQyCj07X2G0KU583tg0ezEtX1TidB3 0wSo61liCi1h30Wl/Ju3BjKXTaeHukcQydFoqZzIXBdm/85nVWYeUjyLlieZwHE3rfvKaR6mrrTGH uF1Bwfu46acJdc4hCMbOni2JtrmdpfhM+3Zj2MOThrznKcQM8jah6QzvegymuFPjEiIj95YnD7Syu ZAg2Dq9oPvOK9/qKZD86p/XUJalznYjAihEOt5HjrkYpXpBbc0reU2V7OVHSOcSqFihidg+bXWmzV I+MyFiuQ==; Received: from mx-out.tlen.pl ([193.222.135.158]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1bsI-0001mu-SW for openwrt-devel@lists.openwrt.org; Wed, 06 Mar 2019 19:06:46 +0000 Received: (wp-smtpd smtp.tlen.pl 37082 invoked from network); 6 Mar 2019 20:06:08 +0100 Received: from 131.ip-164-132-48.eu (HELO localhost.localdomain) (tomek_n@o2.pl@[164.132.48.131]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 6 Mar 2019 20:06:08 +0100 From: Tomasz Maciej Nowak To: openwrt-devel@lists.openwrt.org Date: Wed, 6 Mar 2019 20:07:24 +0100 Message-Id: <20190306190726.4927-6-tomek_n@o2.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190306190726.4927-1-tomek_n@o2.pl> References: <20190304185326.9234-1-tomek_n@o2.pl> <20190306190726.4927-1-tomek_n@o2.pl> MIME-Version: 1.0 X-WP-MailID: 92fdc14650267f6f8f30528a4f02b9fa X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [ceNE] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190306_190643_038513_DF6B7CF9 X-CRM114-Status: UNSURE ( 6.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on casper.infradead.org summary: Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tomek_n[at]o2.pl) Subject: [OpenWrt-Devel] [PATCH v2 5/7] kernel: package rtc-em3027 module X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Support for Microelectronic EM3027 real time clock chip. Signed-off-by: Tomasz Maciej Nowak --- package/kernel/linux/modules/other.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 220452df9b..e279616f20 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -528,6 +528,24 @@ endef $(eval $(call KernelPackage,rtc-ds1672)) +define KernelPackage/rtc-em3027 + SUBMENU:=$(OTHER_MENU) + TITLE:=Microelectronic EM3027 RTC support + DEFAULT:=m if ALL_KMODS && RTC_SUPPORT + DEPENDS:=+kmod-i2c-core + KCONFIG:=CONFIG_RTC_DRV_EM3027 \ + CONFIG_RTC_CLASS=y + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-em3027.ko + AUTOLOAD:=$(call AutoProbe,rtc-em3027) +endef + +define KernelPackage/rtc-em3027/description + Kernel module for Microelectronic EM3027 RTC. +endef + +$(eval $(call KernelPackage,rtc-em3027)) + + define KernelPackage/rtc-isl1208 SUBMENU:=$(OTHER_MENU) TITLE:=Intersil ISL1208 RTC support