Re: [PATCH v6 5/6] Documentation:devicetree:bindings:iio:dac: Fix val

From: Jonathan Cameron
Date: Thu Oct 07 2021 - 11:49:47 EST


On Thu, 7 Oct 2021 08:00:36 +0000
Mihail Chindris <mihail.chindris@xxxxxxxxxx> wrote:

> A correct value for output-range-microvolts is -5 to 5 Volts
> not -5 to 5 milivolts
>
> Fixes: e904cc899293f ("dt-bindings: iio: dac: AD5766 yaml documentation")
> Signed-off-by: Mihail Chindris <mihail.chindris@xxxxxxxxxx>
> Reviewed-by: Alexandru Ardelean <ardeleanalex@xxxxxxxxx>
Whilst it's only a trivial fix to an example it seems to me a worthwhile
thing to backport and avoid people using old trees seeing the wrong example

Applied to the fixes-togreg branch of iio.git and marked for stable.

Thanks,

Jonathan

> ---
> Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml
> index d5c54813ce87..a8f7720d1e3e 100644
> --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml
> +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml
> @@ -54,7 +54,7 @@ examples:
>
> ad5766@0 {
> compatible = "adi,ad5766";
> - output-range-microvolts = <(-5000) 5000>;
> + output-range-microvolts = <(-5000000) 5000000>;
> reg = <0>;
> spi-cpol;
> spi-max-frequency = <1000000>;