Skip to content

RFC Provide interconnect resets for ti-sysc users

Tony Lindgren linux-omap linux-serial lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4reset: Fall back to lookup if no reset node is founddrivers/reset/core.c+7 -20 replies
2/4reset: Allow removing a lookupdrivers/reset/core.c include/linux/reset-controller.h+34 -00 replies
3/4bus: ti-sysc: Implement reset control framework for soft resetdrivers/bus/ti-sysc.c+109 -00 replies
4/4serial: 8250: omap: Use reset control for resetsdrivers/tty/serial/8250/8250_omap.c+24 -420 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] Provide interconnect resets for ti-sysc users

Hi all,

Here are a few experimental WIP patches to make ti-sysc provide resets for the devices connected to the interconnect. I've only tested this with 8250_omap.

I played with implementing all the resets automatically where available, but we could of course map just the reset used via devicetree.

There are lots of resets, and not that many users. So likely using the devicetree to map only the used resets makes most sense from memory consumption point of view.

However, the reset control framework changes may be desired though. For example, MFD child devices may not get the data via devicetree.

Note that for ti-sysc driver, this series depends on an earlier pending clean-up series posted at [0].

Regards,

Tony

[0] https://lore.kernel.org/linux-omap/[email protected]/T/#md369ba556149a2662f2cd5413863d29f054b27b8

Tony Lindgren (4):
reset: Fall back to lookup if no reset node is found
reset: Allow removing a lookup
bus: ti-sysc: Implement reset control framework for soft reset
serial: 8250: omap: Use reset control for resets

 drivers/bus/ti-sysc.c               | 109 ++++++++++++++++++++++++++++
 drivers/reset/core.c                |  36 ++++++++-
 drivers/tty/serial/8250/8250_omap.c |  66 ++++++-----------
 include/linux/reset-controller.h    |   7 ++
 4 files changed, 174 insertions(+), 44 deletions(-)
Signature · 1 line
2.44.0