You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iio: adc: ad4630: Add output mode for ADAQ4216 and ADAQ4220
The IIO channels are defined according to the output mode and for each
output mode the precision bits is set statically in the output mode struct.
Due to static assignment of channel precision bits in output mode structs,
new output mode structs need to be declared for devices that
have different amount of precision bits.
Maybe we can have less code duplication if the precision bits for each
ADC can be retrieved (maybe from devicetree?, static table?) then used for
output mode declaration.
For now, add output mode structs for ADAQ4216 and ADAQ4220 which are equal
to ADAQ4224 except for they have different precision and don't have
24-bit + 8-bit common mode.
Signed-off-by: Marcelo Schmitt <marcelo.schmitt@analog.com>
0 commit comments