summaryrefslogtreecommitdiffstats
path: root/drivers/reset/reset-simple.c
Commit message (Collapse)AuthorAgeFilesLines
* reset: zx2967: use the reset-simple driverPhilipp Zabel2017-10-181-0/+2
| | | | | | | The reset-simple driver can be used without changes. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Alexandru Gagniuc <alex.g@adaptrum.com>
* reset: stm32: use the reset-simple driverPhilipp Zabel2017-10-181-0/+1
| | | | | | | The reset-simple driver can be used without changes. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Gabriel Fernandez <gabriel.fernandez@st.com>
* reset: socfpga: use the reset-simple driverPhilipp Zabel2017-10-181-1/+50
| | | | | | | | Add reset line status readback, inverted status support, and socfpga device tree quirks to the simple reset driver, and use it to replace the socfpga driver. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* reset: add reset-simple to unify socfpga, stm32, sunxi, and zx2967Philipp Zabel2017-10-171-0/+134
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>