[PATCH 1/2] power: reset: syscon-poweroff: add a mask property

Rob Herring robh at kernel.org
Wed Feb 15 14:00:10 PST 2017


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 <guy.shapiro at mobi-wize.com>
> ---
>  .../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 at kernel.org>



More information about the linux-arm-kernel mailing list