[U-Boot] [RFC PATCH v2 00/18] WIP Add support for i.MXRT family

Giulio Benetti giulio.benetti at benettiengineering.com
Wed Nov 20 17:56:09 UTC 2019


Hello everybody,

following:
https://lists.denx.de/pipermail/u-boot/2019-October/388853.html

I send a new patchset where WIP means that patch is still not finished but if
possible I would like to have a feedback.
This patchset provides:
- soc family entry
- pinctrl driver
- serial driver tweaking
- sdram controller driver
- imxrt1050-evk board basic support
- clock setup using CCF
- addings to pllv3 driver
- some little improvement for DM_CLK in drivers

I still can't have usdhc completely working since it reads zeroes starting from
sector 256(0x100).
While LCDIF is in WIP but almost ready.

Thanks in advance for eventually reviewing these patches.

Best regards

Giulio Benetti (18):
  imx: Add basic support for the NXP IMXRT10xx SoC family
  clk: imx: pllv3: register PLLV3 GENERIC and USB as 2 different clocks
  clk: imx: pllv3: set div_mask differently if PLLV3 is GENERIC or USB
  clk: imx: pllv3: add enable() support
  clk: imx: pllv3: add disable() support
  clk: imx: pllv3: add set_rate() support
  clk: imx: pllv3: add PLLV3_SYS support
  clk: imx: add i.IMXRT clk driver
  pinctrl: add i.MXRT driver
  serial_lpuart: add clock enable if CONFIG_CLK is defined
  serial_lpuart: add support for i.MXRT
  ram: add SDRAM driver for i.MXRT SoCs
  mmc: fsl_esdhc: make if(CONFIG_IS_ENABLED(CLK)) an #if statement
  mmc: fsl_esdhc: add compatible for fsl, imxrt-usdhc WIP
  armv7m: cache: add mmu_set_region_dcache_behaviour() stub for
    compatibility
  video: mxsfb: add support for DM CLK
  video: mxsfb: add support for i.MXRT WIP
  imx: imxrt1050-evk: Add support for the NXP i.MXRT1050-EVK

 arch/arm/Kconfig                              |  10 +
 arch/arm/Makefile                             |   4 +-
 arch/arm/cpu/armv7m/cache.c                   |   6 +
 arch/arm/dts/Makefile                         |   2 +
 arch/arm/dts/imxrt1050-evk.dts                | 228 ++++
 arch/arm/dts/imxrt1050.dtsi                   | 167 +++
 arch/arm/include/asm/arch-imxrt/clock.h       |  10 +
 arch/arm/include/asm/arch-imxrt/gpio.h        |  19 +
 arch/arm/include/asm/arch-imxrt/imx-regs.h    |  20 +
 arch/arm/include/asm/arch-imxrt/imxrt.h       |  11 +
 arch/arm/include/asm/arch-imxrt/sys_proto.h   |  11 +
 arch/arm/include/asm/mach-imx/regs-lcdif.h    |   6 +-
 arch/arm/mach-imx/Makefile                    |   3 +-
 arch/arm/mach-imx/imxrt/Kconfig               |  17 +
 arch/arm/mach-imx/imxrt/Makefile              |   7 +
 arch/arm/mach-imx/imxrt/soc.c                 |  35 +
 board/freescale/imxrt1050-evk/Kconfig         |  22 +
 board/freescale/imxrt1050-evk/MAINTAINERS     |   6 +
 board/freescale/imxrt1050-evk/Makefile        |   6 +
 board/freescale/imxrt1050-evk/README          |  31 +
 board/freescale/imxrt1050-evk/imximage.cfg    |  36 +
 board/freescale/imxrt1050-evk/imxrt1050-evk.c |  81 ++
 configs/imxrt1050-evk_defconfig               |  71 ++
 drivers/clk/imx/Kconfig                       |  16 +
 drivers/clk/imx/Makefile                      |   2 +
 drivers/clk/imx/clk-imxrt.c                   | 254 +++++
 drivers/clk/imx/clk-pllv3.c                   | 135 ++-
 drivers/mmc/Kconfig                           |   2 +-
 drivers/mmc/fsl_esdhc_imx.c                   |  53 +-
 drivers/pinctrl/nxp/Kconfig                   |  14 +
 drivers/pinctrl/nxp/Makefile                  |   1 +
 drivers/pinctrl/nxp/pinctrl-imxrt.c           |  40 +
 drivers/ram/Kconfig                           |   8 +
 drivers/ram/Makefile                          |   2 +
 drivers/ram/imxrt_sdram.c                     | 439 ++++++++
 drivers/serial/serial_lpuart.c                |  28 +-
 drivers/video/mxsfb.c                         |  31 +-
 include/configs/imxrt1050-evk.h               |  59 ++
 include/dt-bindings/clock/imxrt-clock.h       |  65 ++
 include/dt-bindings/memory/imxrt-sdram.h      | 100 ++
 include/dt-bindings/pinctrl/pins-imxrt1050.h  | 993 ++++++++++++++++++
 include/fsl_lpuart.h                          |   3 +-
 42 files changed, 3008 insertions(+), 46 deletions(-)
 create mode 100644 arch/arm/dts/imxrt1050-evk.dts
 create mode 100644 arch/arm/dts/imxrt1050.dtsi
 create mode 100644 arch/arm/include/asm/arch-imxrt/clock.h
 create mode 100644 arch/arm/include/asm/arch-imxrt/gpio.h
 create mode 100644 arch/arm/include/asm/arch-imxrt/imx-regs.h
 create mode 100644 arch/arm/include/asm/arch-imxrt/imxrt.h
 create mode 100644 arch/arm/include/asm/arch-imxrt/sys_proto.h
 create mode 100644 arch/arm/mach-imx/imxrt/Kconfig
 create mode 100644 arch/arm/mach-imx/imxrt/Makefile
 create mode 100644 arch/arm/mach-imx/imxrt/soc.c
 create mode 100644 board/freescale/imxrt1050-evk/Kconfig
 create mode 100644 board/freescale/imxrt1050-evk/MAINTAINERS
 create mode 100644 board/freescale/imxrt1050-evk/Makefile
 create mode 100644 board/freescale/imxrt1050-evk/README
 create mode 100644 board/freescale/imxrt1050-evk/imximage.cfg
 create mode 100644 board/freescale/imxrt1050-evk/imxrt1050-evk.c
 create mode 100644 configs/imxrt1050-evk_defconfig
 create mode 100644 drivers/clk/imx/clk-imxrt.c
 create mode 100644 drivers/pinctrl/nxp/pinctrl-imxrt.c
 create mode 100644 drivers/ram/imxrt_sdram.c
 create mode 100644 include/configs/imxrt1050-evk.h
 create mode 100644 include/dt-bindings/clock/imxrt-clock.h
 create mode 100644 include/dt-bindings/memory/imxrt-sdram.h
 create mode 100644 include/dt-bindings/pinctrl/pins-imxrt1050.h

-- 
2.20.1



More information about the U-Boot mailing list