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

Simon Glass sjg at chromium.org
Wed Apr 19 00:12:17 UTC 2017


On 18 April 2017 at 14:38, Álvaro Fernández Rojas <noltari at 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 at 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 at chromium.org>


More information about the U-Boot mailing list