From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40D26C433DF for ; Fri, 26 Jun 2020 22:01:08 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0C4672089D for ; Fri, 26 Jun 2020 22:01:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Xn0kVCrI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="k21Tglcz"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kemnade.info header.i=@kemnade.info header.b="kKEbfSWn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0C4672089D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kemnade.info Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zfvAkuS0RdJi03VNTHM33UyiGmEsyVw1cGxYjvhETTI=; b=Xn0kVCrI0sJ+vKQgkDOV5ROAK mZ+f90dkzCCXpj6TjK3+59X9oEPxTK82kMsxlSetslp1/4kkpay9vBheLH9mg/qMxD0dUQOf+Ih9S m9L60y6Et61nq3SpnqqLxLZMyYIqerDNvFZUYlSTVk7V6fNj8cv/75DryYSWl5tEeQg/WwI710eRF +iGyP3uitirgb/CS9E1maGdL6wWP1m+tVnshhqJ0sD9xwCar9wF6QalmZh2cEMR4FRgIynf2iZGf4 rm7sAhkn7MWs3Wu8gsg2Ls2qTXfQrio99wQY3h8fe6arhPG+o44AjcxCzW6E+PgZ+Xii3nPzWeBZp Ys4nTyLqg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jowNZ-0008JN-Gt; Fri, 26 Jun 2020 21:59:25 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jowNX-0008J3-Q7 for linux-arm-kernel@merlin.infradead.org; Fri, 26 Jun 2020 21:59:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description; bh=7IHCsdnoUmmfDZldhAWNkEIt+lt8DWXAOajFIarz2tE=; b=k21TglczsqJ1qihRozcTv2vBd7 r4MQWxKfJ/s2rcS3+nSLLiEzSaDeoGflZ3i7WP9KHZSL4SfxY5uoDsmphVRHsh1PShbnDu5hVeNUp mXT0jvM4XAHgxu3cgXheLo8KkqtFv6eP4Zke1wUSsFcQzJksDDA9O8J2fGcUwM17y/jS8xhXfMfHT gbNXpOxA0JYnOjF78Omvtk0YeW0DnjTYdotVMpVuT3pTQbz+pr+pvritJ1fbQYVd6+/jlGAiDrQrK eSm2YgEgCYmvps4xxXBzt9c4kssEcs+CB5dQxiTD7sKkP2aDr+AOtIKSE7Qr3lPmLwNb3iVdXu8E9 i46xhxHw==; Received: from mail.andi.de1.cc ([2a01:238:4321:8900:456f:ecd6:43e:202c]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jowLJ-0004v7-2Y for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2020 21:59:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7IHCsdnoUmmfDZldhAWNkEIt+lt8DWXAOajFIarz2tE=; b=kKEbfSWnL3KXAAUyV5RJhsMkFq R168LUlj+Kwcx5NqFvReQe4AX2Yqvt/2oLFrlX6nD9Zezq3YWFwNXbSl3N2TlQIk84oxLkxYuPFiN h5g7fLxL176wH380RcqVwdrXjNXgn9mf8ETlFXyCl3iFQQgwvZDhqOjS8UZGEtDiLwNo=; Received: from p200300ccff124000e2cec3fffe93fc31.dip0.t-ipconnect.de ([2003:cc:ff12:4000:e2ce:c3ff:fe93:fc31] helo=eeepc) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jowK9-00029R-MS; Fri, 26 Jun 2020 23:56:00 +0200 Received: from [::1] (helo=localhost) by localhost with esmtp (Exim 4.92) (envelope-from ) id 1jowK8-0005Gb-RO; Fri, 26 Jun 2020 23:55:52 +0200 Date: Fri, 26 Jun 2020 23:55:52 +0200 From: Andreas Kemnade To: Alexandre Belloni Subject: Re: [RFC PATCH 07/10] dt-bindings: rtc: Add bindings for Netronix embedded controller RTC Message-ID: <20200626235552.7820a999@kemnade.info> In-Reply-To: <20200621000220.GB131826@piout.net> References: <20200620224222.1312520-1-j.neuschaefer@gmx.net> <20200620224222.1312520-6-j.neuschaefer@gmx.net> <20200621000220.GB131826@piout.net> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i686-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200626_225739_940246_A3B81997 X-CRM114-Status: GOOD ( 21.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , linux-pwm@vger.kernel.org, Linus Walleij , Thierry Reding , Fabio Estevam , linux-rtc@vger.kernel.org, Mauro Carvalho Chehab , Sam Ravnborg , NXP Linux Team , Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , devicetree@vger.kernel.org, Stephan Gerhold , allen , Sascha Hauer , Jonathan =?ISO-8859-1?Q?Neusch=E4fer?= , Lubomir Rintel , Rob Herring , Lee Jones , linux-arm-kernel@lists.infradead.org, Alessandro Zummo , linux-kernel@vger.kernel.org, Mark Brown , Pengutronix Kernel Team , Heiko Stuebner , Josua Mayer , Shawn Guo , "David S. Miller" Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, 21 Jun 2020 02:02:20 +0200 Alexandre Belloni wrote: > Hi, > = > On 21/06/2020 00:42:18+0200, Jonathan Neusch=E4fer wrote: > > The Netronix EC implements an RTC with the following functionality: > > = > > - Calendar-based time keeping with single-second resolution > > - Automatic power-on with single-minute resolution > > - Alarm at single-second resolution > > = > > This binding only supports timekeeping for now. > > = > > Signed-off-by: Jonathan Neusch=E4fer > > --- > > .../bindings/mfd/netronix,ntxec.yaml | 7 +++++ > > .../bindings/rtc/netronix,ntxec-rtc.yaml | 27 +++++++++++++++++++ > > 2 files changed, 34 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/rtc/netronix,ntxe= c-rtc.yaml > > = > > diff --git a/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml = b/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml > > index 6562c41c5a9a9..f6a32f46f47bb 100644 > > --- a/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml > > +++ b/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml > > @@ -34,6 +34,9 @@ properties: > > pwm: > > $ref: ../pwm/netronix,ntxec-pwm.yaml > > = > > + rtc: > > + $ref: ../rtc/netronix,ntxec-rtc.yaml > > + = > = > Shouldn't the node simply be documented here? > = > Also, do you really need a compatible string to be able to proe the > driver? What are the chances that you'll get a similar EC without an > RTC? > = Tolino Shine 2 HD has the mentioned EC but the vendor kernel does not use its RTC (not checked whether it is present or functional). As a key for grepping in the vendor sources: = gptNtxHwCfg->m_val.bPCB =3D 0x50 Tolino Shine 3 and Kobo Clara HD do not have that EC. Regrads, Andreas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel