public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Vasileios Amoiridis <vassilisamir@gmail.com>
To: Rob Herring <robh@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
	Jonathan Cameron <jic23@kernel.org>,
	lars@metafoo.de, krzk+dt@kernel.org, conor+dt@kernel.org,
	andriy.shevchenko@linux.intel.com, anshulusr@gmail.com,
	gustavograzs@gmail.com, linux-iio@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 5/7] dt-bindings: iio: bosch,bme680: Add supply properties
Date: Mon, 11 Nov 2024 19:48:48 +0100	[thread overview]
Message-ID: <ZzJRkCJcbCFSMcat@vamoirid-laptop> (raw)
In-Reply-To: <20241104161033.GA228709-robh@kernel.org>

On Mon, Nov 04, 2024 at 10:10:33AM -0600, Rob Herring wrote:
> On Sun, Nov 03, 2024 at 10:46:46AM +0100, Krzysztof Kozlowski wrote:
> > On Sat, Nov 02, 2024 at 03:33:15PM +0000, Jonathan Cameron wrote:
> > > On Sat,  2 Nov 2024 14:13:09 +0100
> > > Vasileios Amoiridis <vassilisamir@gmail.com> wrote:
> > > 
> > > > Extend dt-binding for BME680 gas sensor device. The device incorporates
> > > > as well temperature, pressure and relative humidity sensors.
> > > This description should make it clear it is moving from trivial-devices.yaml
> > > 
> > > dt-bindings: iio: bosch,bme680: Move from trivial-bindings and add missing supplies.
> > > 
> > > Then say a little more on why you are moving it.
> > > 
> > > > 
> > > > Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
> > > 
> > > There was an open question on the previous version about
> > > setting the supplies as required (which I see you've removed).
> > > My understanding previously was that it is fine to make that change
> > > in a binding if it reflects supplies that are required to be enabled
> > > for the device to function at all.  If there were previously missing
> > > that's a binding bug we should fix.
> > > 
> > > I'd like a clarification from the DT binding maintainers on that.
> > > Obviously doesn't work for other users of dt bindings but in
> > > Linux this would be fine as they were already on for any board
> > > that worked and the regulator framework will through us a fake
> > > regulator for cases like this.
> > > 
> > > https://lore.kernel.org/all/20241022182451.00007ac0@Huawei.com/
> > > 
> > > Jonathan
> > 
> > That was Rob's objection so I will leave it to him, but putting my two
> > cents in for Linux it is not an ABI break because missing regulator
> > supplies are substituted with dummy ones. Unless something changed...
> 
> Shrug. I don't think we're entirely consistent on this. If we're saying 
> supplies are always required, then every device in trivial-devices.yaml 
> is wrong. Since Linux handles them missing, you can also argue that 
> supplies are never required.
> 
> I'd prefer not to special case regulators as an exception I have to 
> remember. I have some rudimentary ABI checking I'm working on that 
> checks for things like new required properties. Though it wouldn't catch 
> this particular change given it moves the schema.
> 
> Rob

Hi Jonathan,

According to Rob's answer, do you think that we can move on with the
last 3 patches as they are or do you want some changes?

Cheers,
Vasilis

  reply	other threads:[~2024-11-11 18:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-02 13:13 [PATCH v3 0/7]: iio: chemical: bme680: 2nd round of cleanup Vasileios Amoiridis
2024-11-02 13:13 ` [PATCH v3 1/7] iio: chemical: bme680: refactorize set_mode() mode Vasileios Amoiridis
2024-11-02 15:21   ` Jonathan Cameron
2024-11-02 13:13 ` [PATCH v3 2/7] iio: chemical: bme680: Add SCALE and RAW channels Vasileios Amoiridis
2024-11-02 15:21   ` Jonathan Cameron
2024-11-02 13:13 ` [PATCH v3 3/7] iio: chemical: bme680: Add triggered buffer support Vasileios Amoiridis
2024-11-02 15:24   ` Jonathan Cameron
2024-11-02 13:13 ` [PATCH v3 4/7] iio: chemical: bme680: Add support for preheat current Vasileios Amoiridis
2024-11-02 15:26   ` Jonathan Cameron
2024-11-02 13:13 ` [PATCH v3 5/7] dt-bindings: iio: bosch,bme680: Add supply properties Vasileios Amoiridis
2024-11-02 15:33   ` Jonathan Cameron
2024-11-03  9:46     ` Krzysztof Kozlowski
2024-11-04 16:10       ` Rob Herring
2024-11-11 18:48         ` Vasileios Amoiridis [this message]
2024-11-19 14:04           ` Rob Herring
2024-11-02 13:13 ` [PATCH v3 6/7] iio: chemical: bme680: add regulators Vasileios Amoiridis
2024-11-02 13:13 ` [PATCH v3 7/7] iio: chemical: bme680: add power management Vasileios Amoiridis
2024-11-02 15:35   ` Jonathan Cameron
2024-11-03 14:57     ` Vasileios Amoiridis

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=ZzJRkCJcbCFSMcat@vamoirid-laptop \
    --to=vassilisamir@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=anshulusr@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gustavograzs@gmail.com \
    --cc=jic23@kernel.org \
    --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