[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1409167431-21155-1-git-send-email-davidriley@chromium.org>
Date: Wed, 27 Aug 2014 12:23:50 -0700
From: David Riley <davidriley@...omium.org>
To: Sebastian Reichel <sre@...nel.org>,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>
Cc: Guenter Roeck <linux@...ck-us.net>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Grant Likely <grant.likely@...aro.org>,
David Riley <davidriley@...omium.org>,
Arnd Bergmann <arnd@...db.de>,
Anton Vorontsov <anton@...msg.org>,
Marc Carino <marc.ceeeee@...il.com>,
Anders Berg <anders.berg@....com>,
Laxman Dewangan <ldewangan@...dia.com>,
Ivan Khoronzhuk <ivan.khoronzhuk@...com>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
Haojian Zhuang <haojian.zhuang@...aro.org>,
Jamie Lentin <jm@...tin.co.uk>,
Doug Anderson <dianders@...omium.org>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: [PATCH v2 0/1] gpio-restart restart handler
This driver builds upon Guenter Roeck's kernel restart handler patchset
to add a driver which registers a GPIO-based restart handler which restarts
the system by toggling a GPIO.
Changes are based off 3.17-rc2 with the following patches from v7 of
Guenter's patchset:
https://patchwork.kernel.org/patch/4746721/
https://patchwork.kernel.org/patch/4746731/
https://patchwork.kernel.org/patch/4747011/
https://patchwork.kernel.org/patch/4746741/
https://patchwork.kernel.org/patch/4746861/
Changes since v1:
v2:
- Updated devicetree binding to make it less kernel specific
- Changed priority property from u8 type to standard u32
- Rename input property to open-source
- Made delays configurable from binding
- Removed unneeded BUG_ON
- Used devm_gpiod_get flags parameter to configure initial direction
David Riley (1):
power: Add simple gpio-restart driver
.../devicetree/bindings/gpio/gpio-restart.txt | 54 ++++++++
drivers/power/reset/Kconfig | 8 ++
drivers/power/reset/Makefile | 1 +
drivers/power/reset/gpio-restart.c | 149 +++++++++++++++++++++
4 files changed, 212 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/gpio-restart.txt
create mode 100644 drivers/power/reset/gpio-restart.c
--
2.0.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists