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

From: Chris Packham
Date: Sun Mar 28 2021 - 21:53:14 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 on T2081 and P2041 based systems with a number of i2c and smbus
devices.

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 | 91 +++
drivers/i2c/busses/i2c-mpc.c | 517 ++++++++++--------
3 files changed, 369 insertions(+), 301 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-mpc.txt
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-mpc.yaml

--
2.31.0