Skip to content

imx: support for the IIM fusebox

Baruch Siach barebox 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 5 repliesIn review
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* Put the imx_iim platform code in the imx25 code instead of the board code. This avoids code duplication in each board.

* Move the MAC address fetch code into the imx_iim driver, and use platform data to pass the MAC address fusebox offset. This avoids ugly ifdefs in the fec_imx driver.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6imx: move IIM registers to their own headerarch/arm/mach-imx/imx35.c arch/arm/mach-imx/include/mach/iim.h arch/arm/mach-imx/include/mach/imx35-regs.h+43 -180 replies
2/6imx: driver for the IIM fuseboxarch/arm/mach-imx/Kconfig arch/arm/mach-imx/Makefile arch/arm/mach-imx/iim.c+310 -00 replies
3/6imx iim: add mac address supportarch/arm/mach-imx/iim.c arch/arm/mach-imx/include/mach/iim.h+34 -12 replies
4/6imx25: add chip specific IIM fusebox definesarch/arm/mach-imx/include/mach/imx25-regs.h+7 -14 replies
5/6imx25: add iim platform codearch/arm/mach-imx/imx25.c+44 -00 replies
6/6fec_imx: add support for IIM stored mac addressdrivers/net/fec_imx.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] imx: support for the IIM fusebox

This patch series adds a driver for the IIM fusebox. As suggested by Sascha Hauer, this driver is implemented as a character device, which allows use of the standard md/mw commands to access the fuses.

Patches 3 and 6 also add to the fec_imx NIC driver the ability to fetch the MAC address from the IIM fusebox.

Changes from v1:

* Put the imx_iim platform code in the imx25 code instead of the board code. This avoids code duplication in each board.

* Move the MAC address fetch code into the imx_iim driver, and use platform data to pass the MAC address fusebox offset. This avoids ugly ifdefs in the fec_imx driver.

Baruch Siach (6):
imx: move IIM registers to their own header
imx: driver for the IIM fusebox
imx iim: add mac address support
imx25: add chip specific IIM fusebox defines
imx25: add iim platform code
fec_imx: add support for IIM stored mac address

 arch/arm/mach-imx/Kconfig                   |   18 ++
 arch/arm/mach-imx/Makefile                  |    1 +
 arch/arm/mach-imx/iim.c                     |  311 +++++++++++++++++++++++++++
 arch/arm/mach-imx/imx25.c                   |   44 ++++
 arch/arm/mach-imx/imx35.c                   |    1 +
 arch/arm/mach-imx/include/mach/iim.h        |   55 +++++
 arch/arm/mach-imx/include/mach/imx25-regs.h |    8 +-
 arch/arm/mach-imx/include/mach/imx35-regs.h |   18 --
 drivers/net/fec_imx.c                       |    4 +-
 9 files changed, 439 insertions(+), 21 deletions(-)
 create mode 100644 arch/arm/mach-imx/iim.c
 create mode 100644 arch/arm/mach-imx/include/mach/iim.h

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox