mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/6] iio: potentiometer: mcp4018: Add Analog Devices AD5246
@ 2026-11-25 20:22 Joseph Telaak
  2026-11-25 20:22 ` [PATCH v2 1/6] iio: ABI: Move out_resistance_raw_available to sysfs-bus-iio Joseph Telaak
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Joseph Telaak @ 2026-11-25 20:22 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá,
	Andy Shevchenko, Peter Rosin, Michael Hennerich, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Joseph Telaak
  Cc: linux-iio, linux-kernel, linux, devicetree, Conor Dooley

The AD5246 is a 128-position I2C rheostat that speaks the MCP4017/18/19
protocol. This series adds it to the mcp4018 driver, so it can be an IIO
channel provider for an in-kernel consumer.

Patch 1 moves the out_resistance*_raw_available ABI to the generic file,
patch 2 reports the wiper range, patch 3 adds the binding, patch 4 turns
on the vdd supply, patch 5 moves the scale divisor into the per-part
config, and patch 6 adds the parts.

---
Changes in v2:
- 1/6: keep the moved entry's Date: line (Andy).
- 2/6: include <linux/array_size.h> and <linux/bits.h> (Andy).
- 3/6: rename the binding to adi,ad5246-005.yaml and say in the commit
  message why there is no fallback (Conor).
- 4/6: include <linux/dev_printk.h> (Andy).
- 5/6: new, split out of v1 5/5: the scale divisor, now unsigned, moves
  into the per-part config (Andy).
- 6/6: name the driver for the MCP4018 and compatible parts, list-style
  Kconfig help, AD5246 sorted first (Andy).
- Link to v1: https://patch.msgid.link/20261116-iio-ad5246-v1-0-ef6b7c06d4b0@telaak.dev

---
Joseph Telaak (6):
      iio: ABI: Move out_resistance_raw_available to sysfs-bus-iio
      iio: potentiometer: mcp4018: Report the available wiper positions
      dt-bindings: iio: potentiometer: Add Analog Devices AD5246
      iio: potentiometer: mcp4018: Turn on the vdd supply
      iio: potentiometer: mcp4018: Move the scale divisor into the per-part config
      iio: potentiometer: mcp4018: Add Analog Devices AD5246

 Documentation/ABI/testing/sysfs-bus-iio            | 10 ++++
 .../testing/sysfs-bus-iio-potentiometer-mcp4531    |  8 ---
 .../bindings/iio/potentiometer/adi,ad5246-005.yaml | 54 ++++++++++++++++++
 MAINTAINERS                                        |  2 +-
 drivers/iio/potentiometer/Kconfig                  | 10 ++--
 drivers/iio/potentiometer/mcp4018.c                | 65 +++++++++++++++++++---
 6 files changed, 129 insertions(+), 20 deletions(-)
---
base-commit: f2cbef9101b9fc979a324bb1242b8b802a2484b6
change-id: 20261116-iio-ad5246-8d4377128747

Best regards,
--  
Joseph Telaak <joseph@telaak.dev>


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

end of thread, other threads:[~2026-11-26  1:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 20:22 [PATCH v2 0/6] iio: potentiometer: mcp4018: Add Analog Devices AD5246 Joseph Telaak
2026-11-25 20:22 ` [PATCH v2 1/6] iio: ABI: Move out_resistance_raw_available to sysfs-bus-iio Joseph Telaak
2026-11-25 23:37   ` Jonathan Cameron
2026-11-25 20:22 ` [PATCH v2 2/6] iio: potentiometer: mcp4018: Report the available wiper positions Joseph Telaak
2026-11-25 20:22 ` [PATCH v2 3/6] dt-bindings: iio: potentiometer: Add Analog Devices AD5246 Joseph Telaak
2026-11-25 20:22 ` [PATCH v2 4/6] iio: potentiometer: mcp4018: Turn on the vdd supply Joseph Telaak
2026-11-25 20:22 ` [PATCH v2 5/6] iio: potentiometer: mcp4018: Move the scale divisor into the per-part config Joseph Telaak
2026-11-25 20:22 ` [PATCH v2 6/6] iio: potentiometer: mcp4018: Add Analog Devices AD5246 Joseph Telaak
2026-11-25 23:46   ` Jonathan Cameron
2026-11-26  1:29 ` [PATCH v2 0/6] " Jonathan Cameron

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

all inboxes | Powered by JetHome®