Files
rockchip-kernel/drivers/reset
Maxime Ripard 4ed0b76abf UPSTREAM: reset: Add of_reset_control_get
In some cases, you might need to deassert from reset an hardware block that
doesn't associated to a struct device (CPUs, timers, etc.).

Add a small helper to retrieve the reset controller from the device tree
without the need to pass a struct device.

BUG=chrome-os-partner:30167
TEST=Build and boot

Change-Id: I46fbaf06737cf1d731f50c282c52cac3e24ced6e
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Doug Anderson <dianders@chromium.org>
(cherry picked from commit fc0a592156)
2014-10-14 14:51:11 -07:00
..