]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.9.30/arm-dts-at91-sama5d3_xplained-fix-adc-vref.patch
Linux 4.14.95
[thirdparty/kernel/stable-queue.git] / releases / 4.9.30 / arm-dts-at91-sama5d3_xplained-fix-adc-vref.patch
CommitLineData
21e6eaa8
GKH
1From 9cdd31e5913c1f86dce7e201b086155b3f24896b Mon Sep 17 00:00:00 2001
2From: Ludovic Desroches <ludovic.desroches@microchip.com>
3Date: Mon, 10 Apr 2017 10:25:16 +0200
4Subject: ARM: dts: at91: sama5d3_xplained: fix ADC vref
5
6From: Ludovic Desroches <ludovic.desroches@microchip.com>
7
8commit 9cdd31e5913c1f86dce7e201b086155b3f24896b upstream.
9
10The voltage reference for the ADC is not 3V but 3.3V since it is connected to
11VDDANA.
12
13Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
14Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
15Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
16Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17
18---
19 arch/arm/boot/dts/at91-sama5d3_xplained.dts | 1 +
20 1 file changed, 1 insertion(+)
21
22--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
23+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
24@@ -162,6 +162,7 @@
25 };
26
27 adc0: adc@f8018000 {
28+ atmel,adc-vref = <3300>;
29 pinctrl-0 = <
30 &pinctrl_adc0_adtrg
31 &pinctrl_adc0_ad0