Devicetree
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Shashank Maurya <shashank.maurya@oss.qualcomm.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Florian Fainelli <florian.fainelli@broadcom.com>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	venkata.valluru@oss.qualcomm.com,
	Jessica Zhang <jesszhan0024@gmail.com>
Subject: Re: [PATCH v2 1/2] dt-bindings: regulator: rpi-panel-v2: Add required vcc-supply property
Date: Mon, 7 Sep 2026 18:10:36 +0100	[thread overview]
Message-ID: <20260907-atlantic-modular-8f3c1582635e@spud> (raw)
In-Reply-To: <CAPY8ntCF6e3FZPx0BwZKJimACwdUKwNSP+SPjNUE+1DgQC1=Qg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2243 bytes --]

On Mon, Sep 07, 2026 at 02:24:09PM +0100, Dave Stevenson wrote:
> Hi Shashank
> 
> (Apologies for the earlier HTML version of this - I thought I had my
> mail client under control)
> 
> On Mon, 7 Sept 2026 at 06:48, Shashank Maurya
> <shashank.maurya@oss.qualcomm.com> wrote:
> >
> > Add a vcc-supply property to the Raspberry Pi 7" touchscreen panel V2
> > regulator binding and mark it as required. The panel controller MCU
> > needs an external power rail to be supplied before any I2C communication
> > can take place.
> >
> > Signed-off-by: Shashank Maurya <shashank.maurya@oss.qualcomm.com>
> > ---
> >  .../regulator/raspberrypi,7inch-touchscreen-panel-regulator-v2.yaml  | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/regulator/raspberrypi,7inch-touchscreen-panel-regulator-v2.yaml b/Documentation/devicetree/bindings/regulator/raspberrypi,7inch-touchscreen-panel-regulator-v2.yaml
> > index 37b9ed371b67..a6195e53be16 100644
> > --- a/Documentation/devicetree/bindings/regulator/raspberrypi,7inch-touchscreen-panel-regulator-v2.yaml
> > +++ b/Documentation/devicetree/bindings/regulator/raspberrypi,7inch-touchscreen-panel-regulator-v2.yaml
> > @@ -35,6 +35,9 @@ properties:
> >      const: 3
> >      description: See ../../pwm/pwm.yaml for description of the cell formats.
> >
> > +  vcc-supply:
> > +    description: Regulator supplying power to the panel controller.
> > +
> >  additionalProperties: false
> >
> >  required:
> > @@ -43,6 +46,7 @@ required:
> >    - gpio-controller
> >    - "#gpio-cells"
> >    - "#pwm-cells"
> > +  - vcc-supply
> 
> Adding a new property as "required" breaks all existing users. Adding
> it as optional would be reasonable.

It can be made required here, but never in the driver. If it's actually
required that something turn this on before the device can be used,
making it required is probably correct.

> 
>   Dave
> 
> >
> >  examples:
> >    - |
> > @@ -55,6 +59,7 @@ examples:
> >          gpio-controller;
> >          #gpio-cells = <2>;
> >          #pwm-cells = <3>;
> > +        vcc-supply = <&vcc_reg>;
> >        };
> >      };
> >
> >
> > --
> > 2.34.1
> >
> >

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-09-07 17:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-07  5:46 [PATCH v2 0/2] regulator: rpi-panel-v2: Add required vcc-supply Shashank Maurya
2026-09-07  5:46 ` [PATCH v2 1/2] dt-bindings: regulator: rpi-panel-v2: Add required vcc-supply property Shashank Maurya
2026-09-07  5:55   ` sashiko-bot
2026-09-07 13:24   ` Dave Stevenson
2026-09-07 17:10     ` Conor Dooley [this message]
2026-09-11  5:42       ` Shashank Maurya
2026-09-07  5:46 ` [PATCH v2 2/2] regulator: rpi-panel-v2: Add required vcc-supply support Shashank Maurya
2026-09-07  5:51   ` sashiko-bot
2026-09-07  6:02   ` Marek Vasut
2026-09-07 13:21     ` Dave Stevenson
2026-09-07 17:06   ` Conor Dooley
2026-09-07 17:09     ` Mark Brown
2026-09-07 18:04       ` Conor Dooley
2026-09-11  5:16         ` Shashank Maurya

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=20260907-atlantic-modular-8f3c1582635e@spud \
    --to=conor@kernel.org \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=devicetree@vger.kernel.org \
    --cc=florian.fainelli@broadcom.com \
    --cc=jesszhan0024@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=robh@kernel.org \
    --cc=shashank.maurya@oss.qualcomm.com \
    --cc=venkata.valluru@oss.qualcomm.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