public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] iio: magnetometer: Add QMC5883L driver support
@ 2025-05-08 12:08 Brajesh Patil
  2025-05-08 15:26 ` David Lechner
  2025-05-11 15:16 ` Jonathan Cameron
  0 siblings, 2 replies; 3+ messages in thread
From: Brajesh Patil @ 2025-05-08 12:08 UTC (permalink / raw)
  To: jic23, lars, robh, krzk+dt, conor+dt
  Cc: devicetree, linux-kernel, linux-iio, marcelo.schmitt1, dlechner,
	Brajesh Patil

This series introduces support for the QST QMC5883L 3-axis magnetometer,
a magnetic sensor with I2C interface.

The implementation follows standard IIO conventions and includes:

Patch 1/5: dt-bindings: vendor-prefixes
- Adds 'qst' prefix for QST Corporation

Patch 2/5: dt-bindings: iio: magnetometer - Adds QMC5883L bindings
- Adds compatible string and required properties
- Includes example device tree node

Patch 3/5: iio: magnetometer - Base driver implementation
- Basic register access via regmap
- X/Y/Z axis and temperature readings
- Triggered buffer support
- Initialization and core functionality

Patch 4/5: Extended sysfs attributes and configuration
- ODR (10-200Hz) and FSR (±2G/±8G) control
- Mode selection (standby/continuous)
- Oversampling ratio configuration (512-64)
- Status monitoring (DRDY/OVL flags)
- Available scale and sampling frequency attributes

Patch 5/5: Advanced features and power management
- Mount matrix support for orientation compensation
- Power management (suspend/resume)
- Control register features (soft reset, pointer rollover)

The driver has been tested on a Raspberry Pi 5 and all features have been verified.

Signed-off-by: Brajesh Patil <brajeshpatil11@gmail.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-11 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-08 12:08 [PATCH v2 0/5] iio: magnetometer: Add QMC5883L driver support Brajesh Patil
2025-05-08 15:26 ` David Lechner
2025-05-11 15:16 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox