From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Weilong Chen <chenweilong@huawei.com>,
f.fangjian@huawei.com, linus.walleij@linaro.org,
yangyicong@hisilicon.com, xuwei5@huawei.com, robh+dt@kernel.org,
robh@kernel.org, krzysztof.kozlowski+dt@linaro.org
Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH next v2 2/2] dt-bindings: gpio: add entry for hisilicon,ascend910-gpio
Date: Thu, 27 Oct 2022 22:28:22 -0400 [thread overview]
Message-ID: <0737d433-0379-8aba-0ffb-efa278908c22@linaro.org> (raw)
In-Reply-To: <20221028022453.163186-2-chenweilong@huawei.com>
On 27/10/2022 22:24, Weilong Chen wrote:
> Add the new compatible for HiSilicon gpio controller driver.
>
> Signed-off-by: Weilong Chen <chenweilong@huawei.com>
> ---
> Change since v1:
Thank you for your patch. There is something to discuss/improve.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/gpio/hisilicon,ascend910-gpio.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: HiSilicon common GPIO controller
> +
> +maintainers:
> + - Jay Fang <f.fangjian@huawei.com>
> +
> +description: |
No need for "|". Can be dropped.
> + The HiSilicon common GPIO controller can be used for many different
> + types of SoC such as Huawei Ascend AI series chips.
> +
> +properties:
> + compatible:
> + const: hisilicon,ascend910-gpio
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + gpio-controller: true
> +
> + "#gpio-cells":
> + const: 2
> +
> + ngpios:
> + minimum: 1
> + maximum: 32
> +
> +required:
> + - compatible
> + - gpio-controller
> + - '#gpio-cells'
Please use the same style of quotes in entire file - either ' or ".
> + - interrupts
> + - ngpios
> + - reg
The same order as appear in "properties:".
> +
> +additionalProperties: false
> +
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-10-28 2:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-28 2:24 [PATCH next v2 1/2] gpio: hisi: Add initial device tree support Weilong Chen
2022-10-28 2:24 ` [PATCH next v2 2/2] dt-bindings: gpio: add entry for hisilicon,ascend910-gpio Weilong Chen
2022-10-28 2:28 ` Krzysztof Kozlowski [this message]
2022-11-01 7:41 ` [PATCH next v2 1/2] gpio: hisi: Add initial device tree support Yicong Yang
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=0737d433-0379-8aba-0ffb-efa278908c22@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=chenweilong@huawei.com \
--cc=devicetree@vger.kernel.org \
--cc=f.fangjian@huawei.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=xuwei5@huawei.com \
--cc=yangyicong@hisilicon.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
all inboxes | Powered by JetHome®