All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Add Mediatek SoC RTC driver
@ 2015-05-06  7:23 ` Eddie Huang
  0 siblings, 0 replies; 37+ messages in thread
From: Eddie Huang @ 2015-05-06  7:23 UTC (permalink / raw)
  To: Lee Jones, Alessandro Zummo, Alexandre Belloni
  Cc: srv_heupstream, Samuel Ortiz, Matthias Brugger, Andrew Morton,
	Greg KH, David S. Miller, Mauro Carvalho Chehab, Joe Perches,
	Tejun Heo, linux-kernel, rtc-linux, linux-arm-kernel,
	linux-mediatek, Sascha Hauer, Tomasz Figa

RTC is one submodule of Mediatek MT6397 PMIC chip[1]. This series
support RTC driver that work with Mediatek SoC like MT8135, MT8173.
It implements second counter and also provide alarm function.

This series base on 4.1-rc1, Test ok on MT8173 platform.

[1] https://lkml.org/lkml/2015/1/23/325

Change in v4:
1. Align mt6397-core.c resource in straight lines.
2. Modify mtk_rtc_write_trigger according Joe Perches and
   Alexandre Belloni suggestion.
3. Align function parameters to the open parenthesis.
4. Modify MAINTAINER to use file full name.

Change in v3:
1. Replace magic number in mt6397-core.c
2. Add comment for some equation and write trigger.
3. Use regmap_bulk_read and regmap_bulk_write to avoid muliple regmap_read
   and regmap_write
4. Replace devm_request_threaded_irq with request_threaded_irq and add
   irq_dispose_mapping
5. Fix Tomasz Figa review comment.

Change in v2:
1. Move RTC address and interrupt to mt6397-core.c, and register
   these resource in mfd_cell.
   http://lists.infradead.org/pipermail/linux-arm-kernel/2015-February/323239.html
2. Remove dt-binding document due to register resouce in mfd_cell, not from
   device tree.
3. Update MAINTAINER file to add Mediatek RTC mainainter.
4. Add prefix mtk_ to some internal functions.
5. Fix racy condition
6. Check return value of regmap_read and regmap_write
7. Remove some unnecessary register readback, clear, then write.
8. Add disable alarm in mtk_rtc_set_alarm function
9. Fix Uwe Kleine-König review comment

Eddie Huang (2):
  mfd: provide RTC resource in MT6397 MFD
  MAINTAINERS: add Mediatek RTC driver

Tianping Fang (1):
  rtc: mediatek: Add MT6397 RTC driver

 MAINTAINERS               |   7 +
 drivers/mfd/mt6397-core.c |  18 +++
 drivers/rtc/Kconfig       |  10 ++
 drivers/rtc/Makefile      |   1 +
 drivers/rtc/rtc-mt6397.c  | 394 ++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 430 insertions(+)
 create mode 100644 drivers/rtc/rtc-mt6397.c

--
1.8.1.1.dirty



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

end of thread, other threads:[~2015-05-12  8:42 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-06  7:23 [PATCH v4 0/3] Add Mediatek SoC RTC driver Eddie Huang
2015-05-06  7:23 ` Eddie Huang
2015-05-06  7:23 ` Eddie Huang
2015-05-06  7:23 ` [rtc-linux] " Eddie Huang
2015-05-06  7:23 ` [PATCH v4 1/3] mfd: provide RTC resource in MT6397 MFD Eddie Huang
2015-05-06  7:23   ` Eddie Huang
2015-05-06  7:23   ` Eddie Huang
2015-05-06  7:23   ` [rtc-linux] " Eddie Huang
2015-05-06  7:23 ` [PATCH v4 2/3] rtc: mediatek: Add MT6397 RTC driver Eddie Huang
2015-05-06  7:23   ` Eddie Huang
2015-05-06  7:23   ` Eddie Huang
2015-05-06  7:23   ` [rtc-linux] " Eddie Huang
2015-05-06  7:44   ` Joe Perches
2015-05-06  7:44     ` Joe Perches
2015-05-06  7:44     ` [rtc-linux] " Joe Perches
2015-05-07 12:06     ` Alexandre Belloni
2015-05-07 12:06       ` Alexandre Belloni
2015-05-07 12:06       ` [rtc-linux] " Alexandre Belloni
2015-05-07 15:06       ` Eddie Huang
2015-05-07 15:06         ` Eddie Huang
2015-05-07 15:06         ` Eddie Huang
2015-05-07 15:06         ` [rtc-linux] " Eddie Huang
2015-05-06  7:23 ` [PATCH v4 3/3] MAINTAINERS: add Mediatek " Eddie Huang
2015-05-06  7:23   ` Eddie Huang
2015-05-06  7:23   ` Eddie Huang
2015-05-06  7:23   ` [rtc-linux] " Eddie Huang
2015-05-09 13:08 ` [PATCH v4 0/3] Add Mediatek SoC " Alexandre Belloni
2015-05-09 13:08   ` Alexandre Belloni
2015-05-09 13:08   ` [rtc-linux] " Alexandre Belloni
2015-05-12  8:15   ` Daniel Kurtz
2015-05-12  8:15     ` Daniel Kurtz
2015-05-12  8:15     ` Daniel Kurtz
2015-05-12  8:15     ` [rtc-linux] " Daniel Kurtz
2015-05-12  8:41     ` Alexandre Belloni
2015-05-12  8:41       ` Alexandre Belloni
2015-05-12  8:41       ` Alexandre Belloni
2015-05-12  8:41       ` [rtc-linux] " Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.