Commit Graph
3 Commits
Author SHA1 Message Date
Andrew Davis 9d93e13bf5 reset: sunplus: Use devm_register_sys_off_handler()
Function register_restart_handler() is deprecated. Using this new API
removes our need to keep and manage a struct notifier_block and to
later unregister the handler.

Signed-off-by: Andrew Davis <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
2026-03-06 11:03:28 +01:00
Yangtao Li 5d587019fc reset: sunplus: Use devm_platform_get_and_ioremap_resource()
Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: Yangtao Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Zabel <[email protected]>
2023-11-28 17:19:39 +01:00
Qin Jian dbf018be52 reset: Add Sunplus SP7021 reset driver
Add reset driver for Sunplus SP7021 SoC.

Signed-off-by: Qin Jian <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
2022-07-08 14:23:39 +02:00