dt-bindings: iio: adc: ti,ads1015: fix datarate max value and meaning
authorMarco Felsch <m.felsch@pengutronix.de>
Wed, 21 Jun 2023 16:08:57 +0000 (18:08 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 20 Jul 2023 18:21:30 +0000 (19:21 +0100)
commit21a12e614be02084cd40c66c921a470e37096281
treeaafec90729c393069f6b1c4b8224ae355cf3ca89
parent1cbf2c4bea7860e3bbd4ac1031d7a13ccebe0057
dt-bindings: iio: adc: ti,ads1015: fix datarate max value and meaning

Datarate (dr) is a 3-bit wide register field. Values from 0 to 7 are
allowed for all devices but only for the ADS1115 devices a value of 7
does make a difference.

While on it fix the description of the datarate for ADS1115 devices as
well.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230621160857.3400747-1-m.felsch@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml