power: reset: gpio-poweroff: add ability to specific active and inactive delays
authorHeiko Stuebner <heiko.stuebner@bq.com>
Sun, 11 Nov 2018 21:45:38 +0000 (22:45 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 5 Dec 2018 21:38:29 +0000 (22:38 +0100)
commit76ee875c2f48c57cbafa35d9c3b34e7202a45a83
tree06fef854ed5e05a8122f07b01491bdf1b75d0d5d
parenta53a68cee88a4d892bdfcc793a661ced81cd1f56
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 <heiko.stuebner@bq.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt
drivers/power/reset/gpio-poweroff.c