Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753267AbbD1HgX (ORCPT ); Tue, 28 Apr 2015 03:36:23 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:36306 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932159AbbD1HgS (ORCPT ); Tue, 28 Apr 2015 03:36:18 -0400 X-Listener-Flag: 11101 From: Eddie Huang To: Lee Jones , Alessandro Zummo , Matthias Brugger , Andrew Morton , Tomasz Figa , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= CC: , Samuel Ortiz , Greg KH , Joe Perches , , , , Subject: [PATCH v3 0/3] Add Mediatek SoC RTC driver Date: Tue, 28 Apr 2015 15:35:53 +0800 Message-ID: <1430206556-18254-1-git-send-email-eddie.huang@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1977 Lines: 54 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 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 | 388 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 424 insertions(+) create mode 100644 drivers/rtc/rtc-mt6397.c -- 1.8.1.1.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/