imx: support for the IIM fusebox
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 5 repliesIn review
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | imx: move IIM registers to their own headerarch/ arch/ arch/ | +43 | 0 replies | |
| 2/6 | imx: driver for the IIM fuseboxarch/ arch/ arch/ | +310 | 0 replies | |
| 3/6 | imx iim: add mac address supportarch/ arch/ | +34 | 2 replies | |
| 4/6 | imx25: add chip specific IIM fusebox definesarch/ | +7 | 4 replies | |
| 5/6 | imx25: add iim platform codearch/ | +44 | 0 replies | |
| 6/6 | fec_imx: add support for IIM stored mac addressdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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