[U-Boot] [PATCH V2 3/5] Add a reset driver framework/uclass

Simon Glass sjg at chromium.org
Sun Jun 19 23:05:57 CEST 2016


On 17 June 2016 at 09:43, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> A reset controller is a hardware module that controls reset signals that
> affect other hardware modules or chips.
>
> This patch defines a standard API that connects reset clients (i.e. the
> drivers for devices affected by reset signals) to drivers for reset
> controllers/providers. Initially, DT is the only supported method for
> connecting the two.
>
> The DT binding specification (reset.txt) was taken from Linux kernel
> v4.5's Documentation/devicetree/bindings/reset/reset.txt.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
> v2: Renamed header files.
> ---
>  doc/device-tree-bindings/reset/reset.txt |  75 +++++++++++++++++
>  drivers/Kconfig                          |   2 +
>  drivers/Makefile                         |   1 +
>  drivers/reset/Kconfig                    |  15 ++++
>  drivers/reset/Makefile                   |   5 ++
>  drivers/reset/reset-uclass.c             | 131 ++++++++++++++++++++++++++++++
>  include/dm/uclass-id.h                   |   1 +
>  include/reset-uclass.h                   |  81 +++++++++++++++++++
>  include/reset.h                          | 135 +++++++++++++++++++++++++++++++
>  9 files changed, 446 insertions(+)
>  create mode 100644 doc/device-tree-bindings/reset/reset.txt
>  create mode 100644 drivers/reset/Kconfig
>  create mode 100644 drivers/reset/Makefile
>  create mode 100644 drivers/reset/reset-uclass.c
>  create mode 100644 include/reset-uclass.h
>  create mode 100644 include/reset.h

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list