linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] MediaTek SoC ARM/ARM64 System Timer
@ 2022-06-13 13:38 AngeloGioacchino Del Regno
  2022-06-13 13:38 ` [PATCH v4 1/2] dt-bindings: timer: mediatek: Add CPUX System Timer and MT6795 compatible AngeloGioacchino Del Regno
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-06-13 13:38 UTC (permalink / raw)
  To: daniel.lezcano
  Cc: tglx, robh+dt, krzysztof.kozlowski+dt, matthias.bgg,
	linux-kernel, devicetree, linux-arm-kernel, linux-mediatek,
	konrad.dybcio, marijn.suijten, martin.botka,
	~postmarketos/upstreaming, phone-devel, paul.bouchara,
	AngeloGioacchino Del Regno

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-07-28 10:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13 13:38 [PATCH v4 0/2] MediaTek SoC ARM/ARM64 System Timer AngeloGioacchino Del Regno
2022-06-13 13:38 ` [PATCH v4 1/2] dt-bindings: timer: mediatek: Add CPUX System Timer and MT6795 compatible AngeloGioacchino Del Regno
2022-07-28 10:44   ` [tip: timers/core] " tip-bot2 for AngeloGioacchino Del Regno
2022-06-13 13:38 ` [PATCH v4 2/2] clocksource/drivers/timer-mediatek: Implement CPUXGPT timers AngeloGioacchino Del Regno
2022-06-14 18:35   ` Daniel Lezcano
2022-06-15  9:04     ` AngeloGioacchino Del Regno
2022-07-28 10:44   ` [tip: timers/core] " tip-bot2 for AngeloGioacchino Del Regno
2022-07-08  8:45 ` [PATCH v4 0/2] MediaTek SoC ARM/ARM64 System Timer AngeloGioacchino Del Regno
2022-07-15 22:42   ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).