OSDN Git Service

bus: ti-sysc: Add support for module specific reset quirks
authorTony Lindgren <tony@atomide.com>
Mon, 10 Jun 2019 11:48:05 +0000 (04:48 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Jun 2019 11:52:22 +0000 (04:52 -0700)
commit4e23be473e3063a9d3bc06bb0aee89885fffab0e
treeba096852d21ac53b19f8dbdbdcff72dc009ee66c
parentb6a53c4c872ab6870eb455d10a6f7ff0d99b1b1f
bus: ti-sysc: Add support for module specific reset quirks

Some older interconnect target modules need module internal clock
toggling quirks to reset properly. We've been doing this in the
platform code earlier, but need to be able to it directly in the
ti-sysc driver when we no longer rely on on the platform code.

Let's add reset handling for 1-wire, i2c and watchdog. Later on
we can add more modules like msdi and dss as they get tested.
For dra7 pcie, we should be able to just use the rstctrl reset
driver when available.

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c
include/linux/platform_data/ti-sysc.h