Re: [PATCH v4 0/2] MediaTek SoC ARM/ARM64 System Timer

From: Daniel Lezcano
Date: Fri Jul 15 2022 - 18:42:26 EST


On 08/07/2022 10:45, AngeloGioacchino Del Regno wrote:
Il 13/06/22 15:38, AngeloGioacchino Del Regno ha scritto:
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(-)



Gentle ping for this one - I need it to start upstreaming devicetrees for
that MT6795 Xperia M5 smartphone, or it won't be able to boot.


Applied, thanks


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog