From mboxrd@z Thu Jan 1 00:00:00 1970 From: wellsk40@gmail.com (wellsk40 at gmail.com) Date: Mon, 9 Aug 2010 09:17:30 -0700 Subject: [PATCH 2/2] rtc: Add support in Makefile/Kconfig for the LPC32XX RTC In-Reply-To: <1281370650-29520-1-git-send-email-wellsk40@gmail.com> References: <1281370650-29520-1-git-send-email-wellsk40@gmail.com> Message-ID: <1281370650-29520-3-git-send-email-wellsk40@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 -- 1.7.1.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757272Ab0HIXRM (ORCPT ); Mon, 9 Aug 2010 19:17:12 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:50797 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757247Ab0HIXRD (ORCPT ); Mon, 9 Aug 2010 19:17:03 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=PLY/er047DfIstMe48pX0UHzxhCJ8ckb8d7hwkMZWDKljKlaRGYN/M5NfXrYeCSqwL FTK4Py3qyBX3arYnM5DSZlRLwoZ0wMr8OYHdm8xAgITMVpC1vQbCZ2LK+4NqCZKc8t1w ch4utc250T9t/2C0mpNHWHqLXvXmmzXcRqY0s= 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: [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> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 1.7.1.1