devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: <Sergiu.Moga@microchip.com>
To: <krzysztof.kozlowski@linaro.org>, <wim@linux-watchdog.org>,
	<linux@roeck-us.net>, <robh+dt@kernel.org>,
	<krzysztof.kozlowski+dt@linaro.org>,
	<Nicolas.Ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
	<Claudiu.Beznea@microchip.com>, <Eugen.Hristev@microchip.com>
Cc: <linux-watchdog@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] watchdog: dt-bindings: atmel,at91sam9-wdt: convert to json-schema
Date: Thu, 14 Jul 2022 12:05:04 +0000	[thread overview]
Message-ID: <c678bc8d-abb3-782d-875c-a91ab44b2cc6@microchip.com> (raw)
In-Reply-To: <df017bc8-3aa3-18e6-9632-94eb071afe68@linaro.org>

On 14.07.2022 13:41, Krzysztof Kozlowski wrote:
> On 14/07/2022 12:12, Sergiu Moga wrote:
>> Convert at91sam9 WDT binding for Atmel/Microchip SoCs to Device Tree
>> Schema format.
I somehow wrote "Device Tree Schema" here instead of "json-schema". Will 
correct the commit message in the next version.
>>
>> Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
>> ---
>>   .../bindings/watchdog/atmel,at91sam9-wdt.yaml | 127 ++++++++++++++++++
>>   .../bindings/watchdog/atmel-wdt.txt           |  51 -------
>>   2 files changed, 127 insertions(+), 51 deletions(-)
>>   create mode 100644 Documentation/devicetree/bindings/watchdog/atmel,at91sam9-wdt.yaml
>>   delete mode 100644 Documentation/devicetree/bindings/watchdog/atmel-wdt.txt
>>
>> diff --git a/Documentation/devicetree/bindings/watchdog/atmel,at91sam9-wdt.yaml b/Documentation/devicetree/bindings/watchdog/atmel,at91sam9-wdt.yaml
>> new file mode 100644
>> index 000000000000..b3f7cbe913a5
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/watchdog/atmel,at91sam9-wdt.yaml
>> @@ -0,0 +1,127 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/watchdog/atmel,at91sam9-wdt.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Atmel Watchdog Timers
>> +
>> +maintainers:
>> +  - Eugen Hristev <eugen.hristev@microchip.com>
>> +
>> +allOf:
>> +  - $ref: watchdog.yaml#
>> +  - if:
>> +      properties:
>> +        atmel,reset-type:
>> +          enum:
>> +            - all
>> +            - proc
>> +    then:
>> +      properties:
>> +        atmel,watchdog-type:
>> +          const: hardware
> Entire allOf in such case goes after "required:".
Noted. Thank you.
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> Best regards,
> Krzysztof



      reply	other threads:[~2022-07-14 12:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-14 10:12 [PATCH] watchdog: dt-bindings: atmel,at91sam9-wdt: convert to json-schema Sergiu Moga
2022-07-14 10:41 ` Krzysztof Kozlowski
2022-07-14 12:05   ` Sergiu.Moga [this message]

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=c678bc8d-abb3-782d-875c-a91ab44b2cc6@microchip.com \
    --to=sergiu.moga@microchip.com \
    --cc=Claudiu.Beznea@microchip.com \
    --cc=Eugen.Hristev@microchip.com \
    --cc=Nicolas.Ferre@microchip.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh+dt@kernel.org \
    --cc=wim@linux-watchdog.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;
as well as URLs for NNTP newsgroup(s).