[PATCH 2/5] sysreset: syscon: Support value property

Pragnesh Patel pragnesh.patel at sifive.com
Fri Jun 26 08:12:20 CEST 2020


>-----Original Message-----
>From: Bin Meng <bmeng.cn at gmail.com>
>Sent: 23 June 2020 11:00
>To: Rick Chen <rick at andestech.com>; Simon Glass <sjg at chromium.org>;
>Pragnesh Patel <pragnesh.patel at sifive.com>; Sagar Kadam
><sagar.kadam at sifive.com>; U-Boot Mailing List <u-boot at lists.denx.de>
>Cc: Bin Meng <bin.meng at windriver.com>
>Subject: [PATCH 2/5] sysreset: syscon: Support value property
>
>[External Email] Do not click links or attachments unless you recognize the
>sender and know the content is safe
>
>From: Bin Meng <bin.meng at 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 at windriver.com>
>---
>
> drivers/sysreset/sysreset_syscon.c | 22 +++++++++++++++++-----
> 1 file changed, 17 insertions(+), 5 deletions(-)

Reviewed-by: Pragnesh Patel <pragnesh.patel at sifive.com>


More information about the U-Boot mailing list