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
However, half of the single-channel chips are pseudo-differential and use unsigned data, not signed.
On the multi-channel chips, bipolar or not is a programmable feature and therefore determined by the device tree description of how the channels are configured, but this should not be part of the device tree bindings for single channel chips since they are not configurable.
This is one of the differences that lead me to suggest #2312 as fixing this would be much more straightforward if we didn't have to account for both types of chips (configurable and not configurable) in the same driver.
The text was updated successfully, but these errors were encountered:
Currently, the
ad_pulsar.c
driver assumes that all differential channels are bipolar and sets the IIO scan info as signed.linux/drivers/iio/adc/ad_pulsar.c
Line 704 in 2fd7285
However, half of the single-channel chips are pseudo-differential and use unsigned data, not signed.
On the multi-channel chips, bipolar or not is a programmable feature and therefore determined by the device tree description of how the channels are configured, but this should not be part of the device tree bindings for single channel chips since they are not configurable.
This is one of the differences that lead me to suggest #2312 as fixing this would be much more straightforward if we didn't have to account for both types of chips (configurable and not configurable) in the same driver.
The text was updated successfully, but these errors were encountered: