Skip to content

i2c-mpc: add support for the Freescale MPC512x and other fixes

Wolfgang Grandegger linux-devicetree linux-i2c linuxppc-dev 8 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest4 patches 0 repliesNew
  2. v73 of 4 patches 2 repliesSuperseded
  3. v64 patches 1 replySuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v53 patches0 repliesSuperseded
v43 patches14 repliesSuperseded
v33 patches0 repliesSuperseded
v23 patches4 repliesSuperseded
v13 patches12 repliesSuperseded

Changes in v8 from the cover letter

- fix non-bisectable patch 1 as pointed out by Grant Likely.

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4i2c-mpc: use __devinit[data] for initialization functions and datadrivers/i2c/busses/i2c-mpc.c+46 -530 replies
2/4i2c-mpc: rename "setclock" initialization functions to "setup"drivers/i2c/busses/i2c-mpc.c+20 -220 replies
3/4i2c-mpc: add support for the MPC512x processors from Freescaledrivers/i2c/busses/Kconfig drivers/i2c/busses/i2c-mpc.c+78 -220 replies
4/4powerpc: doc/dts-bindings: update doc of FSL I2C bindingsDocumentation/powerpc/dts-bindings/fsl/i2c.txt+22 -80 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchWolfram Sang
1/4T-b
2/4A-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/4] i2c-mpc: add support for the Freescale MPC512x and other fixes

This patch series adds support for the MPC512x from Freescale to the i2c-mpc driver. At that occasion, issues with __devinit[data] have been fixed and the doc of the FSL I2C dts bindings updated. It has been tested on a MPC5121ADS, TQM5200 and TQM8560 board

Changes since v1:

- use macro MPC_I2C_CLOCK_PRESERVE/SAFE for the special clock settings.
- document the special DTS node "fsl,mpc5121-i2c-ctrl".
- update and correct the Kconfig help.
- some other minor fixes as suggested by Wolfram.

Changes since v2:

- use __init[data] instead of __devinit[data] for this driver.

Changes since v3:

- switch back to __devinit[data] as pointed out by Ben.

Changes since v4:

- check MPC_I2C_CLOCK_SAFE instead of "!clock" as suggested by Wolfram.
- update MODULE_DESCRIPTION().

Changes since v5 (suggested by Grant Likely):

- various correctings for labling initialization functions and data (this is tricky because section mismatches are not always obvious).
- add a separate patch for renaming the setclock into setup functions.
- correct the doc of the I2C bindings, e.g. don't mention the legacy clock setting and remove obsolte parts.

Changes since v6:

- use __devinitconst for const data as suggested by Stephen Rothwell.

Changes since v7:

- fix non-bisectable patch 1 as pointed out by Grant Likely.

Wolfgang

Wolfgang Grandegger (4):
i2c-mpc: use __devinit[data] for initialization functions and data
i2c-mpc: rename "setclock" initialization functions to "setup"
i2c-mpc: add support for the MPC512x processors from Freescale
powerpc: doc/dts-bindings: update doc of FSL I2C bindings

 Documentation/powerpc/dts-bindings/fsl/i2c.txt |   30 +++-
 drivers/i2c/busses/Kconfig                     |    7 +-
 drivers/i2c/busses/i2c-mpc.c                   |  194 +++++++++++++++---------
 3 files changed, 146 insertions(+), 85 deletions(-)