From: Jonathan Cameron <jic23@kernel.org>
To: Conor Dooley <conor@kernel.org>
Cc: Javier Carrasco <javier.carrasco.cruz@gmail.com>,
Lars-Peter Clausen <lars@metafoo.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: iio: light: vishay,veml6075: make vdd-supply required
Date: Sat, 24 Feb 2024 19:18:43 +0000 [thread overview]
Message-ID: <20240224191843.61796617@jic23-huawei> (raw)
In-Reply-To: <20240223-niece-shakily-7e18b90f30e7@spud>
On Fri, 23 Feb 2024 18:34:39 +0000
Conor Dooley <conor@kernel.org> wrote:
> On Fri, Feb 23, 2024 at 02:01:33PM +0100, Javier Carrasco wrote:
> > The VEML6075 requires a single supply to operate. The property already
> > exists in the bindings and it is used in the example, but it is still
> > not on the list of required properties.
> >
> > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> > ---
> > The driver and bindings for the VEML6075 UV sensor were merged in the
> > merge window for v6.8 i.e. they have not been released yet beyond rc.
> >
> > Applying this patch as a fix now would avoid an ABI break like the
> > recently discussed here:
> >
> > https://lore.kernel.org/linux-iio/8409a5bc71b995e3b738b817a074cfb131c3b2b5.camel@gmail.com/
> >
> > On the other hand, from the same discussion it can be concluded that the
> > major risk would be a potential warning with dtbs_check, in case this
> > patch is applied during the next merge window.
>
> I don't care if it introduces a dtbs_check problem, we can fix those.
> The device clearly needs power and at least for linux it being missing
> gets handled perfectly fine. I think it's pretty reasonable to do this.
>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
>
Applied to the togreg branch of iio.git and pushed out as testing.
Jonathan
> Cheers,
> Conor.
>
> >
> > The VEML6075 driver already handles the power supply with
> > devm_regulator_get_enable().
> > ---
> > Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml b/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml
> > index abee04cd126e..91c318746bf3 100644
> > --- a/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml
> > +++ b/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml
> > @@ -21,6 +21,7 @@ properties:
> > required:
> > - compatible
> > - reg
> > + - vdd-supply
> >
> > additionalProperties: false
> >
> >
> > ---
> > base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
> > change-id: 20240223-veml6075_vdd-e2220158ffda
> >
> > Best regards,
> > --
> > Javier Carrasco <javier.carrasco.cruz@gmail.com>
> >
prev parent reply other threads:[~2024-02-24 19:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 13:01 [PATCH] dt-bindings: iio: light: vishay,veml6075: make vdd-supply required Javier Carrasco
2024-02-23 18:34 ` Conor Dooley
2024-02-24 19:18 ` Jonathan Cameron [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=20240224191843.61796617@jic23-huawei \
--to=jic23@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=javier.carrasco.cruz@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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