mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/8] ARM: i.MX8M: add nano support
@ 2021-10-01 10:09 Ahmad Fatoum
  2021-10-01 10:09 ` [PATCH v2 1/8] ARM: i.MX: add i.MX8MN (Nano) SoC support boilerplate Ahmad Fatoum
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Ahmad Fatoum @ 2021-10-01 10:09 UTC (permalink / raw)
  To: barebox; +Cc: Trent Piepho

The i.MX8MN is basically a downsized i.MX8MM, but got also shares
some details with the i.MX8MP. This series adds SoC and EVK board
support. Main thing missing is imx-usb-loader support:

  found i.MX8MN USB device [1fc9:013e]

  4 in err=-7, last_trans=0  00 00 00 00
  status failed

And no serial output indicating PBL started up, but that can
follow later.

Series applies on top of
 <20210830115325.24905-1-a.fatoum@pengutronix.de>
 <20210830115156.21907-1-a.fatoum@pengutronix.de>
 <20210924031446.1515172-1-tpiepho@gmail.com>


v1 -> v2:
  - dropped DDR-1067MHz fix ported from U-Boot in favor
    of Trent's refactor

Ahmad Fatoum (8):
  ARM: i.MX: add i.MX8MN (Nano) SoC support boilerplate
  clk: imx: add i.MX8MN (Nano) support
  ARM: i.MX8MN: adapt early clock support
  ARM: i.MX: extend drivers for i.MX8MN (Nano) support
  ddr: imx8m: add i.MX8MN (Nano) support
  ddr: imx8m: ddrphy_train: add DDR4 support
  scripts: imx: add i.MX8MN support to imx-image
  ARM: i.MX8MN: add i.MX8MN-EVK support

 Documentation/boards/imx/nxp-imx8mn-evk.rst   |   60 +
 arch/arm/boards/Makefile                      |    1 +
 arch/arm/boards/mnt-reform/lpddr4-timing.c    |    1 +
 .../arm/boards/nxp-imx8mm-evk/lpddr4-timing.c |    1 +
 arch/arm/boards/nxp-imx8mn-evk/Makefile       |    2 +
 arch/arm/boards/nxp-imx8mn-evk/board.c        |   62 +
 arch/arm/boards/nxp-imx8mn-evk/ddr4-timing.c  | 1055 +++++++++++
 .../flash-header-imx8mn-evk.imxcfg            |    5 +
 arch/arm/boards/nxp-imx8mn-evk/lowlevel.c     |  231 +++
 .../arm/boards/nxp-imx8mn-evk/lpddr4-timing.c | 1591 +++++++++++++++++
 .../arm/boards/nxp-imx8mp-evk/lpddr4-timing.c |    1 +
 arch/arm/boards/nxp-imx8mq-evk/ddrphy_train.c |    6 +-
 .../boards/phytec-som-imx8mq/ddrphy_train.c   |    6 +-
 .../protonic-imx8m/lpddr4-timing-prt8mm.c     |    1 +
 arch/arm/boards/zii-imx8mq-dev/ddrphy_train.c |    6 +-
 arch/arm/configs/imx_v8_defconfig             |    1 +
 arch/arm/dts/Makefile                         |    1 +
 arch/arm/dts/imx8mn-evk.dts                   |   62 +
 arch/arm/mach-imx/Kconfig                     |   16 +
 arch/arm/mach-imx/atf.c                       |    5 +
 arch/arm/mach-imx/boot.c                      |    6 +
 arch/arm/mach-imx/cpu_init.c                  |    3 +
 arch/arm/mach-imx/esdctl.c                    |    8 +
 arch/arm/mach-imx/imx-bbu-internal.c          |    8 +-
 arch/arm/mach-imx/imx.c                       |    4 +
 arch/arm/mach-imx/imx8m.c                     |   39 +-
 arch/arm/mach-imx/include/mach/atf.h          |    2 +
 arch/arm/mach-imx/include/mach/esdctl.h       |    1 +
 arch/arm/mach-imx/include/mach/generic.h      |   18 +-
 .../mach-imx/include/mach/imx8m-ccm-regs.h    |    1 +
 arch/arm/mach-imx/include/mach/imx8mn-regs.h  |   34 +
 arch/arm/mach-imx/include/mach/imx8mq.h       |   11 +
 .../arm/mach-imx/include/mach/imx_cpu_types.h |    1 +
 arch/arm/mach-imx/include/mach/iomux-mx8mn.h  |  774 ++++++++
 arch/arm/mach-imx/include/mach/xload.h        |    1 +
 drivers/clk/imx/Makefile                      |    2 +
 drivers/clk/imx/clk-imx8mn.c                  |  558 ++++++
 drivers/ddr/imx8m/Kconfig                     |    2 +-
 drivers/ddr/imx8m/ddr_init.c                  |    8 +-
 drivers/ddr/imx8m/ddrphy_train.c              |   26 +-
 drivers/ddr/imx8m/ddrphy_utils.c              |    1 +
 drivers/mci/imx-esdhc-pbl.c                   |    3 +
 drivers/mci/imx-esdhc.c                       |    1 +
 drivers/nvmem/ocotp.c                         |    3 +
 drivers/pinctrl/imx-iomux-v3.c                |    2 +
 drivers/serial/serial_imx.c                   |    3 +
 drivers/usb/imx/imx-usb-misc.c                |    4 +
 firmware/Kconfig                              |    6 +
 firmware/Makefile                             |    7 +
 images/Makefile.imx                           |    6 +
 include/soc/imx8m/ddr.h                       |   22 +-
 scripts/imx/imx.c                             |    1 +
 scripts/imx/imx.h                             |    1 +
 53 files changed, 4654 insertions(+), 27 deletions(-)
 create mode 100644 Documentation/boards/imx/nxp-imx8mn-evk.rst
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/Makefile
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/board.c
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/ddr4-timing.c
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/lowlevel.c
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/lpddr4-timing.c
 create mode 100644 arch/arm/dts/imx8mn-evk.dts
 create mode 100644 arch/arm/mach-imx/include/mach/imx8mn-regs.h
 create mode 100644 arch/arm/mach-imx/include/mach/iomux-mx8mn.h
 create mode 100644 drivers/clk/imx/clk-imx8mn.c

-- 
2.30.2


_______________________________________________
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:[~2021-10-05  7:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 10:09 [PATCH v2 0/8] ARM: i.MX8M: add nano support Ahmad Fatoum
2021-10-01 10:09 ` [PATCH v2 1/8] ARM: i.MX: add i.MX8MN (Nano) SoC support boilerplate Ahmad Fatoum
2021-10-01 10:09 ` [PATCH v2 2/8] clk: imx: add i.MX8MN (Nano) support Ahmad Fatoum
2021-10-01 10:09 ` [PATCH v2 3/8] ARM: i.MX8MN: adapt early clock support Ahmad Fatoum
2021-10-01 10:09 ` [PATCH v2 4/8] ARM: i.MX: extend drivers for i.MX8MN (Nano) support Ahmad Fatoum
2021-10-01 10:09 ` [PATCH v2 5/8] ddr: imx8m: add " Ahmad Fatoum
2021-10-01 10:09 ` [PATCH v2 6/8] ddr: imx8m: ddrphy_train: add DDR4 support Ahmad Fatoum
2021-10-01 10:09 ` [PATCH v2 7/8] scripts: imx: add i.MX8MN support to imx-image Ahmad Fatoum
2021-10-01 10:09 ` [PATCH v2 8/8] ARM: i.MX8MN: add i.MX8MN-EVK support Ahmad Fatoum
2021-10-05  7:06 ` [PATCH v2 0/8] ARM: i.MX8M: add nano support Sascha Hauer

mail archive of the barebox mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lore.barebox.org/barebox/0 barebox/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 barebox barebox/ https://lore.barebox.org/barebox \
		barebox@lists.infradead.org
	public-inbox-index barebox

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git