mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* i.MX7 Ethernet clock fixes
@ 2017-02-06  6:50 Sascha Hauer
  2017-02-06  6:50 ` [PATCH 1/9] clk: Keep enable count consistent over reparent Sascha Hauer
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Sascha Hauer @ 2017-02-06  6:50 UTC (permalink / raw)
  To: Barebox List

The following patches are encessary to make fec ethernet work on i.MX7.
There are some inaccuracies in the barebox clock support have to be fixed
first, but the real problem was that our clock code derived from the
Kernel controls non existing clock gates whereas the real gates are not
touched at all. It seems this was never noticed in the kernel since U-Boot
has configured the clocks correctly beforehand.

Sascha

----------------------------------------------------------------
Sascha Hauer (9):
      clk: Keep enable count consistent over reparent
      clk: implement CLK_OPS_PARENT_ENABLE
      clk: i.MX: clk-gate2: Allow to pass flags
      clk: i.MX: Pass CLK_OPS_PARENT_ENABLE where necessary
      clk: i.MX7: do clock reparenting when all clocks are initialized
      clk: Add support for shared gates
      clk: i.MX7: Fix ethernet clocks
      clk: i.MX7: do not register PLL bypass clocks as separate clocks
      clk: i.MX7: setup ethernet clocks

 drivers/clk/Makefile          |   3 +-
 drivers/clk/clk-gate-shared.c | 123 +++++++++++++++++++++
 drivers/clk/clk.c             |  52 +++++++--
 drivers/clk/imx/clk-gate2.c   |  11 +-
 drivers/clk/imx/clk-imx7.c    | 249 +++++++++++++++++++++---------------------
 drivers/clk/imx/clk.h         |  20 ++--
 include/linux/clk.h           |   5 +
 7 files changed, 315 insertions(+), 148 deletions(-)
 create mode 100644 drivers/clk/clk-gate-shared.c

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

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

end of thread, other threads:[~2017-02-06  6:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-06  6:50 i.MX7 Ethernet clock fixes Sascha Hauer
2017-02-06  6:50 ` [PATCH 1/9] clk: Keep enable count consistent over reparent Sascha Hauer
2017-02-06  6:50 ` [PATCH 2/9] clk: implement CLK_OPS_PARENT_ENABLE Sascha Hauer
2017-02-06  6:50 ` [PATCH 3/9] clk: i.MX: clk-gate2: Allow to pass flags Sascha Hauer
2017-02-06  6:50 ` [PATCH 4/9] clk: i.MX: Pass CLK_OPS_PARENT_ENABLE where necessary Sascha Hauer
2017-02-06  6:50 ` [PATCH 5/9] clk: i.MX7: do clock reparenting when all clocks are initialized Sascha Hauer
2017-02-06  6:50 ` [PATCH 6/9] clk: Add support for shared gates Sascha Hauer
2017-02-06  6:50 ` [PATCH 7/9] clk: i.MX7: Fix ethernet clocks Sascha Hauer
2017-02-06  6:50 ` [PATCH 8/9] clk: i.MX7: do not register PLL bypass clocks as separate clocks Sascha Hauer
2017-02-06  6:50 ` [PATCH 9/9] clk: i.MX7: setup ethernet clocks Sascha Hauer

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