mbox series

[0/3] i2c-ocores: Add IO mapped polled support

Message ID 1544105543-18578-1-git-send-email-andrew@lunn.ch
Headers show
Series i2c-ocores: Add IO mapped polled support | expand

Message

Andrew Lunn Dec. 6, 2018, 2:12 p.m. UTC
TQ-Systems incorporates an ocores I2C bus master into there IO
controller for x86 systems. The registers are Intel IO mapped, and the
interrupt line is not tied to the CPU, so needs to be polled. The bus
can also be clocked at higher speed than the i2c default, so the
requested speed needs to be passed in the platform data.

There is an MFD driver which will be submitted separately, and it has
a build dependency on the platform_data change. So it would be good if
this could be placed into a stable branch which can be merged into the
MFD tree. Or some alternative solution proposed.

Andrew Lunn (3):
  i2c: ocores: Add support for IO mapper registers.
  i2c: ocores: Add support for bus clock via platform data
  i2c: ocores: Add support for polling interrupt status

 drivers/i2c/busses/i2c-ocores.c          | 101 +++++++++++++++++++----
 include/linux/platform_data/i2c-ocores.h |   1 +
 2 files changed, 85 insertions(+), 17 deletions(-)