]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a36874b67e9d85c88a7b923a3bb4ad81fa57b09
tree06fef854ed5e05a8122f07b01491bdf1b75d0d5d
parent36daeda61d93d8f2583efd3a08cf19a03227fce2
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