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.1 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 BA702C4320A for ; Wed, 1 Sep 2021 12:39:30 +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 8741561103 for ; Wed, 1 Sep 2021 12:39:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8741561103 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=jK1Aaua7GTuTO8 PX5DgRcoeTEzOWYZa8HGv7wZtEhrPUdT6A9DveqAINS9xuZqmoWctx0XOhCuoW3a4xyf20t78TbQw 8kNWbvd8SbOH0hjErFKM63RyvYZ/Mw+xD5gQgBuy8HiAZTWoIosQ+cFFaCXYn4W7QwhOcSg2AwUQH 85HYoF90kNuJprdSCfbuG89utFiYbN9Ztk9ZtmgQTNChQrUBJNDEvvLjflha4y8ozX6C35IPXU0XX ylf8mcs3BfQBDDl5GIH6tqxOg6VSEUS5DaQvTNsBc5oGLuFbFWhuegWJO+pQyPRmEV09KxBJxMnky dqISyHe6YFiEL8NDhpkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLPTP-0060Rs-Iz; Wed, 01 Sep 2021 12:36:11 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLPOG-005xvM-MN for linux-arm-kernel@lists.infradead.org; Wed, 01 Sep 2021 12:30:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1630499452; x=1662035452; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=solFwV4JTQfjT1p/kr3lKPxhmPtCyWwDUzcwzBiiHAo=; b=sS7rnzZDzYGS79TbId3bQ5CxB/ElJBZqk5kYIi8S6kkfvmspd06KFhVy mDDqoSYVdFeDArMrz9UnSlTzjUJ3vnmqd8EdpAHRbV/NuGq9xZTWLeGy3 uD0Qt1IOF+AZTUNeQVB9Ixje66/GAXPuPFAWn5PnO6MQF4n1oYgG4kT72 AintL4epFfsfGm96E8P8Z/AA6n8lYraoIEicF+pIyrBOEgfDYVpT+PY0G cvhKJAp3mo/3y5xk5TcG0D2P/M3sZfrGSMFjDO8n8jXQXItVgbu4mVl5I xXwUEAwcA3/T6XTV6NUp9fKoCKLyrYR3wk8796uGQXLmwTM8Cqq/jOcMl Q==; IronPort-SDR: GNeBo18az5P2D2SIfssYe+RWQitxbKxnuINk85HUxCuee08lWDJZRUFq6Ki9imiTZoXbF0Huq8 wYPAzR/u456tUeekDJZZsc5EqUs7sZYyA5+OYcvB0a4PXmYAgW2extWpICe+i+dyjpn28No4gc i1ObCIvZu0MdxSIhjYzZ6fsFsHHCuYE5Hn3DsL+nCTBfE4Hh7OqgtxwYCcbCG33UvCqUH8j+r8 I2JFtdvx75BiE4CVx+zMDpu3WVbi2rVfy9dOMzgh5EwRBfJH4CNB1fg7Hhs1EX6eJQwYAOVRFL 9bk34D3pAj154OKqFTD0MifT X-IronPort-AV: E=Sophos;i="5.84,369,1620716400"; d="scan'208";a="67859488" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 01 Sep 2021 05:30:51 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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, 1 Sep 2021 05:30:51 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 1 Sep 2021 05:30:49 -0700 From: Eugen Hristev To: , , , CC: , , , , Eugen Hristev Subject: [PATCH v3 10/10] ARM: dts: at91: sama7g5ek: enable ADC on the board Date: Wed, 1 Sep 2021 15:30:13 +0300 Message-ID: <20210901123013.329792-11-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210901123013.329792-1-eugen.hristev@microchip.com> References: <20210901123013.329792-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-20210901_053052_879058_7C5B8952 X-CRM114-Status: UNSURE ( 8.97 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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>; }; -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel