From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Bharat Bhushan <bbhushan2@marvell.com>,
wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org,
linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: watchdog: marvell octeonTX2 GTI system atchdog driver
Date: Fri, 14 Apr 2023 13:21:34 +0200 [thread overview]
Message-ID: <a5aa1be1-f98d-af04-9879-b924a5bcb14c@linaro.org> (raw)
In-Reply-To: <20230414102342.23696-1-bbhushan2@marvell.com>
On 14/04/2023 12:23, Bharat Bhushan wrote:
> Add binding documentation for the Marvell octeonTX2
> GTI system watchdog driver.
Subject: typo: atchdog
>
> Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com>
> ---
> .../watchdog/marvell-octeontx2-wdt.yaml | 49 +++++++++++++++++++
> 1 file changed, 49 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/watchdog/marvell-octeontx2-wdt.yaml
>
> diff --git a/Documentation/devicetree/bindings/watchdog/marvell-octeontx2-wdt.yaml b/Documentation/devicetree/bindings/watchdog/marvell-octeontx2-wdt.yaml
> new file mode 100644
> index 000000000000..e509f26c61b9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/watchdog/marvell-octeontx2-wdt.yaml
> @@ -0,0 +1,49 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/watchdog/marvell-octeontx2-wdt.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Marvell OcteonTX2 GTI system watchdog
> +
> +allOf:
> + - $ref: watchdog.yaml#
> +
> +maintainers:
> + - Bharat Bhushan <bbhushan2@marvell.com>
> +
> +properties:
> + compatible:
> + const: marvell-octeontx2-wdt
That's not correct compatible. marvell is a vendor prefix.
Did you test the bindings before sending?
> +
> + reg:
> + maxItems: 1
> + description:
> + OcteonTX2 GTI system watchdog register space
Drop description, it is obvious.
> +
> + interrupts:
> + maxItems: 1
> + description:
> + OcteonTX2 GTI system watchdog interrupt number
Ditto
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> +
> +additionalProperties: false
unevaluatedProperties: false instead
> +
> +examples:
> + - |
> + soc {
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + watchdog@802000040000 {
> + compatible = "marvell-octeontx2-wdt";
> + reg = <0x8020 0x40000 0x0 0x20000>;
Are you sure that this is correct DTS? 32-bit numbers are usually
8-digit long. Plus size of 0x20000 is crazy huge. And the unit address
is a bit unusual. Are you sure dtc W=1 does not say about any errors in
your DTS?
> + interrupts = <0 38 1>;
Use defines for common flags.
> + };
> + };
> +
> +...
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-04-14 11:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-14 10:23 [PATCH 1/2] dt-bindings: watchdog: marvell octeonTX2 GTI system atchdog driver Bharat Bhushan
2023-04-14 10:23 ` [PATCH 2/2] Watchdog: Add octeontx2 GTI watchdog driver Bharat Bhushan
2023-04-14 11:27 ` Krzysztof Kozlowski
2023-04-14 11:44 ` [EXT] " Bharat Bhushan
2023-04-14 12:28 ` Krzysztof Kozlowski
2023-04-14 14:34 ` Guenter Roeck
2023-04-17 11:06 ` [EXT] " Bharat Bhushan
2023-04-17 14:10 ` Guenter Roeck
2023-04-15 3:59 ` kernel test robot
2023-04-18 21:05 ` Rob Herring
2023-04-14 11:21 ` Krzysztof Kozlowski [this message]
2023-04-14 11:29 ` [EXT] Re: [PATCH 1/2] dt-bindings: watchdog: marvell octeonTX2 GTI system atchdog driver Bharat Bhushan
2023-04-14 11:31 ` Krzysztof Kozlowski
2023-04-14 11:34 ` Bharat Bhushan
2023-04-14 14:35 ` Guenter Roeck
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=a5aa1be1-f98d-af04-9879-b924a5bcb14c@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=bbhushan2@marvell.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.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).