Message ID | 20210824115441.681253-11-eugen.hristev@microchip.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=TTRX=NP=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> 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.5 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,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 1DE1FC4338F for <linux-arm-kernel@archiver.kernel.org>; Tue, 24 Aug 2021 12:03:43 +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 D929061248 for <linux-arm-kernel@archiver.kernel.org>; Tue, 24 Aug 2021 12:03:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D929061248 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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nksRMTbjwp9n2ild33QUm+ZfnXOmC98IqXPfaAgvWNg=; b=h6MtfT9yDrOIzS prFW9MmD67Bi3edP7BYLxeft4OfflcXjhcLHcptN6zCcBEAJEfcI64iz9ElOLI5PVXQdWC3F9FmKE 26Bof0kgPZZqaGwQbqoa+QrwlkFZVNmbQ7P+NkRZlTWVq1CjlYjYoUbVn0yBrtu2Wfozx372YUYlM K9K2DXFraEL4m9GWAwaoquFvBnb8DUKmMRhHH1lDc03Tp6eazwPqXrkxRwuSHnp/jrwEShWCywPQQ EK+CaCk6T6LrqHDDW0mIGiNcbYAlAGdxA+carcvWvJrElZJOhOcWujU/t1Sl+r3vbRWV+mVWzdzma C/YmxG7IUSuImvJICm3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mIV7F-002uFM-PP; Tue, 24 Aug 2021 12:01:18 +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 1mIV39-002s4b-5U for linux-arm-kernel@lists.infradead.org; Tue, 24 Aug 2021 11:57:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1629806222; x=1661342222; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=solFwV4JTQfjT1p/kr3lKPxhmPtCyWwDUzcwzBiiHAo=; b=1GDNjH+1dYvi/wZ9a09q0rYkO9eM4exm4NV5J4KFlEMSreV730DOzlC+ 57W0Q8vUHanj9SFrXXzEq1czZbVHRphVFrLzdfMSwmYDcMDR20FYrpRMh KTVGQtAwFAGXwTYdnKuxnFLIs0oPD7mItNlljSUDXhmnt9OxpAccEYF/v yIqvaNBoAoBuFbnlLR+Ebcv1pTad2zz2t/tNi3k6HsCWWkGToq6ISucCt w0ytCSZfkk30lMERnfJNM9OFE94Pn44XGfq0ZKbFcIoX5X83CB5Xgn41L che4W0N5+/JxNDlcn4WKbFY4XGLKWs3cYGwuzJOcXZcI97Yzn9/sfD8DK g==; IronPort-SDR: /EuT0nHQYMwrxDb7fe/Bxtk3AMvoBVzQ3CCiLOPVjsUdGkXA4JpS4lzpjxKQ4pmkoyBZAFNCcr SNOzWDt5U1Xtte9tYL1cAPhnOgo0Urnzzah21A8dFKaLZY3OM+IdQiE2dnBM+aZh0VQolPdYB6 FXwqqehm4em5s5M+Sw+4MwdLWs1rFSdxNIVdKmN6nSNc2Gw67MQ/oq1FwBLH31xuX5weGaOSLo Ravua/CNtMeiCcHXKgjn4wnEjgwC9CLbLeREy20DlmVyhzDByrQHdux2a+Vu30g1dw+GjH2Nr7 8Pw0FVE+j4X/H+qLdNLCx/BW X-IronPort-AV: E=Sophos;i="5.84,347,1620716400"; d="scan'208";a="133946072" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Aug 2021 04:57:02 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 24 Aug 2021 04:57:02 -0700 Received: from ROB-ULT-M18282.microchip.com (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; Tue, 24 Aug 2021 04:56:50 -0700 From: Eugen Hristev <eugen.hristev@microchip.com> To: <jic23@kernel.org>, <linux-iio@vger.kernel.org>, <devicetree@vger.kernel.org>, <nicolas.ferre@microchip.com> CC: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <robh+dt@kernel.org>, <ludovic.desroches@microchip.com>, Eugen Hristev <eugen.hristev@microchip.com> Subject: [PATCH v2 10/10] ARM: dts: at91: sama7g5ek: enable ADC on the board Date: Tue, 24 Aug 2021 14:54:41 +0300 Message-ID: <20210824115441.681253-11-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210824115441.681253-1-eugen.hristev@microchip.com> References: <20210824115441.681253-1-eugen.hristev@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210824_045703_336132_8B089512 X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
iio: adc: at91-sama5d2_adc: add support for sama7g5
|
expand
|
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>; };
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 <eugen.hristev@microchip.com> --- arch/arm/boot/dts/at91-sama7g5ek.dts | 8 ++++++++ 1 file changed, 8 insertions(+)