lkml.org 
[lkml]   [2019]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] power: reset: syscon-reboot: add a mask property
On Fri, Mar 08, 2019 at 08:49:30AM +0100, Martin Schiller wrote:
> Make the syscon-reboot 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.
>
> This patch is based on commit
> f2c199db477e ("power: reset: syscon-poweroff: add a mask property")
> and does the same change for the syscon-reboot driver.
>
> Signed-off-by: Martin Schiller <ms@dev.tdt.de>
> ---
> .../devicetree/bindings/power/reset/syscon-reboot.txt | 11 +++++++++--

Acked-by: Rob Herring <robh@kernel.org>

> drivers/power/reset/syscon-reboot.c | 19 +++++++++++++++++--
> 2 files changed, 26 insertions(+), 4 deletions(-)

\
 
 \ /
  Last update: 2019-03-28 00:55    [W:0.040 / U:1.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site