]> git.hungrycats.org Git - linux/commitdiff
ARM: dts: at91: sama5d3_xplained: fix ADC vref
authorLudovic Desroches <ludovic.desroches@microchip.com>
Mon, 10 Apr 2017 08:25:16 +0000 (10:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 12:18:01 +0000 (14:18 +0200)
commit 9cdd31e5913c1f86dce7e201b086155b3f24896b upstream.

The voltage reference for the ADC is not 3V but 3.3V since it is connected to
VDDANA.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/at91-sama5d3_xplained.dts

index fec1fca2ad66c80ad3ce949d82741b235790c1ed..b962190c860abb498540bf87e6c1c84a5d06afa9 100644 (file)
                        };
 
                        adc0: adc@f8018000 {
+                               atmel,adc-vref = <3300>;
                                pinctrl-0 = <
                                        &pinctrl_adc0_adtrg
                                        &pinctrl_adc0_ad0