History

bus: ti-sysc: Make OCP reset work for sysstatus and sysconfig reset bits

We've had minimal OCP softreset support in ti-sysc interconnect target module driver only used for MCAN driver so far. But it turns out that MCAN has the sysstatus register resetdone bit inverted compared to most other modules. Let's make OCP softreset work for other typical cases with reset status in sysstatus or sysconfig register so we can use the new functions for sysc_enable_module() and sysc_disable_module() without "ti,hwmods" property in the following patches.

Tony Lindgren committed 7 years ago

Commit e0db94f1 parent 5aa91292 files · +55 −18Browse files

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

Unified · Split

include/linux/platform_data/ti-sysc.h+1−0
@@ -47,6 +47,7 @@ struct sysc_regbits { · 46 unmodified lines
47 s8 emufree_shift;47 s8 emufree_shift;
48};48};
49 49
50#define SYSS_QUIRK_RESETDONE_INVERTED BIT(14)
50#define SYSC_QUIRK_SWSUP_MSTANDBY BIT(13)51#define SYSC_QUIRK_SWSUP_MSTANDBY BIT(13)
51#define SYSC_QUIRK_SWSUP_SIDLE_ACT BIT(12)52#define SYSC_QUIRK_SWSUP_SIDLE_ACT BIT(12)
52#define SYSC_QUIRK_SWSUP_SIDLE BIT(11)53#define SYSC_QUIRK_SWSUP_SIDLE BIT(11)

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