devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/5] Add system timer driver for Mediatek SoCs
@ 2018-07-04 14:50 Stanley Chu
  2018-07-04 14:50 ` [PATCH v6 1/5] clocksource/drivers/timer-mediatek: Add system timer bindings Stanley Chu
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Stanley Chu @ 2018-07-04 14:50 UTC (permalink / raw)
  To: Matthias Brugger, Daniel Lezcano, Thomas Gleixner, Rob Herring
  Cc: linux-kernel, linux-mediatek, devicetree, wsd_upstream

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          |  36 ++-
 drivers/clocksource/Makefile                       |   2 +-
 drivers/clocksource/mtk_timer.c                    | 268 -----------------
 drivers/clocksource/timer-mediatek.c               | 334 +++++++++++++++++++++
 4 files changed, 356 insertions(+), 284 deletions(-)
 delete mode 100644 drivers/clocksource/mtk_timer.c
 create mode 100644 drivers/clocksource/timer-mediatek.c

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

end of thread, other threads:[~2018-07-05  1:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-04 14:50 [PATCH v6 0/5] Add system timer driver for Mediatek SoCs Stanley Chu
2018-07-04 14:50 ` [PATCH v6 1/5] clocksource/drivers/timer-mediatek: Add system timer bindings Stanley Chu
2018-07-04 14:50 ` [PATCH v6 2/5] clocksource/drivers/timer-mediatek: Rename mtk_timer to timer-mediatek Stanley Chu
2018-07-04 14:50 ` [PATCH v6 3/5] clocksource/drivers/timer-mediatek: Use specific prefix for GPT Stanley Chu
2018-07-04 14:50 ` [PATCH v6 4/5] clocksource/drivers/timer-mediatek: Convert the driver to timer-of Stanley Chu
2018-07-04 14:50 ` [PATCH v6 5/5] clocksource/drivers/timer-mediatek: Add support for system timer Stanley Chu
2018-07-05  0:13   ` Daniel Lezcano
     [not found]     ` <2cb9177c-0586-4432-94a2-df46fe64cc3b-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2018-07-05  1:04       ` 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).