Skip to content

Add i.MXRT family support

Giulio Benetti u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 20 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 20 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/20] Add i.MXRT family support

Hi Simon,

Quoted 26 lines · Simon Glass

Hi Giulio,

Quoted 22 lines · Giulio Benetti

Hi Stefano, Simon, All,

Quoted 17 lines · Stefano Babic

Hi Giulio,

Quoted 11 lines · Giulio Benetti

This patchset add support for i.MXRT family starting from i.MXRT1050 SoC. It provides:
- i.MXRT1050 SoC entry
- i.MXRT pinctrl driver
- i.MXRT serial driver tweaking
- i.MXRT sdram controller driver
- i.MXRT usdhc driver tweaking
- i.MXRT1050-evk initial support

It uses all DM clocks all around and it loads correctly a basic Linux zImage.

Lukasz has already reviewed most patches, and a V2 is surely WIP. FYI: I archive this first series, and I'll wait for your next V2 - thanks !

Quoted 8 lines
Quoted 6 lines

I really would like to, but I'm stuck on OF_PLATDATA issue for named clocks in SPL, see:
https://lists.denx.de/pipermail/u-boot/2019-December/394944.html

Is it enough for the moment to keep SPL *without* OF_PLATDATA and implement it later?

It seems fine to me, but the assert() idea should work too.

With assert() idea you mean define a header(i.e. imx-clk-names-id.h) like:

```
#define IMX_CLK_NAME_PER	0
#define IMX_CLK_NAME_IPG	1
...
```

And then in non-OF_PLATDATA trying to:

```
struct clk per_clk;
int ret;

ret = clk_get_by_index(dev, IMX_CLK_NAME_PER, &clk);
```

And check if clock's name is "per"?

Best regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 3 lines

Regards,
Simon