Skip to content

iio: magnetometer: mmc5633: Binding, supply and mount matrix

Gerard Marull-Paretas linux-devicetree linux-iio lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- 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)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: iio: magnetometer: Add MEMSIC MMC5603 and MMC5633Documentation/devicetree/bindings/iio/magnetometer/memsic,mmc5633.yaml Documentation/devicetree/bindings/trivial-devices.yaml+61 -40 replies
2/3iio: magnetometer: mmc5633: Enable the VDD supplydrivers/iio/magnetometer/mmc5633.c+8 -02 replies
3/3iio: magnetometer: mmc5633: Add mount matrix supportdrivers/iio/magnetometer/mmc5633.c+20 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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/[email protected]/

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

Signature · 1 line
2.45.2