From: Eddie Huang <eddie.huang@mediatek.com>
To: Lee Jones <lee.jones@linaro.org>,
Alessandro Zummo <a.zummo@towertech.it>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: srv_heupstream@mediatek.com,
"Samuel Ortiz" <sameo@linux.intel.com>,
"Andrew Morton" <akpm@linux-foundation.org>,
"David S. Miller" <davem@davemloft.net>,
"Greg KH" <gregkh@linuxfoundation.org>,
"Mauro Carvalho Chehab" <mchehab@osg.samsung.com>,
"Joe Perches" <joe@perches.com>, "Tejun Heo" <tj@kernel.org>,
"Jingoo Han" <jg1.han@samsung.com>,
linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
"Uwe Kleine-König" <kernel@pengutronix.de>
Subject: [PATCH v2 0/3] Add Mediatek SoC RTC driver
Date: Wed, 18 Mar 2015 13:45:34 +0800 [thread overview]
Message-ID: <1426657537-41414-1-git-send-email-eddie.huang@mediatek.com> (raw)
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.0-rc1, and Sascha's PMIC mfd patch[2]. Test ok
on MT8173 platform.
[1] https://lkml.org/lkml/2015/1/23/325
[2] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-February/324985.html
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
v1:
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/320424.html
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 | 15 ++
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-mt6397.c | 454 ++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 487 insertions(+)
create mode 100644 drivers/rtc/rtc-mt6397.c
--
1.8.1.1.dirty
next reply other threads:[~2015-03-18 5:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 5:45 Eddie Huang [this message]
2015-03-18 5:45 ` [PATCH v2 1/3] mfd: provide RTC resource in MT6397 MFD Eddie Huang
2015-03-18 7:30 ` Lee Jones
2015-03-30 8:17 ` Eddie Huang
2015-03-18 5:45 ` [PATCH v2 2/3] rtc: mediatek: Add MT6397 RTC driver Eddie Huang
2015-03-21 5:25 ` Dmitry Torokhov
2015-03-30 8:15 ` Eddie Huang
2015-03-31 22:01 ` Andrew Morton
2015-03-30 7:41 ` Tomasz Figa
2015-03-31 9:44 ` Eddie Huang
2015-03-31 11:01 ` Tomasz Figa
2015-03-18 5:45 ` [PATCH v2 3/3] MAINTAINERS: add Mediatek " Eddie Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1426657537-41414-1-git-send-email-eddie.huang@mediatek.com \
--to=eddie.huang@mediatek.com \
--cc=a.zummo@towertech.it \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=gregkh@linuxfoundation.org \
--cc=jg1.han@samsung.com \
--cc=joe@perches.com \
--cc=kernel@pengutronix.de \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@osg.samsung.com \
--cc=rtc-linux@googlegroups.com \
--cc=sameo@linux.intel.com \
--cc=srv_heupstream@mediatek.com \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).