]> asedeno.scripts.mit.edu Git - linux.git/commit
power: reset: syscon-reboot: add a mask property
authorMartin Schiller <ms@dev.tdt.de>
Fri, 8 Mar 2019 07:49:30 +0000 (08:49 +0100)
committerSebastian Reichel <sre@kernel.org>
Fri, 5 Apr 2019 13:06:57 +0000 (15:06 +0200)
commit077d9951f7c9ef5845fdcf4363d3a4630d142e4f
treea666b171136300537e7ccdc31af9d292d7322aa0
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
power: reset: syscon-reboot: add a mask property

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>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/reset/syscon-reboot.txt
drivers/power/reset/syscon-reboot.c