
26 Jun
2020
26 Jun
'20
3:43 a.m.
On Mon, 22 Jun 2020 at 23:30, Bin Meng bmeng.cn@gmail.com wrote:
From: Bin Meng bin.meng@windriver.com
Per the DT binding, <mask> and <value> property can have either one or both, and if <value> is missing, <mask> should be used, which is what current U-Boot sysreset_syscon driver supports.
This adds support to the <value> property to the driver, and <mask> semantics is updated to really be a mask to the value if both exist.
Signed-off-by: Bin Meng bin.meng@windriver.com
drivers/sysreset/sysreset_syscon.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org