mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] MCI patches
@ 2013-05-27  8:52 Sascha Hauer
  2013-05-27  8:52 ` [PATCH 1/7] driver: Attach info callback to device, not to driver Sascha Hauer
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Sascha Hauer @ 2013-05-27  8:52 UTC (permalink / raw)
  To: barebox

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(-)

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2013-05-27  8:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-27  8:52 [PATCH] MCI patches Sascha Hauer
2013-05-27  8:52 ` [PATCH 1/7] driver: Attach info callback to device, not to driver Sascha Hauer
2013-05-27  8:52 ` [PATCH 2/7] mci: make mci device a pure device Sascha Hauer
2013-05-27  8:52 ` [PATCH 3/7] mci: embed mci device into struct mci Sascha Hauer
2013-05-27  8:52 ` [PATCH 4/7] mci: set name of mci device to same name as the filename Sascha Hauer
2013-05-27  8:52 ` [PATCH 5/7] of: Add of_alias_get function Sascha Hauer
2013-05-27  8:52 ` [PATCH 6/7] mci: imx-esdhc: allow to specify devicename via OF alias Sascha Hauer
2013-05-27  8:52 ` [PATCH 7/7] ARM: i.MX51: Add aliases for MMC controllers Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox