devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com,
	wim@iguana.be, linux-watchdog@vger.kernel.org,
	devicetree@vger.kernel.org, linux@roeck-us.net,
	david.paris@st.com, a.zummo@towertech.it
Cc: lee.jones@linaro.org, kernel@stlinux.com
Subject: [PATCH v6 0/9] mfd: watchdog: rtc: New driver for ST's LPC IP
Date: Tue, 24 Mar 2015 09:25:31 +0000	[thread overview]
Message-ID: <1427189140-1935-1-git-send-email-lee.jones@linaro.org> (raw)

[Alessandro: This just needs RTC Acks now]

ST's Low Power Controller (LPC) controls two devices; watchdog and RTC.
Only one of the devices can be used at any one time, which is enforced
by the Device Driver model.

This driver set provides everything you need to choose one (and only
one) of the LPC devices to run per I/P block, of which there are two
on the enabled STiH407 h/w.

Version 6:
 - RTC: GPL v2 => GPL to reflect the information in the header
 - Applied another Reviewed-by from Guenter
 
Version 5:
 - Disable WDT clock over suspend
 - WDT: GPL v2 => GPL to reflect the information in the header
 - Change module name in Kconfig help and file header

Version 4:
 - Use {readl,writel}_relaxed() calls
 - Add Guenter's Reviewed-by
 - Rebased onto v4.0-rc1

Version 3:
 - Move Regmap pointer into core device data structure
 - Remove error message from devm_ioremap_resource

Version 2:
 - Only calculate keepalive once in probe()
 - Check for a 0 clk_rate
 - Set limits using predefined attributes from watchdog_device
 - CONFIG_PM => CONFIG_SLEEP
 - Call st_wdog_setup() on resume
 - Remove MFD driver -- instead rely on driver probing mechanism
   which continues attempting to bind to different drivers until
   one does not return -ENODEV

Lee Jones (9):
  mfd: dt-bindings: Provide human readable defines for LPC mode choosing
  ARM: multi_v7_defconfig: Enable support for ST's LPC Watchdog
  ARM: multi_v7_defconfig: Enable support for ST's LPC RTC
  ARM: STi: DT: STiH407: Add Device Tree node for the LPC
  watchdog: bindings: Provide ST bindings for ST's LPC Watchdog device
  watchdog: st_wdt: Add new driver for ST's LPC Watchdog
  rtc: bindings: Provide ST bindings for ST's LPC RTC device
  rtc: st: add new driver for ST's LPC RTC
  MAINTAINERS: Add Watchdog and RTC files to STI's maintainer entry

 .../devicetree/bindings/rtc/rtc-st-lpc.txt         |  25 ++
 .../devicetree/bindings/watchdog/st_lpc_wdt.txt    |  38 +++
 MAINTAINERS                                        |   2 +
 arch/arm/boot/dts/stih407-family.dtsi              |  20 ++
 arch/arm/configs/multi_v7_defconfig                |   2 +
 drivers/rtc/Kconfig                                |  12 +
 drivers/rtc/Makefile                               |   1 +
 drivers/rtc/rtc-st-lpc.c                           | 354 +++++++++++++++++++++
 drivers/watchdog/Kconfig                           |  13 +
 drivers/watchdog/Makefile                          |   1 +
 drivers/watchdog/st_lpc_wdt.c                      | 344 ++++++++++++++++++++
 include/dt-bindings/mfd/st-lpc.h                   |  15 +
 12 files changed, 827 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt
 create mode 100644 drivers/rtc/rtc-st-lpc.c
 create mode 100644 drivers/watchdog/st_lpc_wdt.c
 create mode 100644 include/dt-bindings/mfd/st-lpc.h

-- 
1.9.1

             reply	other threads:[~2015-03-24  9:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24  9:25 Lee Jones [this message]
2015-03-24  9:25 ` [PATCH v6 1/9] mfd: dt-bindings: Provide human readable defines for LPC mode choosing Lee Jones
2015-03-24  9:25 ` [PATCH v6 2/9] ARM: multi_v7_defconfig: Enable support for ST's LPC Watchdog Lee Jones
2015-03-24  9:25 ` [PATCH v6 3/9] ARM: multi_v7_defconfig: Enable support for ST's LPC RTC Lee Jones
2015-03-24  9:25 ` [PATCH v6 4/9] ARM: STi: DT: STiH407: Add Device Tree node for the LPC Lee Jones
2015-03-24  9:25 ` [PATCH v6 5/9] watchdog: bindings: Provide ST bindings for ST's LPC Watchdog device Lee Jones
     [not found]   ` <1427189140-1935-6-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-03-25 13:27     ` Guenter Roeck
     [not found] ` <1427189140-1935-1-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-03-24  9:25   ` [PATCH v6 6/9] watchdog: st_wdt: Add new driver for ST's LPC Watchdog Lee Jones
2015-03-24  9:25 ` [PATCH v6 7/9] rtc: bindings: Provide ST bindings for ST's LPC RTC device Lee Jones
     [not found]   ` <1427189140-1935-8-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-03-25 13:28     ` Guenter Roeck
2015-03-24  9:25 ` [PATCH v6 8/9] rtc: st: add new driver for ST's LPC RTC Lee Jones
2015-03-24  9:25 ` [PATCH v6 9/9] MAINTAINERS: Add Watchdog and RTC files to STI's maintainer entry Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1427189140-1935-1-git-send-email-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=a.zummo@towertech.it \
    --cc=david.paris@st.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@stlinux.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=rtc-linux@googlegroups.com \
    --cc=wim@iguana.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).