lkml.org 
[lkml]   [2022]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/2] MediaTek SoC ARM/ARM64 System Timer
Date
In an effort to give some love to the apparently forgotten MT6795 SoC,
I am upstreaming more components that are necessary to support platforms
powered by this one apart from a simple boot to serial console.

This series introduces support to start the System Timer for the CPU
cores found in various MediaTek SoCs including, but not limited to the
MT6795 Helio X10 - and will most probably unblock many developers for
the upstreaming of various platforms.

For a broad overview of why/what/when, please look at the description
of patch [2/2] in this series.

Tested on a MT6795 Sony Xperia M5 (codename "Holly") smartphone.

Changes in v4:
- Changed statement in documentation, now saying:
"MediaTek SoCs have different timers on different platforms"

Changes in v3:
- Merged mtk_cpux_{enable,disable}_irq() as one mtk_cpux_set_irq() function
as suggested by Matthias

Changes in v2:
- Added back a lost line in commit 2/2 (sorry, commit didn't get amended...!)
- Tested again for safety

AngeloGioacchino Del Regno (2):
dt-bindings: timer: mediatek: Add CPUX System Timer and MT6795
compatible
clocksource/drivers/timer-mediatek: Implement CPUXGPT timers

.../bindings/timer/mediatek,mtk-timer.txt | 6 +-
drivers/clocksource/timer-mediatek.c | 114 ++++++++++++++++++
2 files changed, 119 insertions(+), 1 deletion(-)

--
2.35.1

\
 
 \ /
  Last update: 2022-06-13 17:56    [W:0.075 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site