From patchwork Mon Apr 10 08:25:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ludovic Desroches X-Patchwork-Id: 9672087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2BF8C600CB for ; Mon, 10 Apr 2017 08:26:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C6E528068 for ; Mon, 10 Apr 2017 08:26:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F630281DB; Mon, 10 Apr 2017 08:26:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CC2FE27CF3 for ; Mon, 10 Apr 2017 08:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IOEshh+Eov+Lgack4znfG5PTwEWcorP3bkrxQvjTPWo=; b=KkDJoFWsgABePq 3yY9phZfQkRq9/WLQlzqNqepSAI/CmfakqhPSTGnwzRL8g2jauJ/GiD7Y8uHSfCl78aTqH7YSK3VO PjUQrem2f46y5FnhAd7yslU+9f+U6gAxiXF0xCSDqZFajIe7qxIBvIeCifPR7cxAS2o/qTUqmuaAL WnxWb4G+0oUogP2grPUzfjeLOsPzOU/rTzHQMzcj3QmQUw8HSP7ETdjrYANSAVtrEZ1I+F+M5PXbu OnEc3LI8G/pjlkFchEvtBpoqbGMEeCZ1v6UyjjQBh2suVkgsDW+jMFhUQUNZaiS5fPMDkQniVqNq5 RWagqx9r3FQpWzZNm9dw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cxUeR-0006ju-2V; Mon, 10 Apr 2017 08:26:19 +0000 Received: from esa1.microchip.iphmx.com ([68.232.147.91]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cxUeG-0006W4-Ih for linux-arm-kernel@lists.infradead.org; Mon, 10 Apr 2017 08:26:10 +0000 X-IronPort-AV: E=Sophos;i="5.37,181,1488870000"; d="scan'208";a="1347199" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA; 10 Apr 2017 01:25:46 -0700 Received: from ibiza.rfo.atmel.com (10.10.76.4) by chn-sv-exch07.mchp-main.com (10.10.76.108) with Microsoft SMTP Server id 14.3.181.6; Mon, 10 Apr 2017 01:25:45 -0700 From: Ludovic Desroches To: , , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170410_012608_628120_485A944F X-CRM114-Status: UNSURE ( 7.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eugen.Hristev@microchip.com, Ludovic Desroches , alexandre.belloni@free-electrons.com, "# 3 . 16+" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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+ Acked-by: Nicolas Ferre --- 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"; };