From: Aleksa Paunovic <aleksa.paunovic@htecgroup.com>
To: "krzk@kernel.org" <krzk@kernel.org>
Cc: Aleksa Paunovic <aleksa.paunovic@htecgroup.com>,
"aou@eecs.berkeley.edu" <aou@eecs.berkeley.edu>,
"arikalo@gmail.com" <arikalo@gmail.com>,
"conor@kernel.org" <conor@kernel.org>,
"daniel.lezcano@linaro.org" <daniel.lezcano@linaro.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Djordje Todorovic <Djordje.Todorovic@htecgroup.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-riscv@lists.infradead.org"
<linux-riscv@lists.infradead.org>,
"palmer@dabbelt.com" <palmer@dabbelt.com>,
"paul.walmsley@sifive.com" <paul.walmsley@sifive.com>,
"tglx@linutronix.de" <tglx@linutronix.de>
Subject: Re: [PATCH v3 1/2] dt-bindings: timer: mti,gcru
Date: Wed, 14 May 2025 15:02:50 +0000 [thread overview]
Message-ID: <3a73625c-63d7-4ed4-98a3-84d7d26e8484@htecgroup.com> (raw)
In-Reply-To: <1b72b68a-ad20-48b9-9a8e-c58ad6b15017@kernel.org>
On 24. 4. 25. 08:24, Krzysztof Kozlowski wrote:
> [You don't often get email from krzk@kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
>
> On 23/04/2025 14:14, Aleksa Paunovic wrote:
>> HTEC Public
>
> Fix your email systems or use b4 relay.
>
>
> <form letter>
> Please use scripts/get_maintainers.pl to get a list of necessary people
> and lists to CC (and consider --no-git-fallback argument, so you will
> not CC people just because they made one commit years ago). It might
> happen, that command when run on an older kernel, gives you outdated
> entries. Therefore please be sure you base your patches on recent Linux
> kernel.
>
> Tools like b4 or scripts/get_maintainer.pl provide you proper list of
> people, so fix your workflow. Tools might also fail if you work on some
> ancient tree (don't, instead use mainline) or work on fork of kernel
> (don't, instead use mainline). Just use b4 and everything should be
> fine, although remember about `b4 prep --auto-to-cc` if you added new
> patches to the patchset.
> </form letter>
>
Thank you for the tips. Will be using b4 relay in the future, starting with v4 linked at [1].
[1]
https://lore.kernel.org/linux-riscv/20250514-riscv-time-mmio-v4-0-cb0cf2922d66@htecgroup.com/
Best regards,
Aleksa Paunovic
>>
>> Add dt-bindings for the GCR.U memory mapped timer device for RISC-V
>> platforms. The GCR.U memory region contains shadow copies of the RISC-V
>> mtime register and the hrtime Global Configuration Register.
>>
>> Signed-off-by: Aleksa Paunovic <aleksa.paunovic@htecgroup.com>
>> ---
>> .../devicetree/bindings/timer/mti,gcru.yaml | 47 +++++++++++++++++++
>> 1 file changed, 47 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/timer/mti,gcru.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/timer/mti,gcru.yaml b/Documentation/devicetree/bindings/timer/mti,gcru.yaml
>> new file mode 100644
>> index 000000000000..6555dbab402e
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/timer/mti,gcru.yaml
>> @@ -0,0 +1,47 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/timer/mti,gcru.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: GCR.U timer device for RISC-V platforms
>> +
>> +maintainers:
>> + - Aleksa Paunovic <aleksa.paunovic@htecgroup.com>
>> +
>> +description:
>> + The GCR.U memory region contains memory mapped shadow copies of
>> + mtime and hrtime Global Configuration Registers,
>> + which software can choose to make accessible from user mode.
>> +
>> +select:
>> + properties:
>> + compatible:
>> + contains:
>> + const: mti,gcru
>> +
>> + required:
>> + - compatible
>
> Drop select, why do you need it?
>
>> +
>> +properties:
>> + compatible:
>> + const: mti,gcru
>> +
>> + reg:
>> + items:
>> + - description: Read-only shadow copy of the RISC-V mtime register.
>> + - description: Read-only shadow copy of the high resolution timer register.
>> +
>> +required:
>> + - compatible
>> + - reg
>> +
>> +additionalProperties: false
>> +
>> +examples:
>> + - |
>> + gcru: timer@1617F000 {
>
> Lower-case hex in DTS, always. See DTS coding style.
>
> Best regards,
> Krzysztof
next prev parent reply other threads:[~2025-05-14 15:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-23 12:12 [PATCH v3 0/2] Use GCR.U timer device as clocksource Aleksa Paunovic
2025-04-23 12:14 ` [PATCH v3 1/2] dt-bindings: timer: mti,gcru Aleksa Paunovic
2025-04-23 15:27 ` Conor Dooley
2025-04-24 6:24 ` Krzysztof Kozlowski
2025-05-14 15:02 ` Aleksa Paunovic [this message]
2025-04-23 12:17 ` [PATCH v3 2/2] Allow for riscv-clock to pick up mmio address Aleksa Paunovic
2025-04-29 8:52 ` Daniel Lezcano
2025-05-14 15:13 ` Aleksa Paunovic
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=3a73625c-63d7-4ed4-98a3-84d7d26e8484@htecgroup.com \
--to=aleksa.paunovic@htecgroup.com \
--cc=Djordje.Todorovic@htecgroup.com \
--cc=aou@eecs.berkeley.edu \
--cc=arikalo@gmail.com \
--cc=conor@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=tglx@linutronix.de \
/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®