From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81002C433F5 for ; Wed, 15 Sep 2021 09:19:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3C9D76103B for ; Wed, 15 Sep 2021 09:19:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3C9D76103B Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jCngxJiSK1Lct+mooFGgHYl1UdlbvMUQ3k3wsxtIguU=; b=z2tBe62Yaf9RE5AMwYv4p0mfXE jTIUY1jAJgrUm9uZMBZw4/Xyiv6n5I0PqPwWiC8iRKWMHOErVPjesnLrBo5dogNoblBWyfRhoN2GF zl0aR3gGyqLjomY8ejzHKl8Qd76lt4WTq04FWXi4+1GXuxBz71sbcBCFeM2L75+HWvoLhLTqUXcpz aqrMfjCfMClTwBz9m+20tXwM55qUDvV4rqGaVOigPT8Wv7KFef10/Y+ObN20ZUWWFFcE0/YovEik0 wXa399TE5FrlMgKAung9j6j9Bwbzs20VerNoisDjXvrD6DmuBGmvav53QicKt1t2lyodu8YK3t4ey 7xQA4jcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQR2x-008eEe-Bg; Wed, 15 Sep 2021 09:17:39 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQR2U-008e7P-Oa for linux-arm-kernel@lists.infradead.org; Wed, 15 Sep 2021 09:17:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1631697431; x=1663233431; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=Dfa252DYPnAczaB3OriaDcww1m7VLIetrz7OSnE6jpY=; b=KOv00J9iwmDpdtHIYThxLsFqCdljp3nMzE5LsNc8JuJxvpPUpPml6uKB SjVwDlwG1Uq1uDWamkE6QabGQhR4cu6E2xO5Ve5SVf/WaZiD0h6UqfL/p tQwalMoaCa1fgnnxM1Cxf6ujIxzlEFVTXDleYWNPSBTa++IfCcthKDOAd vRI2kivWOPCYyZazbbJ2uQXerIeoeXo87bQ9cCzNIYoNA4sxcN947FSj+ CTHXUrkHdbminVWaCVzR8xcYCIBX9oupXoaYWoOZ0E5oG9rJJhP5ZuLLU 4rT2mFiw0VXqQgDlX/+LDDZ2eDtcyBFaQMnFdLR7mU2EUxc6Q3An4ZYlD g==; IronPort-SDR: m2vU5cRTr3FPVHq5FJPCXpAaTdl0NrtHID8zQOla+eKTUktHPgrjJiLKNMdrbMV2k0rhvLwmkv NSGJU9Rhuc5LVKroX3L5xSV+Vxom40nkEyQja5L4cZ/M/txlwi+ccxCHHkxS388jQ91NfIQiJV mL9lYKOb48nUWHKQ699ApwBEYFjghROB/Erb7LdfvUI9SLPWVkUUgPW59nzKnwVYOSkaxngWqX QCyxSrywHwPkh7dmWpBhuFMJoJ9JU0oAB+1AMLpgb9f0DPAcLZF3ov+jjZ8Xadvg5OBU7t1NZE tuzA/iMZIPc1Ngcs2/K1yHRe X-IronPort-AV: E=Sophos;i="5.85,295,1624345200"; d="scan'208";a="136033879" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Sep 2021 02:17:11 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Wed, 15 Sep 2021 02:17:09 -0700 Received: from [10.171.246.91] (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 15 Sep 2021 02:17:07 -0700 Subject: Re: [PATCH v3 10/10] ARM: dts: at91: sama7g5ek: enable ADC on the board To: Eugen Hristev , , , CC: , , , References: <20210901123013.329792-1-eugen.hristev@microchip.com> <20210901123013.329792-11-eugen.hristev@microchip.com> From: Nicolas Ferre Organization: microchip Message-ID: <22d425df-a014-a632-d55d-ff5b95852f52@microchip.com> Date: Wed, 15 Sep 2021 11:17:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210901123013.329792-11-eugen.hristev@microchip.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210915_021710_877002_EB10A169 X-CRM114-Status: GOOD ( 16.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 01/09/2021 at 14:30, Eugen Hristev wrote: > The ADC controller on the board is fed by a 2.5V reference voltage. > By default the channels #14 and #15 are dedicated to analog input > (marked AN on the board), on the connectors mikrobus1 and mikrobus2. > > Signed-off-by: Eugen Hristev Acked-by: Nicolas Ferre > --- > arch/arm/boot/dts/at91-sama7g5ek.dts | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts > index 4cbed98cc2f4..c46be165f2ba 100644 > --- a/arch/arm/boot/dts/at91-sama7g5ek.dts > +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts > @@ -122,6 +122,14 @@ spdif_out: spdif-out { > }; > }; > > +&adc { > + vddana-supply = <&vddout25>; > + vref-supply = <&vddout25>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_mikrobus1_an_default &pinctrl_mikrobus2_an_default>; > + status = "okay"; > +}; > + > &cpu0 { > cpu-supply = <&vddcpu>; > }; > -- Nicolas Ferre _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel