Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v4 0/9] iio: ad3552r-hs: add support for ad3541/42r
@ 2025-01-14 15:30 Angelo Dureghello
  2025-01-14 15:30 ` [PATCH v4 1/9] iio: dac: ad3552r-common: fix ad3541/2r ranges Angelo Dureghello
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Angelo Dureghello @ 2025-01-14 15:30 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	David Lechner, Nuno Sa
  Cc: Jonathan Cameron, linux-iio, linux-kernel, Angelo Dureghello

This patchset add support for ad3541/42r, 16MUPS, respectively
single and dual channel DACs, together with some minor fixes.

The ad354xr connect through a DSPI bus (while ad355xr through
QSPI), so a new fpga HDL supporting bus mode switch has been
developed to support them.

Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
---
Changes in v2:
- reproposing the patchset using platform data for bus mode
  change functionality,
- improve commit messages,
- add separate patch for instruction mode,
- add separate patch for sharing model data structures,
- remove error on wrong id,
- fix id detection info message in case of wrong id.

Changes in v3:
- improve commit messages,
- removed some not useful dev_err, 
- comment syntax fixes,
- add lock guards for bus mode change,
- remove externs for range tables.

Changes in v4:
- keep in still patch 1 and 2/9, that was already picked up, in particular
  the patch 1/9 is the same as in v2, the 2/9 has a minimal change:
  removed dev_err() message, so can be eventually be re-picked up,
- fix commit messages,
- add mode validation in axi_dac_bus_set_io_mode,
- use dev_warn() on wrong chip ID,
- fix instruction mode patch to unwrap properly on error.
- rename ad3552r_update_reg_bits to ad3552r_hs_update_reg_bits,
  to respect module name in the function name.

Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>

---
Angelo Dureghello (9):
      iio: dac: ad3552r-common: fix ad3541/2r ranges
      iio: dac: ad3552r-hs: clear reset status flag
      iio: dac: adi-axi-dac: modify stream enable
      iio: dac: adi-axi-dac: add bus mode setup
      iio: dac: ad3552r-hs: fix message on wrong chip id
      iio: dac: ad3552r-hs: use instruction mode for configuration
      iio: dac: ad3552r: share model data structures
      iio: dac: ad3552r-hs: add ad3541/2r support
      iio: dac: ad3552r-hs: update function name (non functional)

 drivers/iio/dac/ad3552r-common.c |  55 ++++++-
 drivers/iio/dac/ad3552r-hs.c     | 322 ++++++++++++++++++++++++++++++---------
 drivers/iio/dac/ad3552r-hs.h     |   8 +
 drivers/iio/dac/ad3552r.c        |  36 -----
 drivers/iio/dac/ad3552r.h        |  17 ++-
 drivers/iio/dac/adi-axi-dac.c    |  33 +++-
 6 files changed, 350 insertions(+), 121 deletions(-)
---
base-commit: d487a2869417596556c56b781f82ebeedaea6889
change-id: 20250114-wip-bl-ad3552r-axi-v0-iio-testing-carlos-762ff6c91edb

Best regards,
-- 
Angelo Dureghello <adureghello@baylibre.com>


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

end of thread, other threads:[~2025-01-25 12:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 15:30 [PATCH v4 0/9] iio: ad3552r-hs: add support for ad3541/42r Angelo Dureghello
2025-01-14 15:30 ` [PATCH v4 1/9] iio: dac: ad3552r-common: fix ad3541/2r ranges Angelo Dureghello
2025-01-14 15:30 ` [PATCH v4 2/9] iio: dac: ad3552r-hs: clear reset status flag Angelo Dureghello
2025-01-14 15:30 ` [PATCH v4 3/9] iio: dac: adi-axi-dac: modify stream enable Angelo Dureghello
2025-01-14 15:30 ` [PATCH v4 4/9] iio: dac: adi-axi-dac: add bus mode setup Angelo Dureghello
2025-01-14 15:30 ` [PATCH v4 5/9] iio: dac: ad3552r-hs: fix message on wrong chip id Angelo Dureghello
2025-01-14 15:30 ` [PATCH v4 6/9] iio: dac: ad3552r-hs: use instruction mode for configuration Angelo Dureghello
2025-01-14 15:30 ` [PATCH v4 7/9] iio: dac: ad3552r: share model data structures Angelo Dureghello
2025-01-14 15:30 ` [PATCH v4 8/9] iio: dac: ad3552r-hs: add ad3541/2r support Angelo Dureghello
2025-01-14 15:30 ` [PATCH v4 9/9] iio: dac: ad3552r-hs: update function name (non functional) Angelo Dureghello
2025-01-18 16:11 ` [PATCH v4 0/9] iio: ad3552r-hs: add support for ad3541/42r Jonathan Cameron
2025-01-25 12:10   ` Jonathan Cameron

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