mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Gerard Marull-Paretas <gerard@teslabs.com>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
	"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: Tue, 24 Nov 2026 12:39:45 +0200	[thread overview]
Message-ID: <awVpcYkY-qXwn6bi@ashevche-desk.local> (raw)
In-Reply-To: <20261124094632.8879-5-gerard@teslabs.com>

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.

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2026-11-24 10:39 UTC|newest]

Thread overview: 8+ 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 [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=awVpcYkY-qXwn6bi@ashevche-desk.local \
    --to=andriy.shevchenko@intel.com \
    --cc=Frank.li@nxp.com \
    --cc=andy@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=gerard@teslabs.com \
    --cc=jic23@kernel.org \
    --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

all inboxes | Powered by JetHome®