]> git.baikalelectronics.ru Git - kernel.git/commit
power: reset: syscon-poweroff: add a mask property
authorGuy Shapiro <guy.shapiro@mobi-wize.com>
Tue, 7 Feb 2017 15:56:05 +0000 (17:56 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 13 Apr 2017 23:41:33 +0000 (01:41 +0200)
commit410fb996c638f62a1ce3150be7c6d02e9ee2e608
tree3b00924b3b8fb1380513f603a948454ceff31112
parentff2ccf39509cb5fdb62600571b2cfbfbe2aaaa18
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 <guy.shapiro@mobi-wize.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Documentation/devicetree/bindings/power/reset/syscon-poweroff.txt
drivers/power/reset/syscon-poweroff.c