From: Xianwei Zhao <xianwei.zhao@amlogic.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Yiting Deng <yiting.deng@amlogic.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-amlogic@lists.infradead.org, linux-rtc@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/3] rtc: support for the Amlogic on-chip RTC
Date: Wed, 4 Sep 2024 16:44:11 +0800 [thread overview]
Message-ID: <18cba830-cd08-42f6-9c42-92edb7e442e8@amlogic.com> (raw)
In-Reply-To: <7560bdd0-aafc-4c6a-b5a8-f50e9aa3124b@kernel.org>
Hi Krzysztof,
Thanks for your reply.
On 2024/9/3 22:04, Krzysztof Kozlowski wrote:
> [ EXTERNAL EMAIL ]
>
> On 03/09/2024 09:00, Xianwei Zhao via B4 Relay wrote:
>> From: Yiting Deng <yiting.deng@amlogic.com>
>>
>
> ...
>
>> + rtc->map = devm_regmap_init_mmio(&pdev->dev, base, &aml_rtc_regmap_config);
>> + if (IS_ERR(rtc->map)) {
>> + dev_err_probe(&pdev->dev, PTR_ERR(rtc->map), "regmap init failed\n");
>> + return PTR_ERR(rtc->map);
>
> Nothing improved. Read the comment. Use git grep to see how this is done
> if the comment is somehow unclear.
>
Got it, Merge two statements into one.
"return dev_err_probe();"
Will fix it.
> <form letter>
> This is a friendly reminder during the review process.
>
> It seems my or other reviewer's previous comments were not fully
> addressed. Maybe the feedback got lost between the quotes, maybe you
> just forgot to apply it. Please go back to the previous discussion and
> either implement all requested changes or keep discussing them.
>
"So the third driver? What is wrong with existing ones? And why this one
is named so differently?"
Are you saying these part were not fully addressed? If so, let me answer
it here.
Yes, this is the third driver.The RTC hardware of A4 SoC is different
from the previous one, so need add new RTC driver to support it.
A4 RTC hardware includes a timing function and an alarm function.
But the existing has only timing function, alarm function is using the
system clock to implement a virtual alarm.
The driver file name modfiy to rtc-amlogic-a4.c suggested by Alexandre
Belloni.
> Thank you.
> </form letter>
>
> Best regards,
> Krzysztof
>
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2024-09-04 9:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-03 7:00 [PATCH v2 0/3] support for amlogic rtc Xianwei Zhao via B4 Relay
2024-09-03 7:00 ` [PATCH v2 1/3] dt-bindings: rtc: Add Amlogic A4 and A5 rtc Xianwei Zhao via B4 Relay
2024-09-03 14:03 ` Krzysztof Kozlowski
2024-09-04 8:18 ` Xianwei Zhao
2024-09-03 7:00 ` [PATCH v2 2/3] rtc: support for the Amlogic on-chip RTC Xianwei Zhao via B4 Relay
2024-09-03 14:04 ` Krzysztof Kozlowski
2024-09-04 8:44 ` Xianwei Zhao [this message]
2024-09-03 7:00 ` [PATCH v2 3/3] MAINTAINERS: Add an entry for Amlogic RTC driver Xianwei Zhao via B4 Relay
2024-09-03 14:05 ` Krzysztof Kozlowski
2024-09-04 8:50 ` Xianwei Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18cba830-cd08-42f6-9c42-92edb7e442e8@amlogic.com \
--to=xianwei.zhao@amlogic.com \
--cc=alexandre.belloni@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=robh@kernel.org \
--cc=yiting.deng@amlogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®