mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fix i.MX51 babbage ethernet
@ 2014-05-08  7:31 Sascha Hauer
  2014-05-08  7:31 ` [PATCH 1/5] mfd: mc13xxx: Allow to set callback for mc13xxx Sascha Hauer
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Sascha Hauer @ 2014-05-08  7:31 UTC (permalink / raw)
  To: barebox

This once again bends the init order to fit another board. This series
works over a number of shortcomings in barebox and devicetree support.
The problem here is that the Babbage ethernet phy needs vgen3 of the PMIC
enabled.

- We currently do not have proper regulator support for the mc13xxx,
  so we manipulate the PMIC registers directly from the board file. This
  has to happen before the ethernet phy is initialized. Once again
  we fiddle with the initcall order to make that sure. It can't be
  very long until we need some dependency mechanism for devices.
- Even if that is fixed the ethernet phy currently can't be described
  in the devicetree so we can't properly attach a regulator to it.

The following fixes ethernet support for the Babbage board which seems
to be broken for quite some time, at least when barebox is used as a
first stage loader.

Sascha

----------------------------------------------------------------
Sascha Hauer (5):
      mfd: mc13xxx: Allow to set callback for mc13xxx
      spi: i.MX: Move to coredevice_initcall
      mfd: mc13xxx: move to coredevice_initcall
      ARM: i.MX51 babbage: use mc13xxx_register_callback to initialize PMIC
      ARM: dts: i.MX51 babbage: overwrite upstream FEC iomux settings

 arch/arm/boards/freescale-mx51-babbage/board.c | 27 +++++++-------
 arch/arm/dts/imx51-babbage.dts                 | 36 +++++++++++++++++++
 drivers/mfd/mc13xxx.c                          | 50 ++++++++++++++++++++------
 drivers/net/fec_imx.h                          |  1 +
 drivers/spi/imx_spi.c                          |  2 +-
 include/mfd/mc13xxx.h                          |  6 ++++
 6 files changed, 95 insertions(+), 27 deletions(-)

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

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

end of thread, other threads:[~2014-05-19  8:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-08  7:31 [PATCH] fix i.MX51 babbage ethernet Sascha Hauer
2014-05-08  7:31 ` [PATCH 1/5] mfd: mc13xxx: Allow to set callback for mc13xxx Sascha Hauer
2014-05-18 23:14   ` Marc Reilly
2014-05-19  6:40     ` Sascha Hauer
2014-05-08  7:31 ` [PATCH 2/5] spi: i.MX: Move to coredevice_initcall Sascha Hauer
2014-05-11 18:49   ` Alexander Shiyan
2014-05-12 10:38     ` Sascha Hauer
2014-05-14 17:57       ` Alexander Shiyan
2014-05-19  8:47         ` Sascha Hauer
2014-05-08  7:31 ` [PATCH 3/5] mfd: mc13xxx: move " Sascha Hauer
2014-05-08  7:31 ` [PATCH 4/5] ARM: i.MX51 babbage: use mc13xxx_register_callback to initialize PMIC Sascha Hauer
2014-05-08  7:31 ` [PATCH 5/5] ARM: dts: i.MX51 babbage: overwrite upstream FEC iomux settings Sascha Hauer

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