From: Jonathan Cameron <jic23@kernel.org>
To: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: "Gerard Marull-Paretas" <gerard@teslabs.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Frank Li" <Frank.li@nxp.com>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 4/4] iio: magnetometer: mmc5633: Add mount matrix support
Date: Sat, 28 Nov 2026 20:12:34 +0000 [thread overview]
Message-ID: <20261128201234.17b2a178@jic23-hlaptop> (raw)
In-Reply-To: <awVpcYkY-qXwn6bi@ashevche-desk.local>
On Tue, 24 Nov 2026 12:39:45 +0200
Andy Shevchenko <andriy.shevchenko@intel.com> wrote:
> On Tue, Nov 24, 2026 at 10:46:32AM +0100, Gerard Marull-Paretas wrote:
> > Read the mount matrix from the firmware and expose it, so that user
> > space can account for how the sensor is oriented on the board.
>
> ...
>
> > fsleep(MMC5633_POWER_ON_US);
> >
> > + ret = iio_read_mount_matrix(dev, &data->orientation);
> > + if (ret)
> > + return dev_err_probe(dev, ret, "Failed to read mount matrix\n");
>
> Thinking about this more, maybe slightly better to check it before touching
> the regulators? No need to resend until specifically asked, let's wait what
> Jonathan says about this.
>
It is only going to fail if we have corrupted DT so I don't think it really matters
much. It is always nice to get failure cases out of the way if we can detect
them early though so if respinning move it up as Andy suggests - otherwise don't
bother.
This series looks fine to me. I'm just waiting on a dt review.
Jonathan
next prev parent reply other threads:[~2026-11-28 20:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 9:46 [PATCH v5 0/4] iio: magnetometer: mmc5633: Binding, supply and mount matrix Gerard Marull-Paretas
2026-11-24 9:46 ` [PATCH v5 1/4] dt-bindings: iio: magnetometer: Add MEMSIC MMC5603 and MMC5633 Gerard Marull-Paretas
2026-11-24 9:46 ` [PATCH v5 2/4] iio: magnetometer: mmc5633: Reference the datasheet for the SET/RESET wait Gerard Marull-Paretas
2026-11-24 9:46 ` [PATCH v5 3/4] iio: magnetometer: mmc5633: Enable the VDD supply Gerard Marull-Paretas
2026-11-24 10:22 ` Andy Shevchenko
2026-11-24 9:46 ` [PATCH v5 4/4] iio: magnetometer: mmc5633: Add mount matrix support Gerard Marull-Paretas
2026-11-24 10:39 ` Andy Shevchenko
2026-11-28 20:12 ` Jonathan Cameron [this message]
2026-11-24 10:04 ` [PATCH v5 0/4] iio: magnetometer: mmc5633: Binding, supply and mount matrix Joshua Crofts
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=20261128201234.17b2a178@jic23-hlaptop \
--to=jic23@kernel.org \
--cc=Frank.li@nxp.com \
--cc=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=gerard@teslabs.com \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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