Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 27 Mar 2019 18:53:58 -0500 | From | Rob Herring <> | Subject | Re: [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(-)
| ![\](/images/icornerr.gif) |