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

Angus Ainslie angus at akkea.ca
Tue Feb 15 01:51:28 CET 2022


Hi Marek,

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.

Thanks
Angus


More information about the U-Boot mailing list