diff options
| author | Tony Lindgren <tony@atomide.com> | 2017-12-15 12:41:14 -0500 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2017-12-21 10:28:54 -0500 |
| commit | a7199e2b91ded41adbb6fd384a85e358d25f48c8 (patch) | |
| tree | 395e5de4d545a5995e16462c9b7378ac6c658216 /include/linux/platform_data | |
| parent | 70a65240efb1116f4f580c2f8235ba58000889b0 (diff) | |
bus: ti-sysc: Detect i2c interconnect target module based on register layout
We can easily detect i2c based on it's non-standard module registers that
consist of two 32-bit registers accessed in 16-bit mode.
So far we don't have other 16-bit modules, so there's currently no need
to add a custom property for 16-bit register access.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/ti-sysc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/ti-sysc.h b/include/linux/platform_data/ti-sysc.h index b76ace0135b3..059be6f6fa94 100644 --- a/include/linux/platform_data/ti-sysc.h +++ b/include/linux/platform_data/ti-sysc.h | |||
| @@ -41,6 +41,7 @@ struct sysc_regbits { | |||
| 41 | s8 emufree_shift; | 41 | s8 emufree_shift; |
| 42 | }; | 42 | }; |
| 43 | 43 | ||
| 44 | #define SYSC_QUIRK_16BIT BIT(2) | ||
| 44 | #define SYSC_QUIRK_UNCACHED BIT(1) | 45 | #define SYSC_QUIRK_UNCACHED BIT(1) |
| 45 | #define SYSC_QUIRK_USE_CLOCKACT BIT(0) | 46 | #define SYSC_QUIRK_USE_CLOCKACT BIT(0) |
| 46 | 47 | ||
