[PATCH 1/2] power: reset: syscon-poweroff: add a mask property
From: robh@kernel.org (Rob Herring)
Date: 2017-02-15 22:00:10
Also in:
linux-devicetree, linux-pm, linux-rtc
From: robh@kernel.org (Rob Herring)
Date: 2017-02-15 22:00:10
Also in:
linux-devicetree, linux-pm, linux-rtc
On Tue, Feb 07, 2017 at 05:56:05PM +0200, Guy Shapiro wrote:
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 <redacted> --- .../bindings/power/reset/syscon-poweroff.txt | 11 +++++++++-- drivers/power/reset/syscon-poweroff.c | 19 ++++++++++++++++--- 2 files changed, 25 insertions(+), 5 deletions(-)
Acked-by: Rob Herring <robh@kernel.org>