From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752995AbdDJIZt (ORCPT ); Mon, 10 Apr 2017 04:25:49 -0400 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:60672 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751864AbdDJIZr (ORCPT ); Mon, 10 Apr 2017 04:25:47 -0400 X-IronPort-AV: E=Sophos;i="5.37,181,1488870000"; d="scan'208";a="1347199" From: Ludovic Desroches To: , , CC: , , , Ludovic Desroches , "# 3 . 16+" Subject: [PATCH 2/2] ARM: dts: at91: sama5d3_xplained: not all ADC channels are available Date: Mon, 10 Apr 2017 10:25:17 +0200 Message-ID: <20170410082517.19628-2-ludovic.desroches@microchip.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170410082517.19628-1-ludovic.desroches@microchip.com> References: <20170410082517.19628-1-ludovic.desroches@microchip.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: # 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