From: "Siratul Islam" <siratul.islam@linux.dev>
To: "Jonathan Cameron" <jonathan.cameron@oss.qualcomm.com>
Cc: "Jorijn van der Graaf" <jorijnvdgraaf@catcrafts.net>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Luca Weiss" <luca.weiss@fairphone.com>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] iio: magnetometer: add support for QST QMC6308
Date: Mon, 20 Jul 2026 06:01:08 +0000 [thread overview]
Message-ID: <e1fe5f3f8445bb104112ffddc592eea9a370c5e6@linux.dev> (raw)
In-Reply-To: <20260720020640.4bdde14e@jic23-huawei>
July 20, 2026 at 7:06 AM, "Jonathan Cameron" <jonathan.cameron@oss.qualcomm.com> wrote:
>
> On Thu, 16 Jul 2026 19:06:51 +0000
> "Siratul Islam" <siratul.islam@linux.dev> wrote:
>
> >
> > July 16, 2026 at 8:18 PM, "Jorijn van der Graaf" wrote:
> >
> > ...
> > > +#define QMC6308_AUTOSUSPEND_DELAY_MS 500
> > > You can call it QMC6308_SLEEP_DELAY_MS to align with other values.
> > >
> > I'd prefer to keep AUTOSUSPEND here: it names the mechanism the value
> > feeds (pm_runtime_set_autosuspend_delay()) and matches yamaha-yas530
> > and ak8974 in this directory.
> >
> > I can find atleast 10 drivers in IIO that uses *_SLEEP_DELAY_MS postfix
> > for autosuspend delay value. So it's not a strong reason not to use it.
> >
> This sort of thing tends to be author preference as both show up.
> AUTOSUSPEND is clearer in purpose so if anything would be my slight
> preference
>
AUTOSUSPEND is a bit more specific, but it's too long and doesn't align
with other #defines. I was suggesting SLEEP because it would align perfectly
with all the other defines and there are existing drivers that use SLEEP.
> >
...
>
--
Best regards,
Sirat
next prev parent reply other threads:[~2026-07-20 6:01 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-14 20:28 [PATCH 0/2] iio: magnetometer: add support for QST QMC6308 Jorijn van der Graaf
2026-07-14 20:28 ` [PATCH 1/2] dt-bindings: iio: magnetometer: add " Jorijn van der Graaf
2026-07-15 18:32 ` Siratul Islam
2026-07-15 20:46 ` Jorijn van der Graaf
2026-07-15 22:16 ` Siratul Islam
2026-07-16 14:18 ` Jorijn van der Graaf
2026-07-20 0:58 ` Jonathan Cameron
2026-07-20 1:09 ` Jonathan Cameron
2026-07-14 20:28 ` [PATCH 2/2] iio: magnetometer: add support for " Jorijn van der Graaf
2026-07-14 20:38 ` sashiko-bot
2026-07-14 21:21 ` Uwe Kleine-König
2026-07-15 20:46 ` Jorijn van der Graaf
2026-07-20 1:00 ` Jonathan Cameron
2026-07-16 9:52 ` Siratul Islam
2026-07-16 10:11 ` Siratul Islam
2026-07-16 14:18 ` Jorijn van der Graaf
2026-07-16 14:45 ` Siratul Islam
2026-07-16 19:06 ` Siratul Islam
2026-07-20 1:06 ` Jonathan Cameron
2026-07-20 6:01 ` Siratul Islam [this message]
2026-07-20 1:38 ` Jonathan Cameron
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=e1fe5f3f8445bb104112ffddc592eea9a370c5e6@linux.dev \
--to=siratul.islam@linux.dev \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jonathan.cameron@oss.qualcomm.com \
--cc=jorijnvdgraaf@catcrafts.net \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.weiss@fairphone.com \
--cc=nuno.sa@analog.com \
--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