summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorMircea Caprioru <mircea.caprioru@analog.com>2019-06-25 11:11:26 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-06-26 21:24:21 +0100
commit1478a388f4baaa6da4767a0d7cf82a47826b9fc0 (patch)
tree85ba5b41c620765b9f79d9aa3d956fffcf484911 /Documentation/devicetree/bindings/iio
parent0eaecea6e4878abbf1d3e8de3e4eeabc856133d4 (diff)
iio: adc: ad7124: Shift to dynamic allocation for channel configuration
This patch changes the channel configuration member of the device structure from a fixed size array to a dynamic allocated one with a size equal to the number of channels specified in the device tree. This will ensure a more flexibility for compatible devices. Ex. ad7124-4 - can have 4 differential or 8 pseudo-differential channels ad7124-8 - can have 8 differential or 16 pseudo-differential channels Also the device can suspport any other combination of differential and pseudo-differential channels base on the physical number of inputs available. Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
0 files changed, 0 insertions, 0 deletions