devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 0/5] Add system timer driver for Mediatek SoCs
@ 2018-07-05 23:11 Stanley Chu
       [not found] ` <1530832288-8156-1-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
  2018-07-05 23:11 ` [PATCH v9 3/5] clocksource/drivers/timer-mediatek: Use specific prefix for GPT Stanley Chu
  0 siblings, 2 replies; 11+ messages in thread
From: Stanley Chu @ 2018-07-05 23:11 UTC (permalink / raw)
  To: Matthias Brugger, Daniel Lezcano, Thomas Gleixner, Rob Herring
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	wsd_upstream-NuS5LvNUpcJWk0Htik3J/w

Changes since v8:
- Sorry for stupid mistake that no updated file in v7. Just re-send correct file in v7.

Changes since v7:
- Fix dt-bindings:
    - Fix clock description and add commit message to explain RTC clock removal.
    - Add new line in end of file.

Changes since v6:
- Remove duplicated variable gpt_sched_reg.
- Remove log for mtk_syst_init().

Changes since v5:
- Optimize driver and remove redundant register operations.
- Docuement registers.
- Fix system timer base address.

Changes since v4:
- Simplify dt-bindings.
- Add error handling for mtk_syst_init().

Changes since v3:
- Use the same binding style for both GPT and System Timer.
- Use timer_of.of_clk->period instead of private structure.
- Arrange patches to contain system timer changes in patch 5/5 only.

Changes since v2:
- Rename existed mtk_timer.c to timer-mediatek.c.
- Add system timer support into timer-mediatek.c instead of creating a new file.
- Use _gpt_ and _syst_ to identify different timers.
- Convert gpt driver to use timer_of.
- Fix system timer driver: irq flags.
- Fix bindings of both gpt and system timer.

Changes since v1:
- Use timer_of structure and APIs to make driver more clean.
- Remove unnecessary headers.
- Use fixed-clock.
- Fix indent.


Stanley Chu (5):
  clocksource/drivers/timer-mediatek: Add system timer bindings
  clocksource/drivers/timer-mediatek: Rename mtk_timer to timer-mediatek
  clocksource/drivers/timer-mediatek: Use specific prefix for GPT
  clocksource/drivers/timer-mediatek: Convert the driver to timer-of
  clocksource/drivers/timer-mediatek: Add support for system timer

 .../bindings/timer/mediatek,mtk-timer.txt          |  34 ++-
 drivers/clocksource/Makefile                       |   2 +-
 drivers/clocksource/mtk_timer.c                    | 268 -----------------
 drivers/clocksource/timer-mediatek.c               | 328 +++++++++++++++++++++
 4 files changed, 349 insertions(+), 283 deletions(-)
 delete mode 100644 drivers/clocksource/mtk_timer.c
 create mode 100644 drivers/clocksource/timer-mediatek.c

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

end of thread, other threads:[~2018-07-14 22:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-05 23:11 [PATCH v9 0/5] Add system timer driver for Mediatek SoCs Stanley Chu
     [not found] ` <1530832288-8156-1-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2018-07-05 23:11   ` [PATCH v9 1/5] clocksource/drivers/timer-mediatek: Add system timer bindings Stanley Chu
2018-07-06 20:51     ` Rob Herring
2018-07-10 15:02     ` Daniel Lezcano
2018-07-12 19:16       ` Rob Herring
2018-07-12 19:49         ` Daniel Lezcano
2018-07-14 22:28     ` Daniel Lezcano
2018-07-05 23:11   ` [PATCH v9 2/5] clocksource/drivers/timer-mediatek: Rename mtk_timer to timer-mediatek Stanley Chu
2018-07-05 23:11   ` [PATCH v9 4/5] clocksource/drivers/timer-mediatek: Convert the driver to timer-of Stanley Chu
2018-07-05 23:11   ` [PATCH v9 5/5] clocksource/drivers/timer-mediatek: Add support for system timer Stanley Chu
2018-07-05 23:11 ` [PATCH v9 3/5] clocksource/drivers/timer-mediatek: Use specific prefix for GPT Stanley Chu

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).