[PATCH] MCI patches

Sascha Hauer s.hauer at pengutronix.de
Mon May 27 04:52:48 EDT 2013


Some time ago we introduced the possibility to register the
SD/MMC device files with specific names to get persistent
names for them. The devices needed to probe/info the cards are
still named mcix though and still have dynamic numbers. This
series renames the devices to the same name as the device files.

Also for the i.MX ESDHC controller on i.MX51 we allow to specify
aliases for the controllers. The devices are now registered
using the aliases making it possible to have persistent names for
devicetree based boards.

Sascha

----------------------------------------------------------------
Sascha Hauer (7):
      driver: Attach info callback to device, not to driver
      mci: make mci device a pure device
      mci: embed mci device into struct mci
      mci: set name of mci device to same name as the filename
      of: Add of_alias_get function
      mci: imx-esdhc: allow to specify devicename via OF alias
      ARM: i.MX51: Add aliases for MMC controllers

 arch/arm/boards/freescale-mx51-pdk/board.c |   6 +-
 arch/arm/dts/imx51.dtsi                    |   4 +
 arch/sandbox/board/hostfile.c              |   5 +-
 drivers/ata/ahci.c                         |   2 +-
 drivers/ata/sata-imx.c                     |   2 +-
 drivers/base/driver.c                      |  18 +--
 drivers/mci/atmel_mci.c                    |   8 +-
 drivers/mci/imx-esdhc.c                    |   7 +-
 drivers/mci/mci-core.c                     | 235 ++++++++++++++---------------
 drivers/mci/mxs.c                          |  14 +-
 drivers/mci/s3c.c                          |   8 +-
 drivers/misc/jtag.c                        |  40 ++---
 drivers/mtd/nor/cfi_flash.c                |   3 +-
 drivers/net/cs8900.c                       |   3 +-
 drivers/of/base.c                          |  13 ++
 drivers/video/fb.c                         |   3 +-
 drivers/video/s3c24xx.c                    |   8 +-
 drivers/video/stm.c                        |   3 +-
 include/driver.h                           |   5 +-
 include/mci.h                              |   2 +-
 include/of.h                               |   6 +
 21 files changed, 196 insertions(+), 199 deletions(-)



More information about the barebox mailing list