[U-Boot] [PATCH 0/8] i.MX: Add initial CLK support

Jagan Teki jagan at amarulasolutions.com
Mon Jul 30 12:56:17 UTC 2018


This is first version for previous RFC[1] and on top of 
fec_mxc series [2]

One of the blocking area where fec_mxc is unlikely
to move dm can be CLK support, this series trying
to add support for it and concentrated on ENET clocking
for i.MX6QDL and i.MX6UL.

Tested on i.MX6QDL

For i.MX6UL, need clearing gpr1[13] for fec1. any suggestion
how we can handle this in CLK driver?

Changes for v1:
- Set ENET_50MHZ directly from CLK diriver.

[2] https://patchwork.ozlabs.org/cover/950886/
[1] https://patchwork.ozlabs.org/cover/941549/

Jagan Teki (8):
  clk: Kconfig: Ascending order to sub directiory kconfigs
  clk: Add DM CLK driver template for i.MX6QDL
  clk: imx: imx6q: Implement ENET clocks
  clk: imx: imx6ul: Implement ENET clocks
  clk: Add generic_clk_valid
  net: fec_mxc: Add clock support via CLK
  imx6ul: engicam: Enable CLK_IMX
  configs: icorem6_rqs: Enable CLK_IMX

 arch/arm/mach-imx/mx6/Kconfig       |  1 +
 configs/imx6qdl_icore_rqs_defconfig |  1 +
 drivers/clk/Kconfig                 |  9 +--
 drivers/clk/Makefile                |  1 +
 drivers/clk/imx/Kconfig             | 25 ++++++++
 drivers/clk/imx/Makefile            |  8 +++
 drivers/clk/imx/clk_imx6q.c         | 86 +++++++++++++++++++++++++++
 drivers/clk/imx/clk_imx6ul.c        | 92 +++++++++++++++++++++++++++++
 drivers/net/fec_mxc.c               | 58 +++++++++++++++++-
 drivers/net/fec_mxc.h               |  5 ++
 drivers/video/ipu_common.c          |  8 +++
 include/clk-uclass.h                | 10 ++++
 12 files changed, 299 insertions(+), 5 deletions(-)
 create mode 100644 drivers/clk/imx/Kconfig
 create mode 100644 drivers/clk/imx/Makefile
 create mode 100644 drivers/clk/imx/clk_imx6q.c
 create mode 100644 drivers/clk/imx/clk_imx6ul.c

-- 
2.18.0.321.gffc6fa0e3



More information about the U-Boot mailing list