public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alain Volmat <avolmat@me.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Patrice Chotard <patrice.chotard@foss.st.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: arm: sti: addition of STi platform syscon
Date: Sun, 12 Feb 2023 21:09:45 +0100	[thread overview]
Message-ID: <Y+lHiZRDH9brl3FR@imac101> (raw)
In-Reply-To: <e34c139f-3477-8689-af01-29560f8c1265@linaro.org>

Thanks for the review.

On Sun, Feb 12, 2023 at 05:00:24PM +0100, Krzysztof Kozlowski wrote:
> Thank you for your patch. There is something to discuss/improve. Few nits.
> 
> On 11/02/2023 22:04, Alain Volmat wrote:
> > Addition of the various STi platform syscon node description.
> 
> Use imperative.
> https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95
> 
> > 
> > Signed-off-by: Alain Volmat <avolmat@me.com>
> > ---
> >  .../bindings/arm/sti/st,sti-syscon.yaml       | 46 +++++++++++++++++++
> >  1 file changed, 46 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/arm/sti/st,sti-syscon.yaml
> > 
> > diff --git a/Documentation/devicetree/bindings/arm/sti/st,sti-syscon.yaml b/Documentation/devicetree/bindings/arm/sti/st,sti-syscon.yaml
> > new file mode 100644
> > index 000000000000..e4bbc90694b3
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/arm/sti/st,sti-syscon.yaml
> > @@ -0,0 +1,46 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/arm/sti/st,sti-syscon.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: STMicroelectronics STi platform sysconfig entries
> 
> 
> Drop "entries", does not look related to hardware.
> 
> > +
> > +maintainers:
> > +  - Patrice Chotard <patrice.chotard@foss.st.com>
> > +
> > +description: |
> > +  Binding for the various sysconfig nodes used within the STi
> > +  platform device-tree to point to some common configuration
> > +  registers used by other nodes.
> > +
> > +properties:
> > +  compatible:
> > +    items:
> > +      - enum:
> > +          - st,stih407-sbc-syscfg
> > +          - st,stih407-front-syscfg
> > +          - st,stih407-rear-syscfg
> > +          - st,stih407-flash-syscfg
> > +          - st,stih407-sbc-reg-syscfg
> > +          - st,stih407-core-syscfg
> > +          - st,stih407-lpm-syscfg
> 
> How about putting them in some order?

Ok, changed to alphabet order

> 
> > +      - const: syscon
> > +
> > +  reg:
> > +    maxItems: 1
> > +
> > +required:
> > +  - compatible
> > +  - reg
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > +  - |
> > +    syscfg_sbc: sbc-syscfg@9620000 {
> 
> Generic node names, thus usually syscon or system-controller

Ok, changed to syscfg_sbc: syscon@9620000

I also move the file within bindings/soc/sti as mentioned in your other
reply.

> > +...
> 
> Best regards,
> Krzysztof
> 

  reply	other threads:[~2023-02-12 20:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-11 21:04 [PATCH 1/2] dt-bindings: arm: sti: addition of STi platform syscon Alain Volmat
2023-02-11 21:04 ` [PATCH 2/2] dt-bindings: arm: sti: add sti boards and remove stih415/stih416 Alain Volmat
2023-02-12 16:02   ` Krzysztof Kozlowski
2023-02-12 20:16     ` Alain Volmat
2023-02-12 16:00 ` [PATCH 1/2] dt-bindings: arm: sti: addition of STi platform syscon Krzysztof Kozlowski
2023-02-12 20:09   ` Alain Volmat [this message]
2023-02-12 16:01 ` Krzysztof Kozlowski

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=Y+lHiZRDH9brl3FR@imac101 \
    --to=avolmat@me.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patrice.chotard@foss.st.com \
    --cc=robh+dt@kernel.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