Message ID | 20221215150214.1109074-15-hugo@hugovil.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp421681wrn; Thu, 15 Dec 2022 07:20:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf62kzNyHTKPmeORhL/vfGxosQrW8XmbIZXJeWwNjji3zNAe827WnE6rnBWBvs6o5SNqb9sE X-Received: by 2002:a05:6a00:4147:b0:577:213e:8cab with SMTP id bv7-20020a056a00414700b00577213e8cabmr29819107pfb.16.1671117627473; Thu, 15 Dec 2022 07:20:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671117627; cv=none; d=google.com; s=arc-20160816; b=uI86nLct68cRVvNdI/Z+igYUkyUEzR83/70trfjMuO+HMx9Nsc71YfhyGnNN3Ia5PC Li0Uzz8UjAT7q55csPlRy9kmjNqRGEAWUCVHhtFCEe/uZOjCfA7/u4YPy6qI1yvovNF0 i/dAejt2RGZhw/KNM8hDO/FSz/lDM/I76hQEcSvW7M5nPbUc5nQd4VylLrXujMdQ3LbU KzLBYOv88CAHr81BKT9XGFjju6OopdieZ7EXrWNQv++9x7VXbC/8S7RUu5bXKoCIxh76 g4O3FLpPCdW9liSbLsUDjZjAkAffATNC8pD7QkvXriOlSp/RlBFlwJVohFaERamYFbS1 +7rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from:dkim-signature; bh=FmeBIF+FZ8aMPXIhZOnlL5pUaTxaQWAPZ9wO0WSH7RY=; b=sO2l0RvGcqdhflFHi58Z+QmWyf/BtishwtgMcudazrj3PI8iLKqXDZLB7kOYP2pTRi JwcCcib4ttXLxmCTngmt+Baid+ixNXg2WGwa+saZ9j1R/K4ZGVi24BxgiG1a0kpChpdh o3Aw7qcAtzPa65gl8dU7Ty2wlh1qHNuxvI5p8B9qAYoWrulLaqmyyMOhzOKcMj0jLhDJ nYJFsmevHBSC/DAAp9LS1sND8lrnyMLKBYA60fBFBfY2fKcUweBSkNogqGT2fWBrIq3f z3HDaBnVguozP7k/rZRqDqpkxQa0/+ieS8CXZNRXoH3UjIhyhfd0rj1eV4wTGNpNoksU hNLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b="HUvzc/dP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g3-20020a056a0023c300b0056cb4662b9csi3370124pfc.16.2022.12.15.07.20.13; Thu, 15 Dec 2022 07:20:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b="HUvzc/dP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230036AbiLOPSa (ORCPT <rfc822;jeantsuru.cumc.mandola@gmail.com> + 99 others); Thu, 15 Dec 2022 10:18:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229841AbiLOPSM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 15 Dec 2022 10:18:12 -0500 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D915FC70; Thu, 15 Dec 2022 07:18:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-Type: 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=FmeBIF+FZ8aMPXIhZOnlL5pUaTxaQWAPZ9wO0WSH7RY=; b=HUvzc/dPPLcisxf7kMgULfAZH6 uy8pq3/SGqwHDoGTzyihXMY+Lta7r4uDIz1J74c7oOnqNXJT32HSkmmf4e3cySY6enNE30SsMjLIT F70H3PWzuK4QOCMWYFwzoIkt0ar37GMLm2FYK8bi7vq4Z9i7t8WWbldFqPIVtOytsP14=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:48102 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from <hugo@hugovil.com>) id 1p5pmR-0000EC-CL; Thu, 15 Dec 2022 10:04:15 -0500 From: Hugo Villeneuve <hugo@hugovil.com> To: a.zummo@towertech.it, alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, hugo@hugovil.com, Hugo Villeneuve <hvilleneuve@dimonoff.com> Date: Thu, 15 Dec 2022 10:02:15 -0500 Message-Id: <20221215150214.1109074-15-hugo@hugovil.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221215150214.1109074-1-hugo@hugovil.com> References: <20221215150214.1109074-1-hugo@hugovil.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Subject: [PATCH v3 14/14] dt-bindings: rtc: pcf2127: add PCF2131 X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752293837345230884?= X-GMAIL-MSGID: =?utf-8?q?1752293837345230884?= |
Series |
rtc: pcf2127: add PCF2131 driver
|
|
Commit Message
Hugo Villeneuve
Dec. 15, 2022, 3:02 p.m. UTC
From: Hugo Villeneuve <hvilleneuve@dimonoff.com> Add support for new NXP RTC PCF2131. Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> --- Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Comments
On 15/12/2022 16:02, Hugo Villeneuve wrote: > From: Hugo Villeneuve <hvilleneuve@dimonoff.com> > > Add support for new NXP RTC PCF2131. > > Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> > --- > Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
Den tor. 15. dec. 2022 kl. 16.19 skrev Hugo Villeneuve <hugo@hugovil.com>: > > From: Hugo Villeneuve <hvilleneuve@dimonoff.com> > > Add support for new NXP RTC PCF2131. > > Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> > --- > Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > index cde7b1675ead..a8f8c23da4d8 100644 > --- a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > @@ -14,7 +14,9 @@ maintainers: > > properties: > compatible: > - const: nxp,pcf2127 > + enum: > + - nxp,pcf2127 > + - nxp,pcf2131 The enum is incomplete as pcf2127_of_match struct also contains: nxp,pcf2129 ncp,pca2129 /Bruno > > reg: > maxItems: 1 > -- > 2.30.2 >
On Mon, 19 Dec 2022 10:14:10 +0100 Bruno Thomsen <bruno.thomsen@gmail.com> wrote: > Den tor. 15. dec. 2022 kl. 16.19 skrev Hugo Villeneuve <hugo@hugovil.com>: > > > > From: Hugo Villeneuve <hvilleneuve@dimonoff.com> > > > > Add support for new NXP RTC PCF2131. > > > > Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> > > --- > > Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > > index cde7b1675ead..a8f8c23da4d8 100644 > > --- a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > > +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > > @@ -14,7 +14,9 @@ maintainers: > > > > properties: > > compatible: > > - const: nxp,pcf2127 > > + enum: > > + - nxp,pcf2127 > > + - nxp,pcf2131 > > The enum is incomplete as pcf2127_of_match struct also contains: > nxp,pcf2129 > ncp,pca2129 > > /Bruno Hi, if I understand correctly, this means that the pca2129 and pcf2129 entries are already missing and should be added in a fix or a patch outside the scope of my new driver... Hugo. > > reg: > > maxItems: 1 > > -- > > 2.30.2 > > >
Den man. 19. dec. 2022 kl. 17.25 skrev Hugo Villeneuve <hugo@hugovil.com>: > > On Mon, 19 Dec 2022 10:14:10 +0100 > Bruno Thomsen <bruno.thomsen@gmail.com> wrote: > > > Den tor. 15. dec. 2022 kl. 16.19 skrev Hugo Villeneuve <hugo@hugovil.com>: > > > > > > From: Hugo Villeneuve <hvilleneuve@dimonoff.com> > > > > > > Add support for new NXP RTC PCF2131. > > > > > > Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> > > > --- > > > Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 4 +++- > > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > > > diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > > > index cde7b1675ead..a8f8c23da4d8 100644 > > > --- a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > > > +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > > > @@ -14,7 +14,9 @@ maintainers: > > > > > > properties: > > > compatible: > > > - const: nxp,pcf2127 > > > + enum: > > > + - nxp,pcf2127 > > > + - nxp,pcf2131 > > > > The enum is incomplete as pcf2127_of_match struct also contains: > > nxp,pcf2129 > > ncp,pca2129 > > > > /Bruno > > Hi, > if I understand correctly, this means that the pca2129 and pcf2129 entries are already missing and should be added in a fix or a patch outside the scope of my new driver... > Correct, I just noticed while doing review. > Hugo. > > > > > reg: > > > maxItems: 1 > > > -- > > > 2.30.2 > > > > > > > > -- > Hugo Villeneuve <hugo@hugovil.com>
On Mon, 19 Dec 2022 18:18:58 +0100 Bruno Thomsen <bruno.thomsen@gmail.com> wrote: > Den man. 19. dec. 2022 kl. 17.25 skrev Hugo Villeneuve <hugo@hugovil.com>: > > > > On Mon, 19 Dec 2022 10:14:10 +0100 > > Bruno Thomsen <bruno.thomsen@gmail.com> wrote: > > > > > Den tor. 15. dec. 2022 kl. 16.19 skrev Hugo Villeneuve <hugo@hugovil.com>: > > > > > > > > From: Hugo Villeneuve <hvilleneuve@dimonoff.com> > > > > > > > > Add support for new NXP RTC PCF2131. > > > > > > > > Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> > > > > --- > > > > Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 4 +++- > > > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > > > > > diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > > > > index cde7b1675ead..a8f8c23da4d8 100644 > > > > --- a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > > > > +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > > > > @@ -14,7 +14,9 @@ maintainers: > > > > > > > > properties: > > > > compatible: > > > > - const: nxp,pcf2127 > > > > + enum: > > > > + - nxp,pcf2127 > > > > + - nxp,pcf2131 > > > > > > The enum is incomplete as pcf2127_of_match struct also contains: > > > nxp,pcf2129 > > > ncp,pca2129 > > > > > > /Bruno > > > > Hi, > > if I understand correctly, this means that the pca2129 and pcf2129 entries are already missing and should be added in a fix or a patch outside the scope of my new driver... > > > > Correct, I just noticed while doing review. Hi, I will send a separate patch very soon. Thank you, Hugo. V. > > > > reg: > > > > maxItems: 1 > > > > -- > > > > 2.30.2 > > > > > > > > > > > > > -- > > Hugo Villeneuve <hugo@hugovil.com> >
diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml index cde7b1675ead..a8f8c23da4d8 100644 --- a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml @@ -14,7 +14,9 @@ maintainers: properties: compatible: - const: nxp,pcf2127 + enum: + - nxp,pcf2127 + - nxp,pcf2131 reg: maxItems: 1