| From: |
| Jakob Hauser <jahau-AT-rocketmail.com> |
| To: |
| Jonathan Cameron <jic23-AT-kernel.org> |
| Subject: |
| [PATCH 0/7] Add support for magnetometer Yamaha YAS537 |
| Date: |
| Thu, 09 Jun 2022 01:36:18 +0200 |
| Message-ID: |
| <cover.1654727058.git.jahau@rocketmail.com> |
| Cc: |
| Lars-Peter Clausen <lars-AT-metafoo.de>, Linus Walleij <linus.walleij-AT-linaro.org>, linux-iio-AT-vger.kernel.org, phone-devel-AT-vger.kernel.org, ~postmarketos/upstreaming-AT-lists.sr.ht, Jakob Hauser <jahau-AT-rocketmail.com> |
| Archive-link: |
| Article |
This patchset adds YAS537 variant to the already existing driver for
Yamaha YAS magnetometers.
Patches 1-4 applies corrections that popped up when working on this.
Patches 5-6 are preparations for adding YAS537.
Patch 7 finally adds the YAS537 variant.
Jakob Hauser (7):
iio: magnetometer: yas530: Change range of data in volatile register
iio: magnetometer: yas530: Correct scaling of magnetic axes
iio: magnetometer: yas530: Correct temperature handling
iio: magnetometer: yas530: Change data type of hard_offsets to signed
iio: magnetometer: yas530: Change data type of calibration
coefficients
iio: magnetometer: yas530: Remove redundant defaults on switch devid
iio: magnetometer: yas530: Add YAS537 variant
drivers/iio/magnetometer/Kconfig | 4 +-
drivers/iio/magnetometer/yamaha-yas530.c | 814 +++++++++++++++++++----
2 files changed, 698 insertions(+), 120 deletions(-)
--
2.35.1