Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755750AbbGCXPs (ORCPT ); Fri, 3 Jul 2015 19:15:48 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:34735 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755825AbbGCXPm (ORCPT ); Fri, 3 Jul 2015 19:15:42 -0400 From: Philippe Reynes To: a.zummo@towertech.it, alexandre.belloni@free-electrons.com, shawn.guo@linaro.org, kernel@pengutronix.de, linux@arm.linux.org.uk Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com, Philippe Reynes Subject: [PATCH v4 0/7] add device tree support for mxc rtc Date: Sat, 4 Jul 2015 01:15:13 +0200 Message-Id: <1435965320-1478-1-git-send-email-tremyfr@gmail.com> X-Mailer: git-send-email 1.7.4.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1677 Lines: 43 This serie add the device tree support for the mxc rtc driver. To do this, three steps are required : - define two rtc clocks for imx31 and imx35 - enhance mxc rtc driver to use two clocks (rtc and ipg) - add device tree support to mxc rtc driver Changelog: v4: (thanks Alexandre Belloni) - add prepare_clock for rtc clock - split apf27: dt: enable support in two patches v3: (thanks Fabio Estevam) - fix typo in imx35 clock comment v2: (thanks Shawn Guo and Alexandre Belloni) - add a second clock to imx35 - split the add of clock in a separate patches - split the dt documentation in a separate patch Philippe Reynes (7): imx31: add a second rtc clock imx35: define two clocks for rtc rtc: mxc: use a second rtc clock rtc: mxc: add support of device tree dt-binding: document the binding for mxc rtc imx27: dt: add support of internal rtc apf27: dt: enable support of internal rtc Documentation/devicetree/bindings/rtc/rtc-mxc.txt | 27 +++++++++ arch/arm/boot/dts/imx27-apf27.dts | 4 ++ arch/arm/boot/dts/imx27.dtsi | 10 ++++ drivers/clk/imx/clk-imx31.c | 3 +- drivers/clk/imx/clk-imx35.c | 6 ++- drivers/rtc/rtc-mxc.c | 60 ++++++++++++++++----- 6 files changed, 94 insertions(+), 16 deletions(-) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mxc.txt -- 1.7.4.4 -- 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/