dm: reset: Update uclass to allow querying reset status
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 27 Aug 2018 10:27:39 +0000 (15:57 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 12:32:55 +0000 (08:32 -0400)
commite7012e6e1f9e1c16f093d71bd53b34a6467f07bc
tree3ae6f0557351476502ee371cbc4a82c81465e1db
parentaec99c9776d33a1c2218f975a02cb1068cdcf579
dm: reset: Update uclass to allow querying reset status

Add a reset operations function pointer to support querying the current
status of a reset control.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/reset/reset-uclass.c
include/reset-uclass.h
include/reset.h