From: Krzysztof Kozlowski <krzk@kernel.org>
To: Frank Li <Frank.Li@nxp.com>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
"open list:WATCHDOG DEVICE DRIVERS"
<linux-watchdog@vger.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>
Cc: imx@lists.linux.dev
Subject: Re: [PATCH 1/1] dt-bindings: watchdog: convert ziirave-wdt.txt to yaml
Date: Mon, 12 Aug 2024 11:22:07 +0200 [thread overview]
Message-ID: <8b51075e-6a04-4c7a-816b-c590e5a3c526@kernel.org> (raw)
In-Reply-To: <20240811220515.3776756-1-Frank.Li@nxp.com>
On 12/08/2024 00:05, Frank Li wrote:
> Convert ziirave-wdt.txt to yaml format.
>
> Additional change:
> - Add i2c node in example.
>
> Fix below warning:
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/i2c@30a40000/watchdog@38:
> failed to match any schema with compatible: ['zii,rave-wdt']
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/watchdog/zii,rave-wdt.yaml | 47 +++++++++++++++++++
> .../bindings/watchdog/ziirave-wdt.txt | 19 --------
> 2 files changed, 47 insertions(+), 19 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/watchdog/zii,rave-wdt.yaml
> delete mode 100644 Documentation/devicetree/bindings/watchdog/ziirave-wdt.txt
>
> diff --git a/Documentation/devicetree/bindings/watchdog/zii,rave-wdt.yaml b/Documentation/devicetree/bindings/watchdog/zii,rave-wdt.yaml
> new file mode 100644
> index 0000000000000..6c0a16912d7f4
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/watchdog/zii,rave-wdt.yaml
> @@ -0,0 +1,47 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/watchdog/zii,rave-wdt.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Zodiac RAVE Watchdog Timer
> +
> +maintainers:
> + - Frank Li <Frank.Li@nxp.com>
> +
Missing $ref to watchdog
> +properties:
> + compatible:
> + const: zii,rave-wdt
> +
> + reg:
> + maxItems: 1
> + description: i2c slave address of device, usually 0x38
> +
> + timeout-sec:
> + description: Watchdog timeout value in seconds.
Drop property
> +
> + reset-duration-ms:
> + description:
> + Duration of the pulse generated when the watchdog times
> + out. Value in milliseconds.
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
and this becomes unevaluatedProperties: false
Best regards,
Krzysztof
prev parent reply other threads:[~2024-08-12 9:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-11 22:05 Frank Li
2024-08-12 9:22 ` Krzysztof Kozlowski [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=8b51075e-6a04-4c7a-816b-c590e5a3c526@kernel.org \
--to=krzk@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh@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
all inboxes | Powered by JetHome®