Commit Graph
15 Commits
Author SHA1 Message Date
Linus Walleij ba443b5ab4 power: reset: Add Gemini poweroff DT bindings
This adds device tree bindings to the power management controller
in the Gemini SoC.

Cc: [email protected]
Cc: Janos Laube <[email protected]>
Cc: Paulius Zaleckas <[email protected]>
Cc: Hans Ulli Kroll <[email protected]>
Cc: Florian Fainelli <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2017-04-14 01:41:33 +02:00
Guy Shapiro f2c199db47 power: reset: syscon-poweroff: add a mask property
Make the syscon-poweroff driver accept value and mask instead of
just value.

Prior to this patch, the property name for the value was 'mask'. If
only the mask property is defined on a node, maintain compatibility
by using it as the value.

Signed-off-by: Guy Shapiro <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2017-04-14 01:41:33 +02:00
Guenter Roeck 8cf4664332 dt-bindings: power: reset: qnap-poweroff: Drop reference to pm_power_off
Replace reference to pm_power_off (which is an implementation detail)
and replace it with a more generic description of the driver's
functionality.

Cc: Rob Herring <[email protected]>
Cc: Pawel Moll <[email protected]>
Cc: Mark Rutland <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Acked-by: Andrew Lunn <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2017-02-01 13:13:27 -06:00
Guenter Roeck a7f5cf3801 dt-bindings: power: reset: gpio-poweroff: Drop reference to pm_power_off
pm_power_off is an implementation detail. Replace it with a more generic
description of the driver's functionality.

Cc: Rob Herring <[email protected]>
Cc: Pawel Moll <[email protected]>
Cc: Mark Rutland <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Acked-by: Andrew Lunn <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2017-02-01 13:13:27 -06:00
Peter Griffin bb1e41ba32 power: reset: st: Remove obsolete platforms from dt doc
This patch removes support for STiH415/6 SoC's from the
st-restart dt binding documentation, as support for these
platforms is being removed from the kernel. It also updates
the dt example to a currently supported platform.

Signed-off-by: Peter Griffin <[email protected]>
Cc: <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2016-09-19 21:33:13 +02:00
Sebastian Reichel f333253246 power/supply: unify DT documentation
Currently the power supply device tree documentation is spread
in .../bindings/power_supply and .../bindings/power. This
unifies the files for chargers and battery fuel gauges in
.../bindings/power/supply and the ones for system reset/shutdown
in .../bindings/power/reset (same structure as used for the
drivers itself).

Signed-off-by: Sebastian Reichel <[email protected]>
2016-08-11 01:11:29 +02:00
Andy Yan 376e27e485 dt-bindings: power: reset: add document for reboot-mode driver
Add device tree bindings document for reboot-mode driver.

Signed-off-by: Andy Yan <[email protected]>
Acked-by: Rob Herring <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2016-07-06 17:15:39 +02:00
Chris Brand 7a4f9830f0 docs: Move brcm,bcm21664-resetmgr.txt
Sebastian pointed out that .../bindings/reset is usually used for
peripheral reset controllers, whereas .../bindings/power/reset is
used for Board/System reset controllers.

Reported-by: Sebastian Reichel <[email protected]>
Signed-off-by: Chris Brand <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2016-06-16 16:54:12 +02:00
Wolfram Sang c686090f14 gpio/reset: move gpio-{poweroff|restart} DT doc to proper place
I did only find them after a fuzzy search, so let them be where one
would expect them.

Signed-off-by: Wolfram Sang <[email protected]>
Acked-By: Sebastian Reichel <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
2016-04-15 16:04:32 +02:00
Moritz Fischer 0db739fa06 dt: power: Add docs for generic SYSCON poweroff driver.
Add documentation for generic SYSCON poweroff driver.

Signed-off-by: Moritz Fischer <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2015-04-06 18:49:48 +02:00
Frans Klaver 0f2ecb8fa2 power: reset: ltc2952: document optional trigger behavior
Document the fact that the trigger signal is now optional, and describe
the behavior when this is used.

While at it, fix a typo, and paraphrase a sentence to be less platform
specific.

Signed-off-by: Frans Klaver <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2015-01-20 13:58:31 +01:00
Feng Kan a7ba749e01 Documentation: power: reset: Add documentation for generic SYSCON reboot driver
Add documentation for generic SYSCON reboot driver.

Signed-off-by: Feng Kan <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2014-10-01 04:24:51 +02:00
Lee Jones b08fec2262 power: reset: st: Provide DT bindings for ST's Power Reset driver
Signed-off-by: Christophe Kerello <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2014-09-26 17:37:37 +02:00
René Moll a4b7aef6b0 Documentation: DT: Add LTC2952 poweroff bindings
LTC2952 is an external power control chip, which signals
the OS to shut down. This patch documents the DT binding
for the chip.

Signed-off-by: René Moll <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2014-09-16 11:01:40 +02:00
Ivan Khoronzhuk caee005533 Documentation: dt: add bindings for keystone reset driver
This node is intended to allow SoC reset in case of software reset
or appropriate watchdogs.

The Keystone SoCs can contain up to 4 watchdog timers to reset
SoC. Each watchdog timer event input is connected to the Reset Mux
block. The Reset Mux block can be configured to cause reset or not.

Additionally soft or hard reset can be configured.

Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Ivan Khoronzhuk <[email protected]>
[[email protected]: Fixed the subject line]
Signed-off-by: Santosh Shilimkar <[email protected]>
2014-05-27 09:46:32 -04:00