reset: Add get/assert/deassert/release for bulk of reset signals
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 3 Apr 2018 09:40:50 +0000 (11:40 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 10 Apr 2018 15:52:16 +0000 (11:52 -0400)
commit0c28233903b5af9a7f41b3200993cfa197b35719
tree8bda40e37e4ff69cf9224256d54c5a45d619f337
parentb71ac1606370e75e786b34235a27d163b8417f68
reset: Add get/assert/deassert/release for bulk of reset signals

This patch adds a "bulk" API to the reset API in order to get/deassert/
assert/release a group of reset signals associated with a device.

This bulk API will avoid adding a copy of the same code to manage
a group of reset signals in drivers.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/reset/reset-uclass.c
include/reset.h