[v2,0/5] Support more parts in LTC2983

Message ID 20221020090257.1717053-1-demonsingur@gmail.com
Headers
Series Support more parts in LTC2983 |

Message

Cosmin Tanislav Oct. 20, 2022, 9:02 a.m. UTC
  Add support for the following parts:
 * LTC2984
 * LTC2986
 * LTM2985

The LTC2984 is a variant of the LTC2983 with EEPROM.
The LTC2986 is a variant of the LTC2983 with only 10 channels,
EEPROM and support for active analog temperature sensors.
The LTM2985 is software-compatible with the LTC2986.

Also, remove excessive allocations on resume.

V1 -> V2:
 * add Fixes tag
 * add patch that fixes the regmap_bulk_write() call with stack allocated
   buffer
 * add patch that refines the binding in preperation for adding new
   parts support to it
 * do not use stack allocated buffer for writing the EEPROM key

Cosmin Tanislav (5):
  iio: temperature: ltc2983: allocate iio channels once
  iio: temperature: ltc2983: make bulk write buffer DMA-safe
  dt-bindings: iio: temperature: ltc2983: refine
  dt-bindings: iio: temperature: ltc2983: support more parts
  iio: temperature: ltc2983: support more parts

 .../bindings/iio/temperature/adi,ltc2983.yaml | 378 ++++++++++++------
 drivers/iio/temperature/ltc2983.c             | 206 +++++++++-
 2 files changed, 434 insertions(+), 150 deletions(-)