All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref
@ 2017-04-10  8:25 ` Ludovic Desroches
  0 siblings, 0 replies; 18+ messages in thread
From: Ludovic Desroches @ 2017-04-10  8:25 UTC (permalink / raw)
  To: linux-arm-kernel, devicetree, linux-kernel
  Cc: nicolas.ferre, alexandre.belloni, Eugen.Hristev,
	Ludovic Desroches, # 3 . 16+

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>
Cc: <stable@vger.kernel.org> # 3.16+
---
 arch/arm/boot/dts/at91-sama5d3_xplained.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index c51fc65..7a0fa1a 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -162,6 +162,7 @@
 			};
 
 			adc0: adc@f8018000 {
+				atmel,adc-vref = <3300>;
 				pinctrl-0 = <
 					&pinctrl_adc0_adtrg
 					&pinctrl_adc0_ad0
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref
@ 2017-04-10  8:25 ` Ludovic Desroches
  0 siblings, 0 replies; 18+ messages in thread
From: Ludovic Desroches @ 2017-04-10  8:25 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: nicolas.ferre-UWL1GkI3JZL3oGB3hsPCZA,
	alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
	Eugen.Hristev-UWL1GkI3JZL3oGB3hsPCZA, Ludovic Desroches,
	# 3 . 16+

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-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
Cc: <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> # 3.16+
---
 arch/arm/boot/dts/at91-sama5d3_xplained.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index c51fc65..7a0fa1a 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -162,6 +162,7 @@
 			};
 
 			adc0: adc@f8018000 {
+				atmel,adc-vref = <3300>;
 				pinctrl-0 = <
 					&pinctrl_adc0_adtrg
 					&pinctrl_adc0_ad0
-- 
2.9.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref
@ 2017-04-10  8:25 ` Ludovic Desroches
  0 siblings, 0 replies; 18+ messages in thread
From: Ludovic Desroches @ 2017-04-10  8:25 UTC (permalink / raw)
  To: linux-arm-kernel

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>
Cc: <stable@vger.kernel.org> # 3.16+
---
 arch/arm/boot/dts/at91-sama5d3_xplained.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index c51fc65..7a0fa1a 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -162,6 +162,7 @@
 			};
 
 			adc0: adc at f8018000 {
+				atmel,adc-vref = <3300>;
 				pinctrl-0 = <
 					&pinctrl_adc0_adtrg
 					&pinctrl_adc0_ad0
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
  2017-04-10  8:25 ` Ludovic Desroches
  (?)
@ 2017-04-10  8:25   ` Ludovic Desroches
  -1 siblings, 0 replies; 18+ messages in thread
From: Ludovic Desroches @ 2017-04-10  8:25 UTC (permalink / raw)
  To: linux-arm-kernel, devicetree, linux-kernel
  Cc: nicolas.ferre, alexandre.belloni, Eugen.Hristev,
	Ludovic Desroches, # 3 . 16+

Remove ADC channels that are not available by default on the sama5d3_xplained
board (resistor not populated) in order to not create confusion.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: <stable@vger.kernel.org> # 3.16+
---
 arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index 7a0fa1a..5a53fcf 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -163,9 +163,9 @@
 
 			adc0: adc@f8018000 {
 				atmel,adc-vref = <3300>;
+				atmel,adc-channels-used = <0xfe>;
 				pinctrl-0 = <
 					&pinctrl_adc0_adtrg
-					&pinctrl_adc0_ad0
 					&pinctrl_adc0_ad1
 					&pinctrl_adc0_ad2
 					&pinctrl_adc0_ad3
@@ -173,8 +173,6 @@
 					&pinctrl_adc0_ad5
 					&pinctrl_adc0_ad6
 					&pinctrl_adc0_ad7
-					&pinctrl_adc0_ad8
-					&pinctrl_adc0_ad9
 					>;
 				status = "okay";
 			};
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
@ 2017-04-10  8:25   ` Ludovic Desroches
  0 siblings, 0 replies; 18+ messages in thread
From: Ludovic Desroches @ 2017-04-10  8:25 UTC (permalink / raw)
  To: linux-arm-kernel, devicetree, linux-kernel
  Cc: nicolas.ferre, alexandre.belloni, Eugen.Hristev,
	Ludovic Desroches, # 3 . 16+

Remove ADC channels that are not available by default on the sama5d3_xplained
board (resistor not populated) in order to not create confusion.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: <stable@vger.kernel.org> # 3.16+
---
 arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index 7a0fa1a..5a53fcf 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -163,9 +163,9 @@
 
 			adc0: adc@f8018000 {
 				atmel,adc-vref = <3300>;
+				atmel,adc-channels-used = <0xfe>;
 				pinctrl-0 = <
 					&pinctrl_adc0_adtrg
-					&pinctrl_adc0_ad0
 					&pinctrl_adc0_ad1
 					&pinctrl_adc0_ad2
 					&pinctrl_adc0_ad3
@@ -173,8 +173,6 @@
 					&pinctrl_adc0_ad5
 					&pinctrl_adc0_ad6
 					&pinctrl_adc0_ad7
-					&pinctrl_adc0_ad8
-					&pinctrl_adc0_ad9
 					>;
 				status = "okay";
 			};
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
@ 2017-04-10  8:25   ` Ludovic Desroches
  0 siblings, 0 replies; 18+ messages in thread
From: Ludovic Desroches @ 2017-04-10  8:25 UTC (permalink / raw)
  To: linux-arm-kernel

Remove ADC channels that are not available by default on the sama5d3_xplained
board (resistor not populated) in order to not create confusion.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: <stable@vger.kernel.org> # 3.16+
---
 arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index 7a0fa1a..5a53fcf 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -163,9 +163,9 @@
 
 			adc0: adc at f8018000 {
 				atmel,adc-vref = <3300>;
+				atmel,adc-channels-used = <0xfe>;
 				pinctrl-0 = <
 					&pinctrl_adc0_adtrg
-					&pinctrl_adc0_ad0
 					&pinctrl_adc0_ad1
 					&pinctrl_adc0_ad2
 					&pinctrl_adc0_ad3
@@ -173,8 +173,6 @@
 					&pinctrl_adc0_ad5
 					&pinctrl_adc0_ad6
 					&pinctrl_adc0_ad7
-					&pinctrl_adc0_ad8
-					&pinctrl_adc0_ad9
 					>;
 				status = "okay";
 			};
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref
  2017-04-10  8:25 ` Ludovic Desroches
  (?)
  (?)
@ 2017-04-10  9:04   ` Nicolas Ferre
  -1 siblings, 0 replies; 18+ messages in thread
From: Nicolas Ferre @ 2017-04-10  9:04 UTC (permalink / raw)
  To: Ludovic Desroches, linux-arm-kernel, devicetree, linux-kernel
  Cc: alexandre.belloni, Eugen.Hristev, # 3 . 16+

Le 10/04/2017 à 10:25, Ludovic Desroches a écrit :
> 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>
> Cc: <stable@vger.kernel.org> # 3.16+

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index c51fc65..7a0fa1a 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -162,6 +162,7 @@
>  			};
>  
>  			adc0: adc@f8018000 {
> +				atmel,adc-vref = <3300>;
>  				pinctrl-0 = <
>  					&pinctrl_adc0_adtrg
>  					&pinctrl_adc0_ad0
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref
@ 2017-04-10  9:04   ` Nicolas Ferre
  0 siblings, 0 replies; 18+ messages in thread
From: Nicolas Ferre @ 2017-04-10  9:04 UTC (permalink / raw)
  To: Ludovic Desroches, linux-arm-kernel, devicetree, linux-kernel
  Cc: alexandre.belloni, Eugen.Hristev, # 3 . 16+

Le 10/04/2017 à 10:25, Ludovic Desroches a écrit :
> 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>
> Cc: <stable@vger.kernel.org> # 3.16+

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index c51fc65..7a0fa1a 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -162,6 +162,7 @@
>  			};
>  
>  			adc0: adc@f8018000 {
> +				atmel,adc-vref = <3300>;
>  				pinctrl-0 = <
>  					&pinctrl_adc0_adtrg
>  					&pinctrl_adc0_ad0
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref
@ 2017-04-10  9:04   ` Nicolas Ferre
  0 siblings, 0 replies; 18+ messages in thread
From: Nicolas Ferre @ 2017-04-10  9:04 UTC (permalink / raw)
  To: Ludovic Desroches, linux-arm-kernel, devicetree, linux-kernel
  Cc: alexandre.belloni, Eugen.Hristev, # 3 . 16+

Le 10/04/2017 � 10:25, Ludovic Desroches a �crit :
> 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>
> Cc: <stable@vger.kernel.org> # 3.16+

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index c51fc65..7a0fa1a 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -162,6 +162,7 @@
>  			};
>  
>  			adc0: adc@f8018000 {
> +				atmel,adc-vref = <3300>;
>  				pinctrl-0 = <
>  					&pinctrl_adc0_adtrg
>  					&pinctrl_adc0_ad0
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref
@ 2017-04-10  9:04   ` Nicolas Ferre
  0 siblings, 0 replies; 18+ messages in thread
From: Nicolas Ferre @ 2017-04-10  9:04 UTC (permalink / raw)
  To: linux-arm-kernel

Le 10/04/2017 ? 10:25, Ludovic Desroches a ?crit :
> 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>
> Cc: <stable@vger.kernel.org> # 3.16+

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index c51fc65..7a0fa1a 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -162,6 +162,7 @@
>  			};
>  
>  			adc0: adc at f8018000 {
> +				atmel,adc-vref = <3300>;
>  				pinctrl-0 = <
>  					&pinctrl_adc0_adtrg
>  					&pinctrl_adc0_ad0
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
@ 2017-04-10  9:04     ` Nicolas Ferre
  0 siblings, 0 replies; 18+ messages in thread
From: Nicolas Ferre @ 2017-04-10  9:04 UTC (permalink / raw)
  To: Ludovic Desroches, linux-arm-kernel, devicetree, linux-kernel
  Cc: alexandre.belloni, Eugen.Hristev, # 3 . 16+

Le 10/04/2017 à 10:25, Ludovic Desroches a écrit :
> Remove ADC channels that are not available by default on the sama5d3_xplained
> board (resistor not populated) in order to not create confusion.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
> Cc: <stable@vger.kernel.org> # 3.16+

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index 7a0fa1a..5a53fcf 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -163,9 +163,9 @@
>  
>  			adc0: adc@f8018000 {
>  				atmel,adc-vref = <3300>;
> +				atmel,adc-channels-used = <0xfe>;
>  				pinctrl-0 = <
>  					&pinctrl_adc0_adtrg
> -					&pinctrl_adc0_ad0
>  					&pinctrl_adc0_ad1
>  					&pinctrl_adc0_ad2
>  					&pinctrl_adc0_ad3
> @@ -173,8 +173,6 @@
>  					&pinctrl_adc0_ad5
>  					&pinctrl_adc0_ad6
>  					&pinctrl_adc0_ad7
> -					&pinctrl_adc0_ad8
> -					&pinctrl_adc0_ad9
>  					>;
>  				status = "okay";
>  			};
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
@ 2017-04-10  9:04     ` Nicolas Ferre
  0 siblings, 0 replies; 18+ messages in thread
From: Nicolas Ferre @ 2017-04-10  9:04 UTC (permalink / raw)
  To: Ludovic Desroches,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
	Eugen.Hristev-UWL1GkI3JZL3oGB3hsPCZA, # 3 . 16+

Le 10/04/2017 à 10:25, Ludovic Desroches a écrit :
> Remove ADC channels that are not available by default on the sama5d3_xplained
> board (resistor not populated) in order to not create confusion.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
> Cc: <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> # 3.16+

Acked-by: Nicolas Ferre <nicolas.ferre-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>

> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index 7a0fa1a..5a53fcf 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -163,9 +163,9 @@
>  
>  			adc0: adc@f8018000 {
>  				atmel,adc-vref = <3300>;
> +				atmel,adc-channels-used = <0xfe>;
>  				pinctrl-0 = <
>  					&pinctrl_adc0_adtrg
> -					&pinctrl_adc0_ad0
>  					&pinctrl_adc0_ad1
>  					&pinctrl_adc0_ad2
>  					&pinctrl_adc0_ad3
> @@ -173,8 +173,6 @@
>  					&pinctrl_adc0_ad5
>  					&pinctrl_adc0_ad6
>  					&pinctrl_adc0_ad7
> -					&pinctrl_adc0_ad8
> -					&pinctrl_adc0_ad9
>  					>;
>  				status = "okay";
>  			};
> 


-- 
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
@ 2017-04-10  9:04     ` Nicolas Ferre
  0 siblings, 0 replies; 18+ messages in thread
From: Nicolas Ferre @ 2017-04-10  9:04 UTC (permalink / raw)
  To: Ludovic Desroches, linux-arm-kernel, devicetree, linux-kernel
  Cc: alexandre.belloni, Eugen.Hristev, # 3 . 16+

Le 10/04/2017 � 10:25, Ludovic Desroches a �crit :
> Remove ADC channels that are not available by default on the sama5d3_xplained
> board (resistor not populated) in order to not create confusion.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
> Cc: <stable@vger.kernel.org> # 3.16+

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index 7a0fa1a..5a53fcf 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -163,9 +163,9 @@
>  
>  			adc0: adc@f8018000 {
>  				atmel,adc-vref = <3300>;
> +				atmel,adc-channels-used = <0xfe>;
>  				pinctrl-0 = <
>  					&pinctrl_adc0_adtrg
> -					&pinctrl_adc0_ad0
>  					&pinctrl_adc0_ad1
>  					&pinctrl_adc0_ad2
>  					&pinctrl_adc0_ad3
> @@ -173,8 +173,6 @@
>  					&pinctrl_adc0_ad5
>  					&pinctrl_adc0_ad6
>  					&pinctrl_adc0_ad7
> -					&pinctrl_adc0_ad8
> -					&pinctrl_adc0_ad9
>  					>;
>  				status = "okay";
>  			};
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
@ 2017-04-10  9:04     ` Nicolas Ferre
  0 siblings, 0 replies; 18+ messages in thread
From: Nicolas Ferre @ 2017-04-10  9:04 UTC (permalink / raw)
  To: linux-arm-kernel

Le 10/04/2017 ? 10:25, Ludovic Desroches a ?crit :
> Remove ADC channels that are not available by default on the sama5d3_xplained
> board (resistor not populated) in order to not create confusion.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
> Cc: <stable@vger.kernel.org> # 3.16+

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index 7a0fa1a..5a53fcf 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -163,9 +163,9 @@
>  
>  			adc0: adc at f8018000 {
>  				atmel,adc-vref = <3300>;
> +				atmel,adc-channels-used = <0xfe>;
>  				pinctrl-0 = <
>  					&pinctrl_adc0_adtrg
> -					&pinctrl_adc0_ad0
>  					&pinctrl_adc0_ad1
>  					&pinctrl_adc0_ad2
>  					&pinctrl_adc0_ad3
> @@ -173,8 +173,6 @@
>  					&pinctrl_adc0_ad5
>  					&pinctrl_adc0_ad6
>  					&pinctrl_adc0_ad7
> -					&pinctrl_adc0_ad8
> -					&pinctrl_adc0_ad9
>  					>;
>  				status = "okay";
>  			};
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref
  2017-04-10  8:25 ` Ludovic Desroches
@ 2017-04-10 10:28   ` Alexandre Belloni
  -1 siblings, 0 replies; 18+ messages in thread
From: Alexandre Belloni @ 2017-04-10 10:28 UTC (permalink / raw)
  To: Ludovic Desroches
  Cc: linux-arm-kernel, devicetree, linux-kernel, nicolas.ferre,
	Eugen.Hristev, # 3 . 16+

On 10/04/2017 at 10:25:16 +0200, Ludovic Desroches wrote:
> 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>
> Cc: <stable@vger.kernel.org> # 3.16+
> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref
@ 2017-04-10 10:28   ` Alexandre Belloni
  0 siblings, 0 replies; 18+ messages in thread
From: Alexandre Belloni @ 2017-04-10 10:28 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/04/2017 at 10:25:16 +0200, Ludovic Desroches wrote:
> 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>
> Cc: <stable@vger.kernel.org> # 3.16+
> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
  2017-04-10  8:25   ` Ludovic Desroches
@ 2017-04-10 10:28     ` Alexandre Belloni
  -1 siblings, 0 replies; 18+ messages in thread
From: Alexandre Belloni @ 2017-04-10 10:28 UTC (permalink / raw)
  To: Ludovic Desroches
  Cc: linux-arm-kernel, devicetree, linux-kernel, nicolas.ferre,
	Eugen.Hristev, # 3 . 16+

On 10/04/2017 at 10:25:17 +0200, Ludovic Desroches wrote:
> Remove ADC channels that are not available by default on the sama5d3_xplained
> board (resistor not populated) in order to not create confusion.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
> Cc: <stable@vger.kernel.org> # 3.16+
> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
@ 2017-04-10 10:28     ` Alexandre Belloni
  0 siblings, 0 replies; 18+ messages in thread
From: Alexandre Belloni @ 2017-04-10 10:28 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/04/2017 at 10:25:17 +0200, Ludovic Desroches wrote:
> Remove ADC channels that are not available by default on the sama5d3_xplained
> board (resistor not populated) in order to not create confusion.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
> Cc: <stable@vger.kernel.org> # 3.16+
> ---
>  arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-04-10 10:28 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10  8:25 [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref Ludovic Desroches
2017-04-10  8:25 ` Ludovic Desroches
2017-04-10  8:25 ` Ludovic Desroches
2017-04-10  8:25 ` [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available Ludovic Desroches
2017-04-10  8:25   ` Ludovic Desroches
2017-04-10  8:25   ` Ludovic Desroches
2017-04-10  9:04   ` Nicolas Ferre
2017-04-10  9:04     ` Nicolas Ferre
2017-04-10  9:04     ` Nicolas Ferre
2017-04-10  9:04     ` Nicolas Ferre
2017-04-10 10:28   ` Alexandre Belloni
2017-04-10 10:28     ` Alexandre Belloni
2017-04-10  9:04 ` [PATCH 1/2] ARM: dts: at91: sama5d3_xplained: fix ADC vref Nicolas Ferre
2017-04-10  9:04   ` Nicolas Ferre
2017-04-10  9:04   ` Nicolas Ferre
2017-04-10  9:04   ` Nicolas Ferre
2017-04-10 10:28 ` Alexandre Belloni
2017-04-10 10:28   ` Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.