Message ID | 20230126142057.25715-18-johan+linaro@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp298078wrn; Thu, 26 Jan 2023 06:27:07 -0800 (PST) X-Google-Smtp-Source: AK7set9CcP/5SCM8V0Y7bnj1tf2XBFWwOZ0i+ig33Z/LSiElXmmnaugXs4aNwUGZ7IMDWWeN/wXP X-Received: by 2002:a05:6402:693:b0:4a0:8f85:6fe3 with SMTP id f19-20020a056402069300b004a08f856fe3mr9216870edy.39.1674743226881; Thu, 26 Jan 2023 06:27:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674743226; cv=none; d=google.com; s=arc-20160816; b=BNNcAVgFYuIAMiXgGqYip9UQa9wwacTC2OJ6XaXWmkcp4m7f6nMvnUDiAbnB4ev11C qGhO/Vf4V0MtJbHc6sFPX0GHiR373PwX8OUCNq7pcC8uRLEg8n+dpiKo7c0u9Nua6eFb BiX9GV9fQtobfqyFpkToUlRb1++aRvwR51ktpDH6O9LiLyWmXP/vJeNAk0oHbo+TRmPZ N7lsVRUxe9O/xEuZIPKQH7cJx8FsCp0GbFixuVtoQqbAiO7GDzVPqC6zEP1cyFVzxnHG bxwNJtYrgQyJJI6dBrhjnV6Aar+sNTFXYo4PkzQkQEf6u3UV1NnTkFcnCkZHLeZtRUYn EaIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HJGrOCQwFac1TXVS2aLD5iKaERJyIzqAX3CiLa/Jn1w=; b=BFHj/haMvvUh5Ix/b/ZcWbcQnO534UfV6672z14ou0ypgfh2l5qvSzS41TkKY7fm6w UR3P65HnStZP8CeHbuheuJCqoOsZOS0OGCmIBTxB+Mt83RUfz2I64u56AemcWA6qxfzr 16FTl/0TAmOvYt7qBoMy1NltYUN4woiUagoak0DocwpvR8gnujkcjr1xrHCKAE4yk1mr T89drT3yykv56trV2ZatpAQ7DsM52IxZC1b0I4Eks0ATW9yXRXH6d5sQfSKOAOt1+eob RrK09Ez0q3apKqhvi0bki3OQ9StlA5p7LPUtEgmXL7h1mMvD05fZYmgZMgYiu91GWEW4 dw1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dqZDgQlY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020a05640211c900b004a090c40aecsi1985597edw.411.2023.01.26.06.26.42; Thu, 26 Jan 2023 06:27:06 -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=pass header.i=@kernel.org header.s=k20201202 header.b=dqZDgQlY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232033AbjAZOYB (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); Thu, 26 Jan 2023 09:24:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231990AbjAZOXF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 26 Jan 2023 09:23:05 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47F5A37B47; Thu, 26 Jan 2023 06:23:04 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 31A84B81DFB; Thu, 26 Jan 2023 14:23:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 957B2C4323F; Thu, 26 Jan 2023 14:22:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674742978; bh=TZt8tg0f5EGEIjmtonuFfOLla/KhReUiEwgCPwUl7Y8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dqZDgQlYoS0ADYsAw5Kl0tc/vASEnUJdOEncA27mTb7vK50h1WKMrrKDllY3j0XaU 8UaxP2YrZklcHOWS3/G0Hq71+supY2z/20fhny7fAwTmHhY6wn5wBa5NpzjK32zBd4 YQeEVSs6ga/yysJoFRCCfet14xThts1Iq8F37IUAx6xc7ayF6ozTXWWofWrWwmXMEV 5/TcymIWe/XyBqRFrsiuIFJ68iRAk6nSzKGS5SG7jxt+b2nbi/T9sXlTE38QBSBxZJ ZAxtigb0Wi0gqMKQHM11ECa0qd915d9EfLRe/XZ2a7ozCmOSbWnVhKeCmz5LPt5n5x MTi9wkZyHbCfg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from <johan+linaro@kernel.org>) id 1pL39d-0006iy-FO; Thu, 26 Jan 2023 15:23:05 +0100 From: Johan Hovold <johan+linaro@kernel.org> To: Alexandre Belloni <alexandre.belloni@bootlin.com>, Bjorn Andersson <andersson@kernel.org> Cc: Andy Gross <agross@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Alessandro Zummo <a.zummo@towertech.it>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Maximilian Luz <luzmaximilian@gmail.com>, linux-arm-msm@vger.kernel.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH 17/24] rtc: pm8xxx: add copyright notice Date: Thu, 26 Jan 2023 15:20:50 +0100 Message-Id: <20230126142057.25715-18-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230126142057.25715-1-johan+linaro@kernel.org> References: <20230126142057.25715-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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?1756095553460477245?= X-GMAIL-MSGID: =?utf-8?q?1756095553460477245?= |
Series |
rtc: pm8xxx: add support for setting time using nvmem
|
|
Commit Message
Johan Hovold
Jan. 26, 2023, 2:20 p.m. UTC
Add a copyright notice for Linaro and add myself as a (primary) author
of this driver.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
drivers/rtc/rtc-pm8xxx.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Comments
On 26/01/2023 15:20:50+0100, Johan Hovold wrote: > Add a copyright notice for Linaro and add myself as a (primary) author > of this driver. > > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > --- > drivers/rtc/rtc-pm8xxx.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c > index 09816b9f6282..25bdd804b4d2 100644 > --- a/drivers/rtc/rtc-pm8xxx.c > +++ b/drivers/rtc/rtc-pm8xxx.c > @@ -1,5 +1,9 @@ > // SPDX-License-Identifier: GPL-2.0-only > -/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. > +/* > + * pm8xxx RTC driver > + * > + * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. > + * Copyright (c) 2023, Linaro Limited Is this really useful? The authoritative source is going to be git anyway. > */ > #include <linux/of.h> > #include <linux/module.h> > @@ -551,3 +555,4 @@ MODULE_ALIAS("platform:rtc-pm8xxx"); > MODULE_DESCRIPTION("PMIC8xxx RTC driver"); > MODULE_LICENSE("GPL v2"); > MODULE_AUTHOR("Anirudh Ghayal <aghayal@codeaurora.org>"); > +MODULE_AUTHOR("Johan Hovold <johan@kernel.org>"); > -- > 2.39.1 >
On Thu, Jan 26, 2023 at 05:06:20PM +0100, Alexandre Belloni wrote: > On 26/01/2023 15:20:50+0100, Johan Hovold wrote: > > Add a copyright notice for Linaro and add myself as a (primary) author > > of this driver. > > > > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > > --- > > drivers/rtc/rtc-pm8xxx.c | 7 ++++++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c > > index 09816b9f6282..25bdd804b4d2 100644 > > --- a/drivers/rtc/rtc-pm8xxx.c > > +++ b/drivers/rtc/rtc-pm8xxx.c > > @@ -1,5 +1,9 @@ > > // SPDX-License-Identifier: GPL-2.0-only > > -/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. > > +/* > > + * pm8xxx RTC driver > > + * > > + * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. > > + * Copyright (c) 2023, Linaro Limited > > Is this really useful? The authoritative source is going to be git > anyway. Sure, but in this case the driver ended up being almost completely reworked so I think it is warranted. > > */ > > #include <linux/of.h> > > #include <linux/module.h> > > @@ -551,3 +555,4 @@ MODULE_ALIAS("platform:rtc-pm8xxx"); > > MODULE_DESCRIPTION("PMIC8xxx RTC driver"); > > MODULE_LICENSE("GPL v2"); > > MODULE_AUTHOR("Anirudh Ghayal <aghayal@codeaurora.org>"); > > +MODULE_AUTHOR("Johan Hovold <johan@kernel.org>"); > > -- > > 2.39.1 Johan
On 27/01/2023 14:04, Johan Hovold wrote: > On Thu, Jan 26, 2023 at 05:06:20PM +0100, Alexandre Belloni wrote: >> On 26/01/2023 15:20:50+0100, Johan Hovold wrote: >>> Add a copyright notice for Linaro and add myself as a (primary) author >>> of this driver. >>> >>> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> >>> --- >>> drivers/rtc/rtc-pm8xxx.c | 7 ++++++- >>> 1 file changed, 6 insertions(+), 1 deletion(-) >>> >>> diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c >>> index 09816b9f6282..25bdd804b4d2 100644 >>> --- a/drivers/rtc/rtc-pm8xxx.c >>> +++ b/drivers/rtc/rtc-pm8xxx.c >>> @@ -1,5 +1,9 @@ >>> // SPDX-License-Identifier: GPL-2.0-only >>> -/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. >>> +/* >>> + * pm8xxx RTC driver >>> + * >>> + * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. >>> + * Copyright (c) 2023, Linaro Limited >> >> Is this really useful? The authoritative source is going to be git >> anyway. > > Sure, but in this case the driver ended up being almost completely > reworked so I think it is warranted. Copyright update is an effect of rework, not independent, thus it should be squashed with the code doing the rework. Copyright updates on their own do not make sense. Best regards, Krzysztof
On Fri, Jan 27, 2023 at 03:14:48PM +0100, Krzysztof Kozlowski wrote: > On 27/01/2023 14:04, Johan Hovold wrote: > > On Thu, Jan 26, 2023 at 05:06:20PM +0100, Alexandre Belloni wrote: > >> On 26/01/2023 15:20:50+0100, Johan Hovold wrote: > >>> Add a copyright notice for Linaro and add myself as a (primary) author > >>> of this driver. > >>> > >>> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > >>> --- > >>> drivers/rtc/rtc-pm8xxx.c | 7 ++++++- > >>> 1 file changed, 6 insertions(+), 1 deletion(-) > >>> > >>> diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c > >>> index 09816b9f6282..25bdd804b4d2 100644 > >>> --- a/drivers/rtc/rtc-pm8xxx.c > >>> +++ b/drivers/rtc/rtc-pm8xxx.c > >>> @@ -1,5 +1,9 @@ > >>> // SPDX-License-Identifier: GPL-2.0-only > >>> -/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. > >>> +/* > >>> + * pm8xxx RTC driver > >>> + * > >>> + * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. > >>> + * Copyright (c) 2023, Linaro Limited > >> > >> Is this really useful? The authoritative source is going to be git > >> anyway. > > > > Sure, but in this case the driver ended up being almost completely > > reworked so I think it is warranted. > > Copyright update is an effect of rework, not independent, thus it should > be squashed with the code doing the rework. Copyright updates on their > own do not make sense. I tend to agree, but there can be reasons for adding it separately as in this case where I wanted to highlight that I was adding a new entry. And it is still added along with the changes (i.e. as part of the series). But I'll squash it with the previous patch for v2. Johan
diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c index 09816b9f6282..25bdd804b4d2 100644 --- a/drivers/rtc/rtc-pm8xxx.c +++ b/drivers/rtc/rtc-pm8xxx.c @@ -1,5 +1,9 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. +/* + * pm8xxx RTC driver + * + * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. + * Copyright (c) 2023, Linaro Limited */ #include <linux/of.h> #include <linux/module.h> @@ -551,3 +555,4 @@ MODULE_ALIAS("platform:rtc-pm8xxx"); MODULE_DESCRIPTION("PMIC8xxx RTC driver"); MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Anirudh Ghayal <aghayal@codeaurora.org>"); +MODULE_AUTHOR("Johan Hovold <johan@kernel.org>");