[PATCH 1/3] timer: add SP804 UCLASS timer driver

Tom Rini trini at konsulko.com
Thu Nov 3 17:57:32 CET 2022


On Thu, Oct 20, 2022 at 11:10:23PM +0100, Andre Przywara wrote:

> The "Arm Ltd. Dual-Timer Module (SP804)" is a simple 32-bit count-down
> timer IP with interrupt functionality, and is used in some SoCs from
> various vendors.
> 
> Add a simple DM compliant timer driver, to allow users of the SP804 to
> switch to DM_TIMER.
> 
> This relies on the input clock to be accessible via the DM clock
> framework, which should be fine as we probably look at fixed-clock's
> here anyway.
> We re-program the control register in the probe() function, but keep
> the divider in place, in case this has been set to something on purpose
> before.
> 
> The TRM for the timer IP can be found here:
> https://developer.arm.com/documentation/ddi0271/latest
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221103/98102625/attachment.sig>


More information about the U-Boot mailing list