From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: <linux-arm-kernel@lists.infradead.org>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
<sre@kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
<robh+dt@kernel.org>, <pawel.moll@arm.com>,
<mark.rutland@arm.com>, <ijc+devicetree@hellion.org.uk>,
Nicolas Ferre <nicolas.ferre@atmel.com>
Subject: [PATCH v5 0/2] power: reset: support for Atmel alternative Shutdown Controller
Date: Wed, 16 Mar 2016 14:19:48 +0100 [thread overview]
Message-ID: <1458134390-23847-1-git-send-email-nicolas.ferre@atmel.com> (raw)
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 v5:
- Instead of the "alternate shdwc" we choose a more specific
"sama5d2-compatible shdwc" wording. Change file name, in Kconfig, and the
MAINTAINERS file:
at91-shdwc.c -> at91-sama5d2_shdwc.c
"ATMEL AT91 Alternative Shutdown Controller" -> "ATMEL AT91 SAMA5D2-Compatible
Shutdown Controller"
- fix one indentation mismatch
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]
- move to the property debounce-delay-us
- move to atmel,wakeup-active-high boolean
- 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-sama5d2_shdwc.c | 282 +++++++++++++++++++++
5 files changed, 355 insertions(+)
create mode 100644 drivers/power/reset/at91-sama5d2_shdwc.c
--
2.1.3
WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Alexandre Belloni
<alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
pawel.moll-5wv7dgnIgG8@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
Nicolas Ferre
<nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
Subject: [PATCH v5 0/2] power: reset: support for Atmel alternative Shutdown Controller
Date: Wed, 16 Mar 2016 14:19:48 +0100 [thread overview]
Message-ID: <1458134390-23847-1-git-send-email-nicolas.ferre@atmel.com> (raw)
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 v5:
- Instead of the "alternate shdwc" we choose a more specific
"sama5d2-compatible shdwc" wording. Change file name, in Kconfig, and the
MAINTAINERS file:
at91-shdwc.c -> at91-sama5d2_shdwc.c
"ATMEL AT91 Alternative Shutdown Controller" -> "ATMEL AT91 SAMA5D2-Compatible
Shutdown Controller"
- fix one indentation mismatch
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]
- move to the property debounce-delay-us
- move to atmel,wakeup-active-high boolean
- 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-sama5d2_shdwc.c | 282 +++++++++++++++++++++
5 files changed, 355 insertions(+)
create mode 100644 drivers/power/reset/at91-sama5d2_shdwc.c
--
2.1.3
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 0/2] power: reset: support for Atmel alternative Shutdown Controller
Date: Wed, 16 Mar 2016 14:19:48 +0100 [thread overview]
Message-ID: <1458134390-23847-1-git-send-email-nicolas.ferre@atmel.com> (raw)
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 v5:
- Instead of the "alternate shdwc" we choose a more specific
"sama5d2-compatible shdwc" wording. Change file name, in Kconfig, and the
MAINTAINERS file:
at91-shdwc.c -> at91-sama5d2_shdwc.c
"ATMEL AT91 Alternative Shutdown Controller" -> "ATMEL AT91 SAMA5D2-Compatible
Shutdown Controller"
- fix one indentation mismatch
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]
- move to the property debounce-delay-us
- move to atmel,wakeup-active-high boolean
- 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-sama5d2_shdwc.c | 282 +++++++++++++++++++++
5 files changed, 355 insertions(+)
create mode 100644 drivers/power/reset/at91-sama5d2_shdwc.c
--
2.1.3
next reply other threads:[~2016-03-16 13:19 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-16 13:19 Nicolas Ferre [this message]
2016-03-16 13:19 ` [PATCH v5 0/2] power: reset: support for Atmel alternative Shutdown Controller Nicolas Ferre
2016-03-16 13:19 ` Nicolas Ferre
2016-03-16 13:19 ` [PATCH v5 1/2] ARM: dts: at91: shdwc binding: add new shutdown controller documentation Nicolas Ferre
2016-03-16 13:19 ` Nicolas Ferre
2016-03-16 13:19 ` Nicolas Ferre
2016-03-17 20:14 ` Alexandre Belloni
2016-03-17 20:14 ` Alexandre Belloni
2016-03-17 20:14 ` Alexandre Belloni
2016-03-18 21:29 ` Rob Herring
2016-03-18 21:29 ` Rob Herring
2016-03-18 21:29 ` Rob Herring
2016-03-16 13:19 ` [PATCH v5 2/2] power: reset: at91-shdwc: add new shutdown controller driver Nicolas Ferre
2016-03-16 13:19 ` Nicolas Ferre
2016-03-16 13:19 ` Nicolas Ferre
2016-03-17 20:14 ` Alexandre Belloni
2016-03-17 20:14 ` Alexandre Belloni
2016-03-17 20:14 ` Alexandre Belloni
2016-03-23 11:18 ` [PATCH v5 0/2] power: reset: support for Atmel alternative Shutdown Controller Nicolas Ferre
2016-03-23 11:18 ` Nicolas Ferre
2016-03-23 11:18 ` Nicolas Ferre
2016-03-23 21:11 ` Sebastian Reichel
2016-03-23 21:11 ` Sebastian Reichel
2016-03-23 21:11 ` Sebastian Reichel
2016-03-24 8:53 ` Nicolas Ferre
2016-03-24 8:53 ` Nicolas Ferre
2016-03-24 8:53 ` Nicolas Ferre
2016-03-24 16:52 ` Sebastian Reichel
2016-03-24 16:52 ` Sebastian Reichel
2016-04-10 16:27 ` Sebastian Reichel
2016-04-10 16:27 ` Sebastian Reichel
2016-04-10 16:27 ` Sebastian Reichel
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=1458134390-23847-1-git-send-email-nicolas.ferre@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=alexandre.belloni@free-electrons.com \
--cc=devicetree@vger.kernel.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sre@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.