Devicetree
 help / color / mirror / Atom feed
From: Aleksa Paunovic <aleksa.paunovic@htecgroup.com>
To: "robh@kernel.org" <robh@kernel.org>
Cc: Aleksa Paunovic <aleksa.paunovic@htecgroup.com>,
	"alex@ghiti.fr" <alex@ghiti.fr>,
	"anup@brainfault.org" <anup@brainfault.org>,
	"aou@eecs.berkeley.edu" <aou@eecs.berkeley.edu>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>,
	"conor@kernel.org" <conor@kernel.org>,
	"daniel.lezcano@kernel.org" <daniel.lezcano@kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Djordje Todorovic <Djordje.Todorovic@htecgroup.com>,
	"inochiama@outlook.com" <inochiama@outlook.com>,
	"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
	"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>,
	"pjw@kernel.org" <pjw@kernel.org>,
	"radu@rendec.net" <radu@rendec.net>,
	"tglx@kernel.org" <tglx@kernel.org>,
	"vladimir.kondratiev@mobileye.com"
	<vladimir.kondratiev@mobileye.com>
Subject: Re: [PATCH 6/9] dt-bindings: timer: Add MIPS P8700 ACLINT MTIMER
Date: Wed, 14 Oct 2026 13:30:15 +0000	[thread overview]
Message-ID: <e6a4fdae-5123-436a-b46a-db0675734f7f@htecgroup.com> (raw)
In-Reply-To: <20260921182125.GA1219949-robh@kernel.org>

Hi Rob,

On 9/21/26 20:21, Rob Herring wrote:
> On Mon, Sep 14, 2026 at 03:55:54PM +0200, Aleksa Paunovic wrote:
>> Document the MIPS P8700 ACLINT MTIMER.
>> Extend support for both mtimecmp and mtime registers
>> within the ACLINT MTIMER, identified via reg-names.
>>
>> Signed-off-by: Aleksa Paunovic <aleksa.paunovic@htecgroup.com>
>> ---
>>  .../bindings/timer/thead,c900-aclint-mtimer.yaml   | 43 ++++++++++++++++++++--
>>  1 file changed, 39 insertions(+), 4 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/timer/thead,c900-aclint-mtimer.yaml b/Documentation/devicetree/bindings/timer/thead,c900-aclint-mtimer.yaml
>> index cf7c82e980f674afcf59fc726742dc4f49c1a820..35e02da675becb3c8bb187b8e1e623994d52df8c 100644
>> --- a/Documentation/devicetree/bindings/timer/thead,c900-aclint-mtimer.yaml
>> +++ b/Documentation/devicetree/bindings/timer/thead,c900-aclint-mtimer.yaml
>> @@ -17,18 +17,20 @@ properties:
>>                - sophgo,sg2042-aclint-mtimer
>>                - sophgo,sg2044-aclint-mtimer
>>            - const: thead,c900-aclint-mtimer
>> +      - items:
>> +          - const: gf,mips-p8700-aclint-mtimer
>>        - items:
>>            - enum:
>>                - anlogic,dr1v90-aclint-mtimer
>>            - const: nuclei,ux900-aclint-mtimer
>>
>>    reg:
>> -    items:
>> -      - description: MTIMECMP Registers
>> +    minItems: 1
>> +    maxItems: 2
>>
>>    reg-names:
>> -    items:
>> -      - const: mtimecmp
>> +    minItems: 1
>> +    maxItems: 2
>>
>>    interrupts-extended:
>>      minItems: 1
>> @@ -42,6 +44,28 @@ required:
>>    - reg-names
>>    - interrupts-extended
>>
>> +allOf:
>> +  - if:
>> +      properties:
>> +        compatible:
>> +          contains:
>> +            const: gf,mips-p8700-aclint-mtimer
>> +    then:
>> +      properties:
>> +        reg:
>> +          minItems: 2
>> +        reg-names:
>> +          items:
>> +            - const: mtime
>> +            - const: mtimecmp
> New entries go at the end. And then you can define 'mtime' at the top
> level with this just being 'minItems: 2'.
Thanks, will fix in v2!

Best regards,
Aleksa

  reply	other threads:[~2026-10-14 13:30 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14 13:55 [PATCH 0/9] Add support for MIPS P8700 Aleksa Paunovic via B4 Relay
2026-09-14 13:55 ` [PATCH 1/9] dt-bindings: vendor-prefixes: Add GlobalFoundries, Inc Aleksa Paunovic via B4 Relay
2026-09-15 17:23   ` Conor Dooley
2026-09-17 11:50     ` Maciej W. Rozycki
2026-10-14 12:54       ` Aleksa Paunovic
2026-10-14 13:02     ` Aleksa Paunovic
2026-09-14 13:55 ` [PATCH 2/9] dt-bindings: riscv: cpus: add gf,mips-p8700 Aleksa Paunovic via B4 Relay
2026-09-14 13:55 ` [PATCH 3/9] dt-bindings: riscv: Add MIPS Boston board compatible Aleksa Paunovic via B4 Relay
2026-09-15 17:58   ` Conor Dooley
2026-09-17 13:23     ` Maciej W. Rozycki
2026-10-14 13:17       ` Aleksa Paunovic
2026-10-14 13:16     ` Aleksa Paunovic
2026-10-14 16:33       ` Conor Dooley
2026-09-14 13:55 ` [PATCH 4/9] dt-bindings: interrupt-controller: Add MIPS P8700 APLIC Aleksa Paunovic via B4 Relay
2026-09-15 18:16   ` Conor Dooley
2026-10-14 13:25     ` Aleksa Paunovic
2026-09-14 13:55 ` [PATCH 5/9] dt-bindings: interrupt-controller: Add MIPS P8700 ACLINT MSWI Aleksa Paunovic via B4 Relay
2026-09-15 18:15   ` Conor Dooley
2026-10-14 13:29     ` Aleksa Paunovic
2026-09-14 13:55 ` [PATCH 6/9] dt-bindings: timer: Add MIPS P8700 ACLINT MTIMER Aleksa Paunovic via B4 Relay
2026-09-21 18:21   ` Rob Herring
2026-10-14 13:30     ` Aleksa Paunovic [this message]
2026-09-14 13:55 ` [PATCH 7/9] dt-bindings: interrupt-controller: thead,c900-aclint-sswi: Add MIPS P8700 gf compatible Aleksa Paunovic via B4 Relay
2026-09-18 22:03   ` Rob Herring
2026-10-14 13:31     ` Aleksa Paunovic
2026-09-14 13:55 ` [PATCH 8/9] riscv: dts: gf: Initial support for the P8700 Boston board Aleksa Paunovic via B4 Relay
2026-09-14 15:08   ` sashiko-bot
2026-09-14 13:55 ` [PATCH 9/9] riscv: defconfig: Enable GF SoCs Aleksa Paunovic via B4 Relay

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=e6a4fdae-5123-436a-b46a-db0675734f7f@htecgroup.com \
    --to=aleksa.paunovic@htecgroup.com \
    --cc=Djordje.Todorovic@htecgroup.com \
    --cc=alex@ghiti.fr \
    --cc=anup@brainfault.org \
    --cc=aou@eecs.berkeley.edu \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=daniel.lezcano@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=inochiama@outlook.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=radu@rendec.net \
    --cc=robh@kernel.org \
    --cc=tglx@kernel.org \
    --cc=vladimir.kondratiev@mobileye.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