+10
−0
+1
−0
drivers/reset/reset-simple.c
0 → 100644
+134
−0
drivers/reset/reset-simple.h
0 → 100644
+41
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Copy reusable parts from the sunxi driver, to add a driver for simple reset controllers with reset lines that can be controlled by toggling bits in exclusive, contiguous register ranges using read-modify-write cycles under a spinlock. The following patches will replace compatible reset drivers with reset-simple, extending it where necessary. Signed-off-by:Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by:
Chen-Yu Tsai <wens@csie.org>