linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/5] iio: mcp9600: Implement IIR feature and add iio core support
@ 2025-08-26  0:10 Ben Collins
  2025-08-26  0:10 ` [PATCH v7 1/5] iio: core: Add IIO_VAL_EMPTY type Ben Collins
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Ben Collins @ 2025-08-26  0:10 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Antoniu Miclaus, Lars-Peter Clausen, Michael Hennerich
  Cc: linux-iio, linux-kernel, Ben Collins

ChangeLog:
v6 -> v7:
  - Remove extra space before trailing \
  - Don't add extra white-space
  - Remove mcp9600_write_raw_get_fmt
  - Separate out the mcp9600 IIR series into its own series as there is
    a lot of conversation around implementation.
  - Add rework of ad4080 to match filter_type "none" logic

v5 -> v6:
  - Cleanup tabs that were converted to spaces

v4 -> v5:
  - Missed a one line fix to IIR patch (5/5)

v3 -> v4:
  - Based on lots of feedback, use frequency values for IIR, and use
    filter_type[none, ema] to enable or disable.

v2 -> v3:
  - Improve changelogs in each patch
  - Based on feedback from Andy Shevchenko <andy.shevchenko@gmail.com>
    * Fix typos
    * FIELD_PREP -> FIELD_MODIFY
    * Remove explicit setting of 0 value in filter_level
  - Based on feedback from David Lechner <dlechner@baylibre.com>
    * Rework IIR values exposed to sysfs. Using the ratios, there was no
      way to represent "disabled" (i.e. infinity). Based on the bmp280
      driver I went with using the power coefficients (e.g. 1, 2, 4, 8,
      ...) where 1 is disabled (n=0).

v1 -> v2:
  - Break into individual patches

v1:
  - Initial patch to enable IIR and thermocouple-type
  - Recognize mcp9601

Signed-off-by: Ben Collins <bcollins@kernel.org>
---
Ben Collins (5):
      iio: core: Add IIO_VAL_EMPTY type
      ABI: sysfs-bus-iio: Disambiguate usage for filter_type "none"
      ABI: sysfs-bus-iio: Document "ema" filter_type
      iio: mcp9600: Add support for IIR filter
      iio: ad4080: Rework filter_type "none" logic

 Documentation/ABI/testing/sysfs-bus-iio |   8 +-
 drivers/iio/adc/ad4080.c                |  23 +++--
 drivers/iio/industrialio-core.c         |   1 +
 drivers/iio/temperature/mcp9600.c       | 147 ++++++++++++++++++++++++++++++++
 include/linux/iio/types.h               |   1 +
 5 files changed, 166 insertions(+), 14 deletions(-)
---
base-commit: c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
change-id: 20250819-mcp9600-iir-8f7ff1ad0804
prerequisite-change-id: 20250819-upstream-changes-c89af86743fa:v8
prerequisite-patch-id: 92882274615d59f2e89c189ce0859297fca88772
prerequisite-patch-id: d2c1fd9da2dee3ad5dc240f34cc108d02980a4c5
prerequisite-patch-id: 72368205aaa96b053ba78ffe6548d0895e039753
prerequisite-patch-id: 98a8a8ee92fc0a9836975d5b216d41702860019a
prerequisite-patch-id: c24cb6dd5b2b385c00bffdbf1f7a61e4d1532f49

Best regards,
-- 
Ben Collins <bcollins@kernel.org>


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

end of thread, other threads:[~2025-08-31 15:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-26  0:10 [PATCH v7 0/5] iio: mcp9600: Implement IIR feature and add iio core support Ben Collins
2025-08-26  0:10 ` [PATCH v7 1/5] iio: core: Add IIO_VAL_EMPTY type Ben Collins
2025-08-26 17:00   ` David Lechner
2025-08-26 18:52     ` Ben Collins
2025-08-31 15:19       ` Jonathan Cameron
2025-08-26  0:10 ` [PATCH v7 2/5] ABI: sysfs-bus-iio: Disambiguate usage for filter_type "none" Ben Collins
2025-08-26  0:10 ` [PATCH v7 3/5] ABI: sysfs-bus-iio: Document "ema" filter_type Ben Collins
2025-08-26  0:10 ` [PATCH v7 4/5] iio: mcp9600: Add support for IIR filter Ben Collins
2025-08-26 17:20   ` David Lechner
2025-08-26 19:08     ` Ben Collins
2025-08-26  0:10 ` [PATCH v7 5/5] iio: ad4080: Rework filter_type "none" logic Ben Collins
2025-08-26 16:51   ` David Lechner
2025-08-26 19:11     ` Ben Collins
2025-08-31 15:25       ` Jonathan Cameron
2025-08-26  8:14 ` [PATCH v7 0/5] iio: mcp9600: Implement IIR feature and add iio core support Andy Shevchenko
2025-08-26  9:38   ` Ben Collins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).