Add a reset driver framework/uclass
authorStephen Warren <swarren@nvidia.com>
Fri, 17 Jun 2016 15:43:58 +0000 (09:43 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 19 Jun 2016 23:05:55 +0000 (17:05 -0600)
commit89c1e2da78f82a09685006291ce8bb44f635fa25
tree4962e19a65e7cf8caf997ee92ec16030dead512a
parent0f67e2395be44db2c1bef17b6ada2e46221908ed
Add a reset driver framework/uclass

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@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
doc/device-tree-bindings/reset/reset.txt [new file with mode: 0644]
drivers/Kconfig
drivers/Makefile
drivers/reset/Kconfig [new file with mode: 0644]
drivers/reset/Makefile [new file with mode: 0644]
drivers/reset/reset-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/reset-uclass.h [new file with mode: 0644]
include/reset.h [new file with mode: 0644]