Allow reset_simple_ops to be referred from modules that use reset-simple
framework by adding EXPORT_SYMBOL_GPL.
Suggested-by: Masahiro Yamada <[email protected]>
Signed-off-by: Kunihiko Hayashi <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
ASPEED BMC SoCs have a reset controller in the LPC IP that can be
controlled using this driver to release the UARTs from reset.
No special configuration is required, so only the compatible string is
added.
Signed-off-by: Joel Stanley <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
The reset-simple driver can be used without changes.
Signed-off-by: Philipp Zabel <[email protected]>
Reviewed-by: Alexandru Gagniuc <[email protected]>
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 <[email protected]>
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 <[email protected]>
Reviewed-by: Alexandru Gagniuc <[email protected]>
Reviewed-by: Chen-Yu Tsai <[email protected]>