linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] power: reset: support for Atmel alternative Shutdown Controller
@ 2016-03-10 15:37 Nicolas Ferre
  2016-03-10 15:37 ` [PATCH v4 1/2] ARM: dts: at91: shdwc binding: add new shutdown controller documentation Nicolas Ferre
  2016-03-10 15:37 ` [PATCH v4 2/2] power: reset: at91-shdwc: add new shutdown controller driver Nicolas Ferre
  0 siblings, 2 replies; 6+ messages in thread
From: Nicolas Ferre @ 2016-03-10 15:37 UTC (permalink / raw)
  To: linux-arm-kernel, Alexandre Belloni, sre
  Cc: linux-kernel, devicetree, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, Nicolas Ferre

This is a series to add driver for a new Atmel Shutdown Controller. This new IP
is extensible and some features will be added later (see the TODO section).
Its extensible nature led to write a new binding so that wake-up sources can be
described easily.

Changes in v4:
- change property to debounce-delay-us so that we can use a generic property
  and we can have the unit explicitly included it the name according to
  Documentation/devicetree/bindings/property-units.txt.
- move to atmel,wakeup-active-high boolean property instead of a "high", "low"
  string comparison.
- fix warning found by 0-day robot: large integer implicitly truncated to
  unsigned type [-Woverflow]
- add entry in MAINTAINERS file

Changes in v3:
- get and use slow clock and specify its handler in binding
- add the slow clock handle as the IP uses it
- remove useless protection at the beginning of pm_power_off handler
- allow to compile it as a module
- add COMPILE_TEST directive in Kconfig
- update description in file header

Changes in v2:
- add MODULE_DEVICE_TABLE as advised by Sebastian Reichel
- review indentation and braces to correct errors pointed out by checkpatch

Nicolas Ferre (2):
  ARM: dts: at91: shdwc binding: add new shutdown controller
    documentation
  power: reset: at91-shdwc: add new shutdown controller driver

 .../devicetree/bindings/arm/atmel-at91.txt         |  59 +++++
 MAINTAINERS                                        |   5 +
 drivers/power/reset/Kconfig                        |   8 +
 drivers/power/reset/Makefile                       |   1 +
 drivers/power/reset/at91-shdwc.c                   | 282 +++++++++++++++++++++
 5 files changed, 355 insertions(+)
 create mode 100644 drivers/power/reset/at91-shdwc.c

-- 
2.1.3

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

end of thread, other threads:[~2016-03-16 12:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-10 15:37 [PATCH v4 0/2] power: reset: support for Atmel alternative Shutdown Controller Nicolas Ferre
2016-03-10 15:37 ` [PATCH v4 1/2] ARM: dts: at91: shdwc binding: add new shutdown controller documentation Nicolas Ferre
2016-03-10 15:37 ` [PATCH v4 2/2] power: reset: at91-shdwc: add new shutdown controller driver Nicolas Ferre
2016-03-14 20:22   ` Alexandre Belloni
2016-03-16 11:36     ` Nicolas Ferre
2016-03-16 12:07       ` Alexandre Belloni

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