From patchwork Mon Aug 9 16:17:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wellsk40@gmail.com X-Patchwork-Id: 61325 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-gw0-f56.google.com (mail-gw0-f56.google.com [74.125.83.56]) by ozlabs.org (Postfix) with ESMTP id 080B8B70DE for ; Tue, 10 Aug 2010 09:17:06 +1000 (EST) Received: by gwb20 with SMTP id 20sf29707160gwb.11 for ; Mon, 09 Aug 2010 16:17:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:mime-version:x-beenthere:received :received:received:received:received-spf:received:received:received :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; bh=zVVAWS0Lq5b33FbNbhzROzfqIsovMdkzAtllZcAmQ50=; b=wGNraLNXJjCgNCpEBNmHKOtiwkwf8PZDzOJ/fqQyXSg/kE/VM0xXvW8cttBsveh8Wx AH35FctSIcqAIjs6JF1HrIZHzL8ThSE2jorKC0eXRnjMm+m3f8QDlMY+1G8Qrx4iQrSo 0TPyYkZETgsWtEfzhVzzf7Gr3O4WhDTPLHFME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; b=wi7SHVGVn+nPpBrC5Swpl0OXpBE2UPLGoPajRiwb+5WPzZlSx5Ufnf4IxiclKomFEF R7EaMB9U8bp8GNnY5+YIsABjyirzX4VV5fLw2acN4XGC53QEwHE41+uTc35WLHxbJlzZ ZLSoq2e14e9/eo8dVV0cVBo/+PYP9aherC4oA= Received: by 10.91.42.38 with SMTP id u38mr3066734agj.50.1281395824631; Mon, 09 Aug 2010 16:17:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.150.17.2 with SMTP id 2ls2664943ybq.0.p; Mon, 09 Aug 2010 16:17:04 -0700 (PDT) Received: by 10.150.58.20 with SMTP id g20mr9914446yba.0.1281395824438; Mon, 09 Aug 2010 16:17:04 -0700 (PDT) Received: by 10.150.58.20 with SMTP id g20mr9914445yba.0.1281395824402; Mon, 09 Aug 2010 16:17:04 -0700 (PDT) Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by gmr-mx.google.com with ESMTP id q2si3852770ybk.1.2010.08.09.16.17.03; Mon, 09 Aug 2010 16:17:03 -0700 (PDT) Received-SPF: pass (google.com: domain of wellsk40@gmail.com designates 209.85.213.44 as permitted sender) client-ip=209.85.213.44; Received: by ywa8 with SMTP id 8so4353964ywa.31 for ; Mon, 09 Aug 2010 16:17:03 -0700 (PDT) Received: by 10.150.58.20 with SMTP id g20mr18231742yba.83.1281395823186; Mon, 09 Aug 2010 16:17:03 -0700 (PDT) Received: from localhost.localdomain (66-193-100-242.static.twtelecom.net [66.193.100.242]) by mx.google.com with ESMTPS id q21sm5248219ybk.11.2010.08.09.16.17.01 (version=SSLv3 cipher=RC4-MD5); Mon, 09 Aug 2010 16:17:02 -0700 (PDT) From: wellsk40@gmail.com To: rtc-linux@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Kevin Wells , Durgesh Pattamatta Subject: [rtc-linux] [PATCH 2/2] rtc: Add support in Makefile/Kconfig for the LPC32XX RTC Date: Mon, 9 Aug 2010 09:17:30 -0700 Message-Id: <1281370650-29520-3-git-send-email-wellsk40@gmail.com> X-Mailer: git-send-email 1.7.1.1 In-Reply-To: <1281370650-29520-1-git-send-email-wellsk40@gmail.com> References: <1281370650-29520-1-git-send-email-wellsk40@gmail.com> X-Original-Sender: wellsk40@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wellsk40@gmail.com designates 209.85.213.44 as permitted sender) smtp.mail=wellsk40@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , From: Kevin Wells Enable build RTC support for the LPC32XX in makefile/Kconfig Signed-off-by: Kevin Wells Signed-off-by: Durgesh Pattamatta --- drivers/rtc/Kconfig | 9 +++++++++ drivers/rtc/Makefile | 1 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 4301a6c..8452788 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -916,4 +916,13 @@ config RTC_DRV_JZ4740 This driver can also be buillt as a module. If so, the module will be called rtc-jz4740. +config RTC_DRV_LPC32XX + depends on ARCH_LPC32XX + tristate "NXP LPC32XX RTC" + help + This enables support for the NXP RTC in the LPC32XX + + This driver can also be buillt as a module. If so, the module + will be called rtc-lpc32xx. + endif # RTC_CLASS diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index fedf9bb..3b8af95 100644 --- a/drivers/rtc/Makefile +++ b/drivers/rtc/Makefile @@ -48,6 +48,7 @@ obj-$(CONFIG_RTC_DRV_FM3130) += rtc-fm3130.o obj-$(CONFIG_RTC_DRV_GENERIC) += rtc-generic.o obj-$(CONFIG_RTC_DRV_ISL1208) += rtc-isl1208.o obj-$(CONFIG_RTC_DRV_JZ4740) += rtc-jz4740.o +obj-$(CONFIG_RTC_DRV_LPC32XX) += rtc-lpc32xx.o obj-$(CONFIG_RTC_DRV_M41T80) += rtc-m41t80.o obj-$(CONFIG_RTC_DRV_M41T94) += rtc-m41t94.o obj-$(CONFIG_RTC_DRV_M48T35) += rtc-m48t35.o