Skip to content

arc: introduce timer driver and update device tree

Alexey Brodkin u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 3 patches 0 repliesNew

Patches in v3 No applies recorded yet

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

Reviews trailers per patch

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

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/3] arc: introduce timer driver and update device tree

Hi Vlad,

Quoted 20 lines · Vlad Zakharov

ARC cores may have up to 2 built-in timers: timer0 and timer1, usually at least one of them exists. They both are driven by the same core clock.

They are controlled through auxiliary registers and so we don't have to remap their control registers as we used to do with MMIO registers of external peripheral devices.

This patch series replaces legacy approach to access ARC timer via specific code in "arch/arc/lib/time.c" and uses timer driver instead.

We want to have common device tree blobs for both Linux and U-Boot. To achieve this the patch updates arc device trees with the following:
1. Separate axs10x.dts device tree in order to reflect the real structure of AXS101 and AXS103 development boards.
2. Add timer device to skeleton ARC device tree.
3. Add core_clk devices to all ARC boards as it is referenced from timer device.

Quoted 8 lines

---
Changes v2..v3:
 - Rebase on top of upstream master

Vlad Zakharov (3):
  drivers: timer: Introduce ARC timer driver
  arc: dts: separate single axs10x.dts file
  arc: use timer driver for ARC boards

Applied to my tree, thanks!

-Alexey