public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Akhila YS <akhilayalmati@gmail.com>
To: Conor Dooley <conor@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Nicolas Ferre <nicolas.ferre@microchip.com>,
	Claudiu Beznea <claudiu.beznea@tuxon.dev>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Claudiu Beznea <claudiu@tuxon.dev>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 4/5] dt-bindings: arm: atmel,at91rm9200-st: convert to DT schema
Date: Wed, 25 Feb 2026 20:40:52 +0530	[thread overview]
Message-ID: <d37d3775-c5e6-44d8-92bc-68f465d7cc97@gmail.com> (raw)
In-Reply-To: <20260224-gout-exquisite-1ee0b67c58cd@spud>


On 24-02-2026 23:18, Conor Dooley wrote:
> On Tue, Feb 24, 2026 at 02:46:49PM +0000, Akhila YS wrote:
>> Convert System Timer binding to YAML format.
>>
>> Signed-off-by: Akhila YS <akhilayalmati@gmail.com>
>> ---
>>  .../bindings/arm/atmel,at91rm9200-st.yaml          | 65 ++++++++++++++++++++++
>>  1 file changed, 65 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml b/Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml
>> new file mode 100644
>> index 000000000000..ff485b37cba8
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml
>> @@ -0,0 +1,65 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/arm/atmel,at91rm9200-st.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Atmel System Timer
>> +
>> +maintainers:
>> +  - Nicolas Ferre <nicolas.ferre@microchip.com>
>> +  - Claudiu Beznea <claudiu@tuxon.dev>
>> +
>> +description:
>> +  The System Timer (ST) module in AT91RM9200 provides periodic tick and
>> +  alarm capabilities. It is exposed as a simple multi-function device
>> +  (simple-mfd + syscon) because it shares its register space and interrupt
>> +  with other System Controller blocks.
>> +
>> +properties:
>> +  compatible:
>> +    items:
>> +      - const: atmel,at91rm9200-st
>> +      - const: syscon
>> +      - const: simple-mfd
>> +
>> +  reg:
>> +    maxItems: 1
>> +
>> +  interrupts:
>> +    maxItems: 1
>> +
>> +  clocks:
>> +    maxItems: 1
>> +
>> +  watchdog:
>> +    type: object
>> +    description: Watchdog timer subnode.
>> +    properties:
>> +      compatible:
>> +        const: atmel,at91rm9200-wdt
>> +    required:
>> +      - compatible
> This should just be a ref to the binding providing the watchdog.
>
> I am guessing you didn't test this against all bindings, only against
> /this/ binding and therefore missed the fact that it doesn't comply with
> the binding for the watchdog itself.


Ok, i will take watchdog properties as a ref from different yaml.

>> +
>> +required:
>> +  - compatible
>> +  - reg
>> +  - interrupts
>> +  - clocks
>> +
>> +unevaluatedProperties: false
>> +
>> +examples:
>> +  - |
>> +    #include <dt-bindings/interrupt-controller/irq.h>
>> +    timer@fffffd00 {
>> +        compatible = "atmel,at91rm9200-st", "syscon", "simple-mfd";
>> +        reg = <0xfffffd00 0x100>;
>> +        interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
>> +        clocks = <&slow_xtal>;
>> +
>> +        watchdog {
>> +                compatible = "atmel,at91rm9200-wdt";
>> +        };
>> +    };
>> +...
>>
>> -- 
>> 2.43.0
>>
-- 
Best Regards,
Akhila.


  reply	other threads:[~2026-02-25 15:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-24 14:46 [PATCH v2 0/5] dt-bindings: Microchip/Atmel AT91/SAMA system peripherals: convert to YAML Akhila YS
2026-02-24 14:46 ` [PATCH v2 1/5] dt-bindings: arm: microchip,sama7g5-chipid : convert to DT schema Akhila YS
2026-02-24 14:46 ` [PATCH v2 2/5] dt-bindings: arm: atmel,at91sam9260-pit: " Akhila YS
2026-02-24 14:46 ` [PATCH v2 3/5] dt-bindings: arm: microchip,sam9x60-pit64b : " Akhila YS
2026-02-24 14:46 ` [PATCH v2 4/5] dt-bindings: arm: atmel,at91rm9200-st: " Akhila YS
2026-02-24 16:59   ` Rob Herring (Arm)
2026-02-24 17:48   ` Conor Dooley
2026-02-25 15:10     ` Akhila YS [this message]
2026-02-24 14:46 ` [PATCH v2 5/5] dt-bindings: arm: atmel,at91rm9200-sdramc: " Akhila YS
2026-02-24 17:43 ` [PATCH v2 0/5] dt-bindings: Microchip/Atmel AT91/SAMA system peripherals: convert to YAML Conor Dooley
2026-02-24 17:51   ` Conor Dooley
2026-02-25 15:13     ` Akhila YS

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=d37d3775-c5e6-44d8-92bc-68f465d7cc97@gmail.com \
    --to=akhilayalmati@gmail.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=claudiu.beznea@tuxon.dev \
    --cc=claudiu@tuxon.dev \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.ferre@microchip.com \
    --cc=robh@kernel.org \
    /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