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>
This commit is contained in:
Tony Lindgren 2017-12-15 09:41:14 -08:00
parent 70a65240ef
commit a7199e2b91
2 changed files with 18 additions and 0 deletions

View file

@ -41,6 +41,7 @@ struct sysc_regbits {
s8 emufree_shift;
};
#define SYSC_QUIRK_16BIT BIT(2)
#define SYSC_QUIRK_UNCACHED BIT(1)
#define SYSC_QUIRK_USE_CLOCKACT BIT(0)