Commit Graph
29 Commits
Author SHA1 Message Date
Josef Friedl 8ab1267ff7 dt-bindings: mfd: mediatek: Add MT6323 Power Controller
- Add Power Controller section to existing binding document.
- Add MT6323 PWRC bindings document with example.

Suggested-by: Frank Wunderlich <[email protected]>
Signed-off-by: Josef Friedl <[email protected]>
Signed-off-by: Frank Wunderlich <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
2019-09-02 11:20:40 +01:00
Han Nandor cba155e50a dt-bindings: power: reset: add document for NVMEM based reboot-mode
Add the device tree bindings document for the NVMEM based reboot-mode
driver.

Signed-off-by: Nandor Han <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2019-06-25 23:49:57 +02:00
John Stultz 9faf929608 dt-bindings: power: reset: qcom: Add qcom,pm8998-pon compatibility line
Update bindings to support for qcom,pm8998-pon which uses gen2 pon

Cc: Andy Gross <[email protected]>
Cc: David Brown <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Amit Pundir <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Sebastian Reichel <[email protected]>
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2019-06-24 23:25:07 +02:00
Martin Schiller 077d9951f7 power: reset: syscon-reboot: add a mask property
Make the syscon-reboot 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.

This patch is based on commit
f2c199db47 ("power: reset: syscon-poweroff: add a mask property")
and does the same change for the syscon-reboot driver.

Signed-off-by: Martin Schiller <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2019-04-05 15:06:57 +02:00
Rajan Vaja d4ff6c9efa dt-bindings: soc: Add ZynqMP PM bindings
Add documentation to describe Xilinx ZynqMP power management
bindings.

Signed-off-by: Rajan Vaja <[email protected]>
Signed-off-by: Jolly Shah <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
2019-02-12 13:36:21 +01:00
Heiko Stuebner 76ee875c2f power: reset: gpio-poweroff: add ability to specific active and inactive delays
Similar to gpio-reset allow to specify active and inactive delays
while keeping the 100ms defaults that were used previously all the time.

The dt-properties are named the same as in gpio-reset but get an "-ms"
suffix as properties should contain such a suffix specifying its unit.

Signed-off-by: Heiko Stuebner <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Reviewed-by: Moritz Fischer <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2018-12-05 22:38:29 +01:00
Vinod Koul a4ac1f5ced power: reset: qcom-pon: Add pms405 pon support
Update the binding and driver for pms405 pon.

Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2018-09-20 11:40:00 +02:00
Vinod Koul 7914c67667 dt-bindings: power: reset: qcom: Add resin binding
Resin is similar to pwrkey, add the description and example
for resin bindings

Signed-off-by: Vinod Koul <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2018-07-07 22:22:23 +02:00
Vinod Koul ad0e953479 dt-bindings: power: reset: Add qcom pon binding
The Power On device for Qcom PM 8xxx is a MFD supporting pwrkey and
resin along with the Android reboot-mode.

Add the binding describing this.

Suggested-by: Bjorn Andersson <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2018-07-06 15:53:10 +02:00
Moritz Fischer 88f598725f dt-bindings: power: reset: gpio-poweroff: Add 'timeout-ms' property
Add 'timeout-ms' property to support boards where the 3s timeout that the
current driver defaults to is too short.

Signed-off-by: Moritz Fischer <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2018-03-09 17:14:32 +01:00
Alexandre Belloni 5e195f1201 dt-bindings: power: reset: Document ocelot-reset binding
Add binding documentation for the Microsemi Ocelot reset block.

Cc: [email protected]
Cc: [email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2018-02-12 11:23:46 +01:00
Dong Aisheng baf61639b8 power: reset: remove unused imx-snvs-poweroff driver
There's no user of it in kernel now and it basically functions the same
as the generic syscon-poweroff.c to which we have already switched.
So let's remove it.

Cc: Robin Gong <[email protected]>
Cc: Shawn Guo <[email protected]>
Signed-off-by: Dong Aisheng <[email protected]>
Acked-by: Rob Herring <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
2018-01-08 18:09:25 +01:00
Marco Franchi 48c926cd34 dt-bindings: Remove leading zeros from bindings notation
Improve the binding example by removing all the leading zeros to fix the
following dtc warnings:

Warning (unit_address_format): Node /XXX unit name should not have leading 0s

Converted using the following command:

perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find ./Documentation/devicetree/bindings "*.txt"`

Some unnecessary changes were manually fixed.

Signed-off-by: Marco Franchi <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2017-11-09 17:05:05 -06:00
Rob Herring 4da722ca19 dt-bindings: Remove "status" from examples
Pretty much any node can have a status property, so it doesn't need to
be in examples.

Converted with the following command and removed examples with SoC and
board specific splits:

git grep -l -E 'status.*=.*' Documentation/devicetree/ | xargs sed -i -E '/\sstatus.*=.*"(disabled|ok|okay)/d'

Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2017-09-05 10:03:06 -05:00
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