From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from bh-25.webhostbox.net ([208.91.199.152]:34502 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbaLOOSG (ORCPT ); Mon, 15 Dec 2014 09:18:06 -0500 Received: from mailnull by bh-25.webhostbox.net with sa-checked (Exim 4.82) (envelope-from ) id 1Y0WTO-003URJ-Ed for linux-watchdog@vger.kernel.org; Mon, 15 Dec 2014 14:18:06 +0000 Message-ID: <548EED97.60604@roeck-us.net> Date: Mon, 15 Dec 2014 06:17:59 -0800 From: Guenter Roeck MIME-Version: 1.0 To: Lee Jones , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org CC: kernel@stlinux.com, a.zummo@towertech.it, rtc-linux@googlegroups.com, wim@iguana.be, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 7/8] rtc: st: add new driver for ST's LPC RTC References: <1418642738-17407-1-git-send-email-lee.jones@linaro.org> <1418642738-17407-8-git-send-email-lee.jones@linaro.org> In-Reply-To: <1418642738-17407-8-git-send-email-lee.jones@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org On 12/15/2014 03:25 AM, Lee Jones wrote: > ST's Low Power Controller (LPC) controls two devices; watchdog and RTC. > Only one of the devices can be used at any one time. This is enforced > by the correlating MFD driver. This portion of the driver-set controls > the Real Time Clock. > > Signed-off-by: Lee Jones > --- > drivers/rtc/Kconfig | 13 ++ > drivers/rtc/Makefile | 1 + > drivers/rtc/rtc-st-lpc.c | 330 +++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 344 insertions(+) > create mode 100644 drivers/rtc/rtc-st-lpc.c > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > index a168e96..aa4bd90 100644 > --- a/drivers/rtc/Kconfig > +++ b/drivers/rtc/Kconfig > @@ -1355,6 +1355,18 @@ config RTC_DRV_SIRFSOC > Say "yes" here to support the real time clock on SiRF SOC chips. > This driver can also be built as a module called rtc-sirfsoc. > > +config RTC_DRV_ST_LPC > + tristate "STMicroelectronics LPC RTC" > + depends on ARCH_STI > + depends on OF > + select MFD_ST_LPC > + help > + Say Y here to include STMicroelectronics Low Power Controller > + (LPC) based RTC support. > + > + To compile this driver as a module, choose M here: the > + module will be called rtc-st-lpc. > + > config RTC_DRV_MOXART > tristate "MOXA ART RTC" > depends on ARCH_MOXART || COMPILE_TEST > @@ -1390,4 +1402,5 @@ config RTC_DRV_HID_SENSOR_TIME > rtc-hid-sensor-time. > > > + Hi Lee, Yet another empty line ? Guenter From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@roeck-us.net (Guenter Roeck) Date: Mon, 15 Dec 2014 06:17:59 -0800 Subject: [PATCH 7/8] rtc: st: add new driver for ST's LPC RTC In-Reply-To: <1418642738-17407-8-git-send-email-lee.jones@linaro.org> References: <1418642738-17407-1-git-send-email-lee.jones@linaro.org> <1418642738-17407-8-git-send-email-lee.jones@linaro.org> Message-ID: <548EED97.60604@roeck-us.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 12/15/2014 03:25 AM, Lee Jones wrote: > ST's Low Power Controller (LPC) controls two devices; watchdog and RTC. > Only one of the devices can be used at any one time. This is enforced > by the correlating MFD driver. This portion of the driver-set controls > the Real Time Clock. > > Signed-off-by: Lee Jones > --- > drivers/rtc/Kconfig | 13 ++ > drivers/rtc/Makefile | 1 + > drivers/rtc/rtc-st-lpc.c | 330 +++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 344 insertions(+) > create mode 100644 drivers/rtc/rtc-st-lpc.c > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > index a168e96..aa4bd90 100644 > --- a/drivers/rtc/Kconfig > +++ b/drivers/rtc/Kconfig > @@ -1355,6 +1355,18 @@ config RTC_DRV_SIRFSOC > Say "yes" here to support the real time clock on SiRF SOC chips. > This driver can also be built as a module called rtc-sirfsoc. > > +config RTC_DRV_ST_LPC > + tristate "STMicroelectronics LPC RTC" > + depends on ARCH_STI > + depends on OF > + select MFD_ST_LPC > + help > + Say Y here to include STMicroelectronics Low Power Controller > + (LPC) based RTC support. > + > + To compile this driver as a module, choose M here: the > + module will be called rtc-st-lpc. > + > config RTC_DRV_MOXART > tristate "MOXA ART RTC" > depends on ARCH_MOXART || COMPILE_TEST > @@ -1390,4 +1402,5 @@ config RTC_DRV_HID_SENSOR_TIME > rtc-hid-sensor-time. > > > + Hi Lee, Yet another empty line ? Guenter From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH 7/8] rtc: st: add new driver for ST's LPC RTC Date: Mon, 15 Dec 2014 06:17:59 -0800 Message-ID: <548EED97.60604@roeck-us.net> References: <1418642738-17407-1-git-send-email-lee.jones@linaro.org> <1418642738-17407-8-git-send-email-lee.jones@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1418642738-17407-8-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Sender: linux-watchdog-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Lee Jones , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org, a.zummo-BfzFCNDTiLLj+vYz1yj4TQ@public.gmane.org, rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, wim-IQzOog9fTRqzQB+pC5nmwQ@public.gmane.org, linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On 12/15/2014 03:25 AM, Lee Jones wrote: > ST's Low Power Controller (LPC) controls two devices; watchdog and RTC. > Only one of the devices can be used at any one time. This is enforced > by the correlating MFD driver. This portion of the driver-set controls > the Real Time Clock. > > Signed-off-by: Lee Jones > --- > drivers/rtc/Kconfig | 13 ++ > drivers/rtc/Makefile | 1 + > drivers/rtc/rtc-st-lpc.c | 330 +++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 344 insertions(+) > create mode 100644 drivers/rtc/rtc-st-lpc.c > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > index a168e96..aa4bd90 100644 > --- a/drivers/rtc/Kconfig > +++ b/drivers/rtc/Kconfig > @@ -1355,6 +1355,18 @@ config RTC_DRV_SIRFSOC > Say "yes" here to support the real time clock on SiRF SOC chips. > This driver can also be built as a module called rtc-sirfsoc. > > +config RTC_DRV_ST_LPC > + tristate "STMicroelectronics LPC RTC" > + depends on ARCH_STI > + depends on OF > + select MFD_ST_LPC > + help > + Say Y here to include STMicroelectronics Low Power Controller > + (LPC) based RTC support. > + > + To compile this driver as a module, choose M here: the > + module will be called rtc-st-lpc. > + > config RTC_DRV_MOXART > tristate "MOXA ART RTC" > depends on ARCH_MOXART || COMPILE_TEST > @@ -1390,4 +1402,5 @@ config RTC_DRV_HID_SENSOR_TIME > rtc-hid-sensor-time. > > > + Hi Lee, Yet another empty line ? Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html