[PATCH v2 0/3] iio: magnetometer: mmc5633: Binding, supply and mount matrix

Gerard Marull-Paretas posted 3 patches 1 day, 16 hours ago
There is a newer version of this series
.../iio/magnetometer/memsic,mmc5633.yaml      | 61 +++++++++++++++++++
.../devicetree/bindings/trivial-devices.yaml  |  4 --
drivers/iio/magnetometer/mmc5633.c            | 28 +++++++++
3 files changed, 89 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/memsic,mmc5633.yaml
[PATCH v2 0/3] iio: magnetometer: mmc5633: Binding, supply and mount matrix
Posted by Gerard Marull-Paretas 1 day, 16 hours ago
The MMC5603 and MMC5633 are listed in trivial-devices.yaml, but boards
need to describe their supply and orientation. Patch 1 gives them a
binding of their own. These bindings are also used by PebbleOS, which
is where the need came from.

Patches 2 and 3 add the matching support to the driver. I have no board
running Linux with these sensors, so they are only compile tested (W=1);
feel free to take only patch 1 if you prefer.

Changes in v2:
- Cover the MMC5633 too, including its I3C connection (Jonathan)
- Add supply and mount matrix support to the driver (Jonathan)
- Drop the mention of the missing I/O supply (Jonathan)

v1: https://lore.kernel.org/all/20261122093412.71604-1-gerard@teslabs.com/

Gerard Marull-Paretas (3):
  dt-bindings: iio: magnetometer: Add MEMSIC MMC5603 and MMC5633
  iio: magnetometer: mmc5633: Enable the VDD supply
  iio: magnetometer: mmc5633: Add mount matrix support

 .../iio/magnetometer/memsic,mmc5633.yaml      | 61 +++++++++++++++++++
 .../devicetree/bindings/trivial-devices.yaml  |  4 --
 drivers/iio/magnetometer/mmc5633.c            | 28 +++++++++
 3 files changed, 89 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/memsic,mmc5633.yaml


base-commit: c44104f3642da720164042623e4832836aefdd8e
-- 
2.45.2