From: Brajesh Patil <brajeshpatil11@gmail.com>
To: jic23@kernel.org
Cc: linux-iio@vger.kernel.org, marcelo.schmitt1@gmail.com
Subject: Adding support for QMC5883L magnetometer to IIO subsystem
Date: Tue, 8 Apr 2025 19:43:24 +0530 [thread overview]
Message-ID: <Z_UvBIsQ4rdIYTN8@brajesh-IdeaPad-3-15IAU7> (raw)
I have a QMC5883L magnetometer module that I’ve been trying to integrate with my
Raspberry Pi using a kernel-space driver. While checking the mainline kernel, I
found that there is a driver for the HMC5883L (under the hmc5843 driver), but nothing
for QMC5883L.
I compared the datasheets for both devices and confirmed that they are not
register-compatible — the QMC5883L has a different I2C address and an entirely different
register map from the HMC5883L.
Given that this sensor is widely used (often as a drop-in replacement for the
now-discontinued HMC5883L), I was thinking of writing a new driver for it under the IIO
subsystem.
Would it make sense to move forward with this? If so, I’d appreciate any guidance or
suggestions from the community.
Thanks,
Brajesh
next reply other threads:[~2025-04-08 14:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-08 14:13 Brajesh Patil [this message]
2025-04-10 15:10 ` Adding support for QMC5883L magnetometer to IIO subsystem David Lechner
[not found] ` <CALJe6R3YfhdLKDVBZ=NgO+m64wHHqvFf5tt1T-2pWnr29wE94Q@mail.gmail.com>
2025-04-11 21:34 ` David Lechner
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=Z_UvBIsQ4rdIYTN8@brajesh-IdeaPad-3-15IAU7 \
--to=brajeshpatil11@gmail.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=marcelo.schmitt1@gmail.com \
/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