From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com. [2a00:1450:400c:c05::22c]) by gmr-mx.google.com with ESMTPS id m135si468845wmb.0.2015.11.02.01.04.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Nov 2015 01:04:03 -0800 (PST) Received: by mail-wi0-x22c.google.com with SMTP id q8so46625480wik.1 for ; Mon, 02 Nov 2015 01:04:03 -0800 (PST) Date: Mon, 2 Nov 2015 09:03:59 +0000 From: Lee Jones To: Alexandre Belloni Cc: Krzysztof Kozlowski , Alim Akhtar , broonie@kernel.org, linux-samsung-soc@vger.kernel.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: [rtc-linux] Re: [PATCH v5 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC Message-ID: <20151102090359.GR4058@x1> References: <1446186334-16510-1-git-send-email-alim.akhtar@samsung.com> <1446186334-16510-5-git-send-email-alim.akhtar@samsung.com> <20151101174048.GD22331@piout.net> <5636A44D.4090908@samsung.com> <20151102004722.GI22331@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <20151102004722.GI22331@piout.net> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , On Mon, 02 Nov 2015, Alexandre Belloni wrote: > On 02/11/2015 at 08:46:21 +0900, Krzysztof Kozlowski wrote : > > On 02.11.2015 02:40, Alexandre Belloni wrote: > > > On 30/10/2015 at 11:55:34 +0530, Alim Akhtar wrote : > > >> RTC found in s2mps15 is almost same as one found on s2mps13 > > >> with few differences in RTC_UPDATE register fields, like: > > >> 1> Bit[4] and Bit[1] are reversed > > >> - On s2mps13 > > >> WUDR -> bit[4], AUDR -> bit[1] > > >> - On s2mps15 > > >> WUDR -> bit[1], AUDR -> bit[4] > > >> 2> In case of s2mps13, for alarm register, need to set both > > >> WDUR and ADUR high, whereas for s2mps15 only set AUDR to high. > > >> 3> On s2mps15, WUDR, RUDR and AUDR functions should never be used > > >> at the same time. > > >> > > >> This patch add required changes to enable s2mps15 rtc timer. > > >> > > >> Cc: Alexandre Belloni > > >> Signed-off-by: Alim Akhtar > > >> --- > > >> drivers/rtc/rtc-s5m.c | 37 ++++++++++++++++++++++++++++= +++++---- > > >> include/linux/mfd/samsung/rtc.h | 2 ++ > > >> 2 files changed, 35 insertions(+), 4 deletions(-) > > >> > > > Applied after fixing the small alignment issue, thanks. > > >=20 > >=20 > > I think you cannot apply it directly because it depends on headers from > > patch 2/4. It won't build. > >=20 >=20 > Yeah, this depends on the mfd tree. I don't thin Lee applied patch 2/4 > yet so I'm taking that one for 4.5. I don't mind if you take it, but if you do so you need to take the Regulator patch as well AND provide Mark and I a pull-request from an immutable branch please.=20 --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog --=20 --=20 You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. ---=20 You received this message because you are subscribed to the Google Groups "= rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH v5 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC Date: Mon, 2 Nov 2015 09:03:59 +0000 Message-ID: <20151102090359.GR4058@x1> References: <1446186334-16510-1-git-send-email-alim.akhtar@samsung.com> <1446186334-16510-5-git-send-email-alim.akhtar@samsung.com> <20151101174048.GD22331@piout.net> <5636A44D.4090908@samsung.com> <20151102004722.GI22331@piout.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-wi0-f178.google.com ([209.85.212.178]:38450 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753248AbbKBJEE (ORCPT ); Mon, 2 Nov 2015 04:04:04 -0500 Received: by wicll6 with SMTP id ll6so45196343wic.1 for ; Mon, 02 Nov 2015 01:04:03 -0800 (PST) Content-Disposition: inline In-Reply-To: <20151102004722.GI22331@piout.net> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Alexandre Belloni Cc: Krzysztof Kozlowski , Alim Akhtar , broonie@kernel.org, linux-samsung-soc@vger.kernel.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org On Mon, 02 Nov 2015, Alexandre Belloni wrote: > On 02/11/2015 at 08:46:21 +0900, Krzysztof Kozlowski wrote : > > On 02.11.2015 02:40, Alexandre Belloni wrote: > > > On 30/10/2015 at 11:55:34 +0530, Alim Akhtar wrote : > > >> RTC found in s2mps15 is almost same as one found on s2mps13 > > >> with few differences in RTC_UPDATE register fields, like: > > >> 1> Bit[4] and Bit[1] are reversed > > >> - On s2mps13 > > >> WUDR -> bit[4], AUDR -> bit[1] > > >> - On s2mps15 > > >> WUDR -> bit[1], AUDR -> bit[4] > > >> 2> In case of s2mps13, for alarm register, need to set both > > >> WDUR and ADUR high, whereas for s2mps15 only set AUDR to high= =2E > > >> 3> On s2mps15, WUDR, RUDR and AUDR functions should never be use= d > > >> at the same time. > > >> > > >> This patch add required changes to enable s2mps15 rtc timer. > > >> > > >> Cc: Alexandre Belloni > > >> Signed-off-by: Alim Akhtar > > >> --- > > >> drivers/rtc/rtc-s5m.c | 37 ++++++++++++++++++++++++= +++++++++---- > > >> include/linux/mfd/samsung/rtc.h | 2 ++ > > >> 2 files changed, 35 insertions(+), 4 deletions(-) > > >> > > > Applied after fixing the small alignment issue, thanks. > > >=20 > >=20 > > I think you cannot apply it directly because it depends on headers = from > > patch 2/4. It won't build. > >=20 >=20 > Yeah, this depends on the mfd tree. I don't thin Lee applied patch 2/= 4 > yet so I'm taking that one for 4.5. I don't mind if you take it, but if you do so you need to take the Regulator patch as well AND provide Mark and I a pull-request from an immutable branch please.=20 --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog