Re: [PATCH] power: reset: syscon-reboot: add a mask property

From: Rob Herring
Date: Wed Mar 27 2019 - 19:54:02 EST


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@xxxxxxxxxx>
> ---
> .../devicetree/bindings/power/reset/syscon-reboot.txt | 11 +++++++++--

Acked-by: Rob Herring <robh@xxxxxxxxxx>

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