bus: ti-sysc: Detect i2c interconnect target module based on register layout
authorTony Lindgren <tony@atomide.com>
Fri, 15 Dec 2017 17:41:14 +0000 (09:41 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Dec 2017 15:28:54 +0000 (07:28 -0800)
commita7199e2b91ded41adbb6fd384a85e358d25f48c8
tree395e5de4d545a5995e16462c9b7378ac6c658216
parent70a65240efb1116f4f580c2f8235ba58000889b0
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>
drivers/bus/ti-sysc.c
include/linux/platform_data/ti-sysc.h