linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] mfd: watchdog: rtc: New driver for ST's LPC IP
@ 2014-12-15 11:25 Lee Jones
  2014-12-15 11:25 ` [PATCH 1/8] ARM: multi_v7_defconfig: Enable support for ST's LPC Watchdog Lee Jones
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: Lee Jones @ 2014-12-15 11:25 UTC (permalink / raw)
  To: linux-arm-kernel

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 correlating MFD driver.

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.

Lee Jones (8):
  ARM: multi_v7_defconfig: Enable support for ST's LPC Watchdog
  ARM: multi_v7_defconfig: Enable support for ST's LPC RTC
  mfd: bindings: Provide ST bindings for ST's LPC device
  mfd: dt-bindings: Provide human readable defines for LPC mode choosing
  mfd: Add ST's Low Power Controller driver
  watchdog: st_wdt: Add new driver for ST's LPC Watchdog
  rtc: st: add new driver for ST's LPC RTC
  ARM: STi: DT: STiH407: Add Device Tree node for the LPC

 Documentation/devicetree/bindings/mfd/st-lpc.txt |  36 +++
 arch/arm/boot/dts/stih407.dtsi                   |  20 ++
 arch/arm/configs/multi_v7_defconfig              |   2 +
 drivers/mfd/Kconfig                              |   8 +
 drivers/mfd/Makefile                             |   1 +
 drivers/mfd/st-lpc.c                             |  88 ++++++
 drivers/rtc/Kconfig                              |  13 +
 drivers/rtc/Makefile                             |   1 +
 drivers/rtc/rtc-st-lpc.c                         | 330 +++++++++++++++++++++++
 drivers/watchdog/Kconfig                         |  13 +
 drivers/watchdog/Makefile                        |   1 +
 drivers/watchdog/st_wdt.c                        | 312 +++++++++++++++++++++
 include/dt-bindings/mfd/st-lpc.h                 |  15 ++
 13 files changed, 840 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/st-lpc.txt
 create mode 100644 drivers/mfd/st-lpc.c
 create mode 100644 drivers/rtc/rtc-st-lpc.c
 create mode 100644 drivers/watchdog/st_wdt.c
 create mode 100644 include/dt-bindings/mfd/st-lpc.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [PATCH v2 0/8] watchdog: rtc: New driver(s) for ST's LPC IP
@ 2014-12-17 16:45 Lee Jones
  2014-12-17 16:45 ` [PATCH 6/8] watchdog: st_wdt: Add new driver for ST's LPC Watchdog Lee Jones
  0 siblings, 1 reply; 24+ messages in thread
From: Lee Jones @ 2014-12-17 16:45 UTC (permalink / raw)
  To: linux-arm-kernel

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 a Device Tree property.

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.

v1 => v2:
  Suggestions fixed up:
    Arnd: No need for a separate MFD driver.  If you return -ENODEV
          really_probe() will continue looking for an suitable alternative.
    
    David: Power Management improvements.

    Guenter: Use Watchdog Framework's maximum timeout checker and only request
             clock rate once during .probe(), as the clock rate will not
             change.

Lee Jones (8):
  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

 .../devicetree/bindings/rtc/rtc-st-lpc.txt         |  25 ++
 .../devicetree/bindings/watchdog/st_lpc_wdt.txt    |  38 +++
 arch/arm/boot/dts/stih407.dtsi                     |  20 ++
 arch/arm/configs/multi_v7_defconfig                |   2 +
 drivers/rtc/Kconfig                                |  13 +
 drivers/rtc/Makefile                               |   1 +
 drivers/rtc/rtc-st-lpc.c                           | 354 +++++++++++++++++++++
 drivers/watchdog/Kconfig                           |  13 +
 drivers/watchdog/Makefile                          |   1 +
 drivers/watchdog/st_wdt.c                          | 329 +++++++++++++++++++
 include/dt-bindings/mfd/st-lpc.h                   |  15 +
 11 files changed, 811 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_wdt.c
 create mode 100644 include/dt-bindings/mfd/st-lpc.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-12-18 17:20 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 11:25 [PATCH 0/8] mfd: watchdog: rtc: New driver for ST's LPC IP Lee Jones
2014-12-15 11:25 ` [PATCH 1/8] ARM: multi_v7_defconfig: Enable support for ST's LPC Watchdog Lee Jones
2014-12-15 11:25 ` [PATCH 2/8] ARM: multi_v7_defconfig: Enable support for ST's LPC RTC Lee Jones
2014-12-15 11:25 ` [PATCH 3/8] mfd: bindings: Provide ST bindings for ST's LPC device Lee Jones
2014-12-15 11:25 ` [PATCH 4/8] mfd: dt-bindings: Provide human readable defines for LPC mode choosing Lee Jones
2014-12-15 11:25 ` [PATCH 5/8] mfd: Add ST's Low Power Controller driver Lee Jones
2014-12-15 13:38   ` Arnd Bergmann
2014-12-15 13:50     ` Lee Jones
2014-12-15 14:06       ` Arnd Bergmann
2014-12-15 14:38         ` Lee Jones
2014-12-15 11:25 ` [PATCH 6/8] watchdog: st_wdt: Add new driver for ST's LPC Watchdog Lee Jones
2014-12-15 12:29   ` David Paris
2014-12-15 12:52   ` David Paris
2014-12-15 14:15   ` Guenter Roeck
2014-12-15 16:23   ` Guenter Roeck
2014-12-15 11:25 ` [PATCH 7/8] rtc: st: add new driver for ST's LPC RTC Lee Jones
2014-12-15 12:28   ` [STLinux Kernel] " David Paris
2014-12-15 14:17   ` Guenter Roeck
2014-12-15 11:25 ` [PATCH 8/8] ARM: STi: DT: STiH407: Add Device Tree node for the LPC Lee Jones
  -- strict thread matches above, loose matches on Subject: below --
2014-12-17 16:45 [PATCH v2 0/8] watchdog: rtc: New driver(s) for ST's LPC IP Lee Jones
2014-12-17 16:45 ` [PATCH 6/8] watchdog: st_wdt: Add new driver for ST's LPC Watchdog Lee Jones
2014-12-17 18:02   ` Guenter Roeck
2014-12-18  8:26     ` Lee Jones
2014-12-18 16:00       ` Guenter Roeck
2014-12-18 17:20         ` Lee Jones

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).