Skip to content

Add initial support for the i.MXRTxxxx SoC family starting from i.IMXRT1050 SoC.

Jesse Taube linux-arm-kernel linux-clk linux-devicetree linux-gpio linux-mmc linux-serial lkml soc 9 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest7 patches 11 repliesApplied
  2. v7 posting 2/27 patches 1 replySuperseded
  3. v7 posting 1/27 patches 11 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v67 patches2 repliesSuperseded
v59 patches10 repliesSuperseded
v413 patches14 repliesSuperseded
v313 patches30 repliesSuperseded
v213 patches23 repliesSuperseded
v113 patches20 repliesSuperseded

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/7ARM: imx: Add initial support for i.MXRT10xx familyarch/arm/mach-imx/Kconfig arch/arm/mach-imx/Makefile arch/arm/mach-imx/mach-imxrt.c+28 -01 reply
2/7ARM: dts: imxrt1050-pinfunc: Add pinctrl binding headerarch/arm/boot/dts/imxrt1050-pinfunc.h+993 -02 replies
3/7dt-bindings: imx: Add clock binding for i.MXRT1050include/dt-bindings/clock/imxrt1050-clock.h+72 -02 replies
4/7dt-bindings: clock: imx: Add documentation for i.MXRT1050 clockDocumentation/devicetree/bindings/clock/imxrt1050-clock.yaml+67 -02 replies
5/7clk: imx: Add initial support for i.MXRT1050 clock driverdrivers/clk/imx/Kconfig drivers/clk/imx/Makefile drivers/clk/imx/clk-imxrt1050.c+176 -02 replies
6/7ARM: dts: imx: Add i.MXRT1050-EVK supportarch/arm/boot/dts/Makefile arch/arm/boot/dts/imxrt1050-evk.dts arch/arm/boot/dts/imxrt1050.dtsi+234 -01 reply
7/7ARM: imxrt_defconfig: Add i.MXRT family defconfigarch/arm/configs/imxrt_defconfig+35 -01 reply

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchStephen BoydRob Herring
1/7
2/7A-b
3/7A-b
4/7R-b
5/7R-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/7] Add initial support for the i.MXRTxxxx SoC family starting from i.IMXRT1050 SoC.

This patchset contains:
- i.MXRT10xx family infrastructure
- i.MXRT1050 pinctrl driver adaption
- i.MXRT1050 clock driver adaption
- i.MXRT1050 sd-card driver adaption
- i.MXRT1050 uart driver adaption
- i.MXRT1050-evk basic support

The i.MXRTxxxx family that could have support by Linux actually spreads from i.MXRT1020 to i.MXRT1170 with the first one supporting 1 USB OTG & 100M ethernet with a cortex-M7@500Mhz up to the latter with i.MXRT1170 with cortex-M7@1Ghz and cortex-M4@400Mhz, 2MB of internal SRAM, 2D GPU, 2x 1Gb and 1x 100Mb ENET. The i.MXRT family is NXP's answer to STM32F7XX, as it uses only simple SDRAM, it gives the chance of a 4 or less layer PCBs. Seeing that these chips are comparable to the STM32F7XXs which have linux ported to them it seems reasonable to add support for them.

Giving Linux support to this family should ease the development process, instead of using a RTOS they could use Embedded Linux allowing for more portability, ease of design and will broaden the scope of people using embedded linux.

The EVK has very little SDRAM, generally 32MB starting from i.MXRT1020(the lowest P/N), although the i.MXRT1160/70 provide instead 64MB of SDRAM for more functionality.

At the moment we do not support XIP for either u-boot or Linux but it should be done in the future. XIP will also save SDRAM.

Another interesting fact is the amount of internal SRAM, as the P/N increases the SRAM will reach up to 2MB(some could be for cache and some would be for video).

Also, some parts have embed flash of 4MB that can be used for u-boot/Linux, if both correctly sized it will leave the SDRAM free.

External flash can be Quad SPI and HyperFlash, so throughput would be decent.

The i.MXRT11xx series supports MIPI interface too.

The family in general provide CAN bus, audio I/O, 1 or more USB(otg/host), 1 or more 100Mb/1Gb ethernet, camera interface, sd-card.

All this can be used for simple GUIs, web-servers, point-of-sale stations, etc.

Giulio Benetti (4):
ARM: imx: Add initial support for i.MXRT10xx family
dt-bindings: imx: Add clock binding for i.MXRT1050
ARM: dts: imx: Add i.MXRT1050-EVK support
ARM: imxrt_defconfig: Add i.MXRT family defconfig

Jesse Taube (3):
ARM: dts: imxrt1050-pinfunc: Add pinctrl binding header
dt-bindings: clock: imx: Add documentation for i.MXRT1050 clock
clk: imx: Add initial support for i.MXRT1050 clock driver

 .../bindings/clock/imxrt1050-clock.yaml       |  67 ++
 arch/arm/boot/dts/Makefile                    |   2 +
 arch/arm/boot/dts/imxrt1050-evk.dts           |  72 ++
 arch/arm/boot/dts/imxrt1050-pinfunc.h         | 993 ++++++++++++++++++
 arch/arm/boot/dts/imxrt1050.dtsi              | 160 +++
 arch/arm/configs/imxrt_defconfig              |  35 +
 arch/arm/mach-imx/Kconfig                     |   7 +
 arch/arm/mach-imx/Makefile                    |   2 +
 arch/arm/mach-imx/mach-imxrt.c                |  19 +
 drivers/clk/imx/Kconfig                       |   7 +
 drivers/clk/imx/Makefile                      |   1 +
 drivers/clk/imx/clk-imxrt1050.c               | 168 +++
 include/dt-bindings/clock/imxrt1050-clock.h   |  72 ++
 13 files changed, 1605 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/imxrt1050-clock.yaml
 create mode 100644 arch/arm/boot/dts/imxrt1050-evk.dts
 create mode 100644 arch/arm/boot/dts/imxrt1050-pinfunc.h
 create mode 100644 arch/arm/boot/dts/imxrt1050.dtsi
 create mode 100644 arch/arm/configs/imxrt_defconfig
 create mode 100644 arch/arm/mach-imx/mach-imxrt.c
 create mode 100644 drivers/clk/imx/clk-imxrt1050.c
 create mode 100644 include/dt-bindings/clock/imxrt1050-clock.h
Signature · 1 line
2.34.1