[PATCH 0/6] i2c: mpc: Refactor to improve responsiveness

From: Chris Packham
Date: Tue Mar 23 2021 - 00:35:16 EST

The "meat" of this series is in the last patch which is the change that
actually starts making use of the interrupts to drive a state machine.
The dt-bindings patches can probably go in at any time. The rest of the
series isn't dependent on them.

I've tested it on a T2081 based system with a number of i2c and smbus
devices. Its the end of my work day so I figured I'd get this out now
but I'll do some more testing on a P2041 board and a few different i2c
devices tomorrow.

Chris Packham (6):
dt-bindings: i2c-mpc: Document interrupt property as required
dt-bindings: i2c: convert i2c-mpc to json-schema
i2c: mpc: Make use of i2c_recover_bus()
i2c: mpc: make interrupt mandatory and remove polling code
i2c: mpc: use device managed APIs
i2c: mpc: Interrupt driven transfer

.../devicetree/bindings/i2c/i2c-mpc.txt | 62 ---
.../devicetree/bindings/i2c/i2c-mpc.yaml | 99 ++++
drivers/i2c/busses/i2c-mpc.c | 513 ++++++++++--------
3 files changed, 373 insertions(+), 301 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-mpc.txt
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-mpc.yaml