History

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.

Tony Lindgren committed 7 years ago

Commit 4e23be41 parent b6a53c42 files · +127 −5Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/ti-sysc.h+3−0
@@ -47,6 +47,9 @@ struct sysc_regbits { · 46 unmodified lines
4747 s8 emufree_shift;
4848 };
4949
50+#define SYSC_MODULE_QUIRK_HDQ1W BIT(17)
51+#define SYSC_MODULE_QUIRK_I2C BIT(16)
52+#define SYSC_MODULE_QUIRK_WDT BIT(15)
5053 #define SYSS_QUIRK_RESETDONE_INVERTED BIT(14)
5154 #define SYSC_QUIRK_SWSUP_MSTANDBY BIT(13)
5255 #define SYSC_QUIRK_SWSUP_SIDLE_ACT BIT(12)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t