[PATCH v2] imx8m: clock_imx8mq: Add the ecspi clocks

Marek Vasut marex at denx.de
Tue Feb 15 09:01:36 CET 2022


On 2/15/22 01:51, Angus Ainslie wrote:
> Hi Marek,

Hi,

> On 2022-02-14 16:25, Marek Vasut wrote:
>> On 2/14/22 21:51, Angus Ainslie wrote:
>>> Enable the clocks for spi buses 1 through 3
>>>
>>> Signed-off-by: Angus Ainslie <angus at akkea.ca>
>>> ---
>>>
>>> Changes since v1:
>>>
>>> added MXC_CSPI_CLK to ECSPI1_CLK_ROOT mapping
>>>
>>>   arch/arm/include/asm/arch-imx8m/imx-regs.h |  9 +++++
>>>   arch/arm/mach-imx/imx8m/clock_imx8mq.c     | 40 ++++++++++++++++++++++
>>>   2 files changed, 49 insertions(+)
>>
>> Shouldn't all this come from DT ?
> 
> This is used in the SPL.
> 
> The imx8mq also doesn't have a DM clock driver.

Hmm, would it be possible to take one of the other Ms clock drivers, 
fork it into MQ one, and fill in the tables from Linux, thus creating 
the missing MQ clock driver?


More information about the U-Boot mailing list