[U-Boot] [PATCH v3 03/15] sysreset: add syscon-reboot driver

Simon Glass
2017-04-19T00:12:17Z

On 18 April 2017 at 14:38, Álvaro Fernández Rojas <noltari@gmail.com> wrote:
> Add a new sysreset driver based on linux/drivers/power/reset/syscon-reboot.c,
> which provides a generic driver for platforms that only require writing a mask
> to a regmap offset.
>
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> ---
> v3: Introduce changes suggested by Simon Glass:
> - Add missing driver description.
> - Alphabetically order includes.
> - Add priv struct to store regmap during probe.
> - Cosmetic fixes.
> v2: No changes
>
> drivers/sysreset/Kconfig | 8 ++++
> drivers/sysreset/Makefile | 1 +
> drivers/sysreset/sysreset_syscon.c | 76 ++++++++++++++++++++++++++++++++++++++
> 3 files changed, 85 insertions(+)
> create mode 100644 drivers/sysreset/sysreset_syscon.c

Reviewed-by: Simon Glass <sjg@chromium.org>