[PATCHv5 2/4] iio: mxs-lradc: add scale_available file to channels

2013-12-23 Thread Alexandre Belloni
From: Hector Palacios Adds in_voltageX_scale_available file for every channel to read the different available scales. There are two scales per channel: [0] = divider_by_two disabled (default) [1] = divider_by_two enabled The scale is a struct made of integer and nano parts to build a long

[PATCHv5 2/4] iio: mxs-lradc: add scale_available file to channels

2013-12-23 Thread Alexandre Belloni
From: Hector Palacios hector.palac...@digi.com Adds in_voltageX_scale_available file for every channel to read the different available scales. There are two scales per channel: [0] = divider_by_two disabled (default) [1] = divider_by_two enabled The scale is a struct made of integer and nano