lkml.org 
[lkml]   [2023]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/4] Match data improvements for mcp4725 driver
Date
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

\
 
 \ /
  Last update: 2023-09-03 13:56    [W:0.102 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site