All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Ninad Palsule <ninad@linux.ibm.com>,
	minyard@acm.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
	kuba@kernel.org, pabeni@redhat.com,
	openipmi-developer@lists.sourceforge.net, netdev@vger.kernel.org,
	joel@jms.id.au, andrew@codeconstruct.com.au,
	devicetree@vger.kernel.org, eajames@linux.ibm.com,
	linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
Date: Wed, 15 Jan 2025 08:24:57 -0600	[thread overview]
Message-ID: <20250115142457.GA3859772-robh@kernel.org> (raw)
In-Reply-To: <mbtwdqpalfr2xkhnjc5c5jcjk4w5brrxmgfeydjj5j2jfze4mj@smyyogplpxss>

On Wed, Jan 15, 2025 at 09:45:50AM +0100, Krzysztof Kozlowski wrote:
> On Tue, Jan 14, 2025 at 04:01:37PM -0600, Ninad Palsule wrote:
> > Allow parsing GPIO controller children nodes with GPIO hogs.
> > 
> > Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
> > ---
> >  .../devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml       | 6 ++++++
> >  1 file changed, 6 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
> > index b9afd07a9d24..b9bc4fe4d5a6 100644
> > --- a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
> > +++ b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
> > @@ -46,6 +46,12 @@ properties:
> >      minimum: 12
> >      maximum: 232
> >  
> > +patternProperties:
> > +  "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
> 
> Choose one - suffix or prefix. More popular is suffix.

I was about to say that, but this matches what gpio-hog.yaml defines. 
Why we did both, I don't remember. We could probably eliminate 
'hog-[0-9]+' as that doesn't appear to be used much.

Long term, I want to make all gpio controllers reference a gpio 
controller schema and put the hog stuff there. Then we have the node 
names defined in 1 place.

Rob


  reply	other threads:[~2025-01-15 14:25 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 01/10] dt-bindings: net: faraday,ftgmac100: Add phys mode Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 02/10] bindings: ipmi: Add binding for IPMB device intf Ninad Palsule
2025-01-14 23:57   ` Rob Herring (Arm)
2025-01-14 22:01 ` [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing Ninad Palsule
2025-01-14 23:57   ` Rob Herring (Arm)
2025-01-16 15:04     ` Ninad Palsule
2025-01-16 19:57       ` Rob Herring
2025-01-16 20:37         ` Ninad Palsule
2025-01-15  8:45   ` Krzysztof Kozlowski
2025-01-15 14:24     ` Rob Herring [this message]
2025-01-15 20:30       ` Krzysztof Kozlowski
2025-01-15 21:53       ` Ninad Palsule
2025-01-16 10:38         ` Krzysztof Kozlowski
2025-01-16 14:19           ` Ninad Palsule
2025-01-16 14:48             ` Rob Herring
2025-01-16 15:10       ` Ninad Palsule
2025-01-16 15:09     ` Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 04/10] ARM: dts: aspeed: system1: Add IPMB device Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 05/10] ARM: dts: aspeed: system1: Add GPIO line name Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 06/10] ARM: dts: aspeed: system1: Reduce sgpio speed Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 07/10] ARM: dts: aspeed: system1: Update LED gpio name Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 08/10] ARM: dts: aspeed: system1: Remove VRs max8952 Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 09/10] ARM: dts: aspeed: system1: Mark GPIO line high/low Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 10/10] ARM: dts: aspeed: system1: Disable gpio pull down Ninad Palsule
2025-01-15  1:40 ` [PATCH v5 00/10] DTS updates for system1 BMC Rob Herring (Arm)
2025-01-16 15:15   ` Ninad Palsule
  -- strict thread matches above, loose matches on Subject: below --
2025-01-18  1:02 [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing kernel test robot

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=20250115142457.GA3859772-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@codeconstruct.com.au \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=eajames@linux.ibm.com \
    --cc=edumazet@google.com \
    --cc=joel@jms.id.au \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=minyard@acm.org \
    --cc=netdev@vger.kernel.org \
    --cc=ninad@linux.ibm.com \
    --cc=openipmi-developer@lists.sourceforge.net \
    --cc=pabeni@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.