Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Folkesson <marcus.folkesson@gmail.com>2022-07-22 16:07:20 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-08-21 20:24:16 +0300
commit9e2238e3ae40d371a1130226e0e740aa1601efa6 (patch)
tree45a66365f957cb1451c3ddc28f828db82f2fbe47 /Documentation/devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml
parentcfbd76d5c9c449739bb74288d982bccf9ff822f4 (diff)
iio: adc: mcp3911: use correct formula for AD conversion
The ADC conversion is actually not rail-to-rail but with a factor 1.5. Make use of this factor when calculating actual voltage. Fixes: 3a89b289df5d ("iio: adc: add support for mcp3911") Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220722130726.7627-4-marcus.folkesson@gmail.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml')
0 files changed, 0 insertions, 0 deletions