Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Match data improvements for mcp4725 driver
@ 2023-09-03 11:55 Biju Das
  2023-09-03 11:55 ` [PATCH v3 1/4] iio: dac: mcp4725: Replace variable 'id' from struct mcp4725_data Biju Das
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Biju Das @ 2023-09-03 11:55 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Biju Das, Lars-Peter Clausen, Uwe Kleine-König, Marek Vasut,
	Andy Shevchenko, linux-iio, linux-kernel, Biju Das

This patch series aims to add match data improvements for mcp4725 driver.

This patch series is only compile tested.

v2->v3:
 * Added struct mcp4725_chip_info with chan_spec and chip_id variable and
   used that as OF/ID table match data.
 * Added variables use_ext_ref_voltage and dac_reg_offset to struct
   mcp4725_chip_info to handle hw differences between mcp4725 and
   mcp4726.
v1->v2:
 * Update commit description with reason for change.

Biju Das (4):
  iio: dac: mcp4725: Replace variable 'id' from struct mcp4725_data
  iio: dac: mcp4725: Use i2c_get_match_data()
  iio: dac: mcp4725: Add use_ext_ref_voltage to struct mcp4725_chip_info
  iio: dac: mcp4725: Add dac_reg_offset to struct mcp4725_chip_info

 drivers/iio/dac/mcp4725.c | 42 ++++++++++++++++++++++++++-------------
 1 file changed, 28 insertions(+), 14 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-09-03 12:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-03 11:55 [PATCH v3 0/4] Match data improvements for mcp4725 driver Biju Das
2023-09-03 11:55 ` [PATCH v3 1/4] iio: dac: mcp4725: Replace variable 'id' from struct mcp4725_data Biju Das
2023-09-03 11:55 ` [PATCH v3 2/4] iio: dac: mcp4725: Use i2c_get_match_data() Biju Das
2023-09-03 11:55 ` [PATCH v3 3/4] iio: dac: mcp4725: Add use_ext_ref_voltage to struct mcp4725_chip_info Biju Das
2023-09-03 11:55 ` [PATCH v3 4/4] iio: dac: mcp4725: Add dac_reg_offset " Biju Das
2023-09-03 12:15 ` [PATCH v3 0/4] Match data improvements for mcp4725 driver Jonathan Cameron

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