Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp914039ybt; Fri, 26 Jun 2020 14:57:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyA4KXnhS0W7+a76hgx4mZNmxkhjpkw77NqE92fRHyJ/ukYs/HIJvtrtxQkC6Gxkakuj3A X-Received: by 2002:aa7:c69a:: with SMTP id n26mr5488997edq.2.1593208648734; Fri, 26 Jun 2020 14:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593208648; cv=none; d=google.com; s=arc-20160816; b=seYprOr0zjY/Dyc6OmAI+TQjOjcAMlstwW4uslcXr6pjAp076lCUzFvB8CD2Y6UJ4P m248sbbwlOAR1YItNww/vYK10nR7bsh2Opy3DA2AfxpgD6aB90gTBeokz9uEDRz+0VKw N804Dwixjb1daEpAXtt+wPSMV8L+RtyMLPHnSMYPIlehI39qb4qHQnofW7G8k2MsTXAQ 0zuJEsHdBNl/IbdV0J5bH1xfZyTnQgeFHn0EHi2nxkv4RfLM1/XHHTAfEh5bY2GcLPX3 4bJPz1MTVv2qzFMzUVAfcbWkYcu28u6rpck/upeC3N6wt1pzJE98AnIsKpz80Z3kknfi z47g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=7IHCsdnoUmmfDZldhAWNkEIt+lt8DWXAOajFIarz2tE=; b=FIP6dlguw19s2Jcvf6fAfnwoZzyvMNVqCQDhNXmL4bLukSREJZEcPWNSC5opaRD3Im 6ddYM304OrcfiaMzn05c5ytrTaaz9dBvlpLh8Yq9/HjBGNHZ0mP1K/7FY7ImgGlI0BNd ie/QbhuNPjP/PL+r72oDRHIFZCARiKS9Q1vqGVQ5CCfHGh9r28VGL6JJErEC/pXcq3DY CwcVub2GUAKddUKDhC65inbNXVBZbql8IiEXh7BpUCRAoYzzsOM76PttDsWWOqZWKLZl BhvtQGwxktzUT0otqO88IoHQ62MErV49lrC914pmRFkhwu+vEtA/6H2Y2UUz59IQ01Bl 6hmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=kKEbfSWn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p3si17128118edr.104.2020.06.26.14.57.05; Fri, 26 Jun 2020 14:57:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=kKEbfSWn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726012AbgFZV4j (ORCPT + 99 others); Fri, 26 Jun 2020 17:56:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725816AbgFZV4i (ORCPT ); Fri, 26 Jun 2020 17:56:38 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54467C03E979; Fri, 26 Jun 2020 14:56:38 -0700 (PDT) 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 Cc: Jonathan =?ISO-8859-1?Q?Neusch=E4fer?= , linux-kernel@vger.kernel.org, Lee Jones , Rob Herring , Thierry Reding , Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , Alessandro Zummo , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Heiko Stuebner , Josua Mayer 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 21 Jun 2020 02:02:20 +0200 Alexandre Belloni wrote: > Hi, >=20 > On 21/06/2020 00:42:18+0200, Jonathan Neusch=E4fer wrote: > > The Netronix EC implements an RTC with the following functionality: > >=20 > > - Calendar-based time keeping with single-second resolution > > - Automatic power-on with single-minute resolution > > - Alarm at single-second resolution > >=20 > > This binding only supports timekeeping for now. > >=20 > > 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 > >=20 > > 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 > >=20 > > + rtc: > > + $ref: ../rtc/netronix,ntxec-rtc.yaml > > + =20 >=20 > Shouldn't the node simply be documented here? >=20 > 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? >=20 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:=20 gptNtxHwCfg->m_val.bPCB =3D 0x50 Tolino Shine 3 and Kobo Clara HD do not have that EC. Regrads, Andreas