LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Sugaya Taichi <sugaya.taichi@socionext.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, linux-gpio@vger.kernel.org,
linux-kernel@vger.kernel.org, orito.takao@socionext.com,
Masami Hiramatsu <masami.hiramatsu@linaro.org>,
Jassi Brar <jaswinder.singh@linaro.org>
Subject: Re: [PATCH v3 2/2] dt-bindings: pinctrl: add bindings for Milbeaut pin controller
Date: Fri, 26 Nov 2021 20:03:29 +0900 [thread overview]
Message-ID: <5729f6e6-983a-f8b2-c5f3-ff07d8f43650@socionext.com> (raw)
In-Reply-To: <CACRpkdbgMMKJwS0cUi3D2swHYbbBH6ofSeOhyXy6qiMFrU5a8Q@mail.gmail.com>
On 2021/11/26 10:14, Linus Walleij wrote:
> On Thu, Nov 25, 2021 at 10:58 AM Sugaya Taichi
> <sugaya.taichi@socionext.com> wrote:
>
>> Add Device Tree bindings documentation for pin controller of
>> the Milbeaut SoCs.
>>
>> Signed-off-by: Sugaya Taichi <sugaya.taichi@socionext.com>
>
> What is weird about this binding is what is not there:
> this is just GPIO, where are the pin mux and config
> nodes? The driver surely tries to use them.
>
> Please use the existing standard bindings for functions
> and groups etc, check the other bindings.
>
> Yours,
> Linus Walleij
>
Thank you for comments.
I realized this is just GPIO by your comment.
OK I check them more.
Thanks,
Taichi Sugaya
>> ---
>> .../pinctrl/socionext,milbeaut-pinctrl.yaml | 51 ++++++++++++++++++++++
>> 1 file changed, 51 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/pinctrl/socionext,milbeaut-pinctrl.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/pinctrl/socionext,milbeaut-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/socionext,milbeaut-pinctrl.yaml
>> new file mode 100644
>> index 0000000..78bc2d4
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/pinctrl/socionext,milbeaut-pinctrl.yaml
>> @@ -0,0 +1,51 @@
>> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/pinctrl/socionext,milbeaut-pinctrl.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Milbeaut SoCs pin controller
>> +
>> +maintainers:
>> + - Taichi Sugaya <sugaya.taichi@socionext.com>
>> +
>> +description: |
>> + Bindings for memory-mapped pin controller of the Milbeaut SoCs.
>> +
>> +properties:
>> + $nodename:
>> + pattern: "pinctrl"
>> +
>> + compatible:
>> + enum:
>> + - socionext,milbeaut-m10v-pinctrl
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + reg-names:
>> + const: "pinctrl"
>> +
>> + gpio-controller: true
>> +
>> + "#gpio-cells":
>> + const: 2
>> +
>> +required:
>> + - compatible
>> + - reg
>> + - reg-names
>> + - gpio-controller
>> + - "#gpio-cells"
>> +
>> +additionalProperties: false
>> +
>> +examples:
>> + - |
>> + pinctrl: pinctrl@1d022000 {
>> + compatible = "socionext,milbeaut-m10v-pinctrl";
>> + reg = <0x1d022000 0x1000>;
>> + reg-names = "pinctrl";
>> + gpio-controller;
>> + #gpio-cells = <2>;
>> + };
>> --
>> 2.7.4
>>
prev parent reply other threads:[~2021-11-26 11:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-25 9:57 [PATCH v3 0/2] pinctrl: milbeaut: Add Milbeaut M10V pinctrl Sugaya Taichi
2021-11-25 9:57 ` [PATCH v3 1/2] " Sugaya Taichi
2021-11-25 9:57 ` [PATCH v3 2/2] dt-bindings: pinctrl: add bindings for Milbeaut pin controller Sugaya Taichi
2021-11-26 1:14 ` Linus Walleij
2021-11-26 11:03 ` Sugaya Taichi [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=5729f6e6-983a-f8b2-c5f3-ff07d8f43650@socionext.com \
--to=sugaya.taichi@socionext.com \
--cc=devicetree@vger.kernel.org \
--cc=jaswinder.singh@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masami.hiramatsu@linaro.org \
--cc=orito.takao@socionext.com \
--cc=robh+dt@kernel.org \
--subject='Re: [PATCH v3 2/2] dt-bindings: pinctrl: add bindings for Milbeaut pin controller' \
/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
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).