linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] P2040/P2041 i2c recovery erratum
@ 2021-05-07  0:40 Chris Packham
  2021-05-07  0:40 ` [PATCH v2 1/3] dt-bindings: i2c: mpc: Add fsl,i2c-erratum-a004447 flag Chris Packham
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Chris Packham @ 2021-05-07  0:40 UTC (permalink / raw)
  To: wsa, andriy.shevchenko, andy.shevchenko, robh+dt, mpe
  Cc: linux-i2c, devicetree, linuxppc-dev, linux-kernel, Chris Packham

The P2040/P2041 has an erratum where the i2c recovery scheme
documented in the reference manual (and currently implemented
in the i2c-mpc.c driver) does not work. The errata document
provides an alternative that does work. This series implements
that alternative and uses a property in the devicetree to
decide when the alternative mechanism is needed.

Chris Packham (3):
  dt-bindings: i2c: mpc: Add fsl,i2c-erratum-a004447 flag
  powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c
    controllers
  i2c: mpc: implement erratum A-004447 workaround

 .../devicetree/bindings/i2c/i2c-mpc.yaml      |  7 ++
 arch/powerpc/boot/dts/fsl/p2041si-post.dtsi   | 16 ++++
 drivers/i2c/busses/i2c-mpc.c                  | 84 ++++++++++++++++++-
 3 files changed, 105 insertions(+), 2 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-05-11 15:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07  0:40 [PATCH v2 0/3] P2040/P2041 i2c recovery erratum Chris Packham
2021-05-07  0:40 ` [PATCH v2 1/3] dt-bindings: i2c: mpc: Add fsl,i2c-erratum-a004447 flag Chris Packham
2021-05-07 21:49   ` Rob Herring
2021-05-09 21:08     ` Chris Packham
2021-05-11 15:33       ` Rob Herring
2021-05-07  0:40 ` [PATCH v2 2/3] powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers Chris Packham
2021-05-07  8:04   ` [PATCH v2 2/3] powerpc/fsl: set fsl, i2c-erratum-a004447 " Joakim Tjernlund
2021-05-07  8:24     ` Joakim Tjernlund
2021-05-09 21:11       ` Chris Packham
2021-05-07  0:40 ` [PATCH v2 3/3] i2c: mpc: implement erratum A-004447 workaround Chris Packham
2021-05-07 11:46   ` Andy Shevchenko
2021-05-07 14:52     ` Joakim Tjernlund
2021-05-07 15:36       ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).