[PATCH] I2C: i.MX: early: Use internal udelay
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Feb 2 06:27:26 PST 2023
Hello Jules,
On 02.02.23 15:21, Jules Maselbas wrote:
> On Mon, Jan 30, 2023 at 11:27:27AM +0100, Sascha Hauer wrote:
>> The time spent for a register read depends on the bus clock which
>> doesn't change that much between the different SoCs.
>>
>
> Some arm devices have an architecture timer, isn't it possible to use
> the udelay defined in arch/arm/lib64/pbl.c on i.MX ? I am not very
> experienced on ARM cpus, is this only possible on armv7/armv8, and not
> on every i.MX SoCs ?
Cortex-A7 and later i.MX has an ARMv7 architected timer, but "normal"
i.MX6Q/DL with Cortex-A9 doesn't.
Cheers,
Ahmad
>
> Cheers,
> -- Jules
>
>
>
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list