From: Jonathan Cameron <jic23@kernel.org>
To: "Tóth János" <gomba007@gmail.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: iio: chemical: Document SEN0322
Date: Mon, 5 May 2025 14:23:40 +0100 [thread overview]
Message-ID: <20250505142340.3c74eb23@jic23-huawei> (raw)
In-Reply-To: <vz5ndf6mojowehi5b6cz6ljsknnatxg6iomghndbt2ffdld3iu@nywmhejv6oge>
On Mon, 5 May 2025 08:32:02 +0200
Tóth János <gomba007@gmail.com> wrote:
> Hi!
>
> > > > No other properties like supplies or configuration? If so, this could go
> > > > to trivial-devices.
> > >
> > > I don't think so, I'll add it as a trivial-device then.
> >
> > vcc-supply?
>
> It has no switchable VCC supply.
Your board may have no switchable vcc-supply. In general someone else's
board with this part in use may well have a switchable vcc-supply.
Ideally the DT binding should support that and the driver should just
turn it on at probe. A stub / fake regulator will be provided by
the regulator core so there is no need for special handling of boards
that don't have switchable vcc-supply - they will just work.
Jonathan
>
> Regards,
> János
>
next prev parent reply other threads:[~2025-05-05 13:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-28 10:50 [PATCH 0/2] Add support for the DFRobot SEN0322 oxygen sensor Tóth János via B4 Relay
2025-04-28 10:50 ` [PATCH 1/2] dt-bindings: iio: chemical: Document SEN0322 Tóth János via B4 Relay
2025-04-28 14:30 ` Krzysztof Kozlowski
2025-04-28 14:45 ` Tóth János
2025-05-04 18:27 ` Jonathan Cameron
2025-05-05 6:32 ` Tóth János
2025-05-05 13:23 ` Jonathan Cameron [this message]
2025-04-28 10:50 ` [PATCH 2/2] iio: chemical: Add driver for SEN0322 Tóth János via B4 Relay
2025-05-04 18:40 ` Jonathan Cameron
2025-05-05 6:22 ` Tóth János
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=20250505142340.3c74eb23@jic23-huawei \
--to=jic23@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gomba007@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@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