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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 4F3D9C561E6 for ; Thu, 6 Aug 2026 08:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oKR5EQZaAb5JzRjyGYBccfjPcYcwdvM+SxPKeULRWj0=; b=QN2rI/eYos2WdU/30Rbv1FNmES XF0pk/P7mXiDLvTHkq2hQnV9YTNesq/n4mOjm6G3nCCNC8R5XVZidErX9YGTNNq/ffF2IZCxe1Nqq zPQyzRGEd+bvJ1AvCZ+CA5SIz8dLBnHZpRZcGUIWTklDuqerjADb5wCia7MG419siOj9CB/2NiOei Ls62+qV+CAYDO1NsFb47mzXeJGh1P77G3sCAqkniYTcoHjbaLGCmLqLvProFoh4hX4VvJ1u/zi3H6 zYX4WrBtb+pMlioX6SGAXBJnPIex2/Tfap/ILQCajVf8X1oNB0KBBiuxd8vxuN8PSQE4LYEWxYQKw ofu24JWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wrtmZ-00000005IR2-3YMX; Thu, 06 Aug 2026 08:48:55 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wrtmX-00000005IPT-1X46 for linux-arm-kernel@lists.infradead.org; Thu, 06 Aug 2026 08:48:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1786006133; x=1817542133; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=JkNlRyaOOV3pTgI7mHQS2o4Wmw7D4SylfoNccbioFoY=; b=p/n+McmoKDOj+qG0LQD/yLUUwTbB7K8GtGoP1xjM0lTX49EG1Sjw1VUH iLJq6cgnvN/si0MAQYZJh9Olj3AAVkC8JJ3/PboXJ29/WZgqAirzaCxPl nhHUKEL0M/3uGk0RVgkYYKrT6FzdPRHOMfFdfsHLf5nJUI+1zbTpB1AFu 45zkfL8QYZg1LLxATn8w+GZQCK9rMdoDPZZTlOg+mSm5KOY8TRbdeQFFe 8oxk8PkYmu0O+SCqE+6/2eUV4xqIllq+cXAtbNwN5bP8eTsUyRU6dQVp4 mxwi1Ck7JrtESUNcHVNpC1zBqoAP5sl3U5HjMwnmwd1ioBAWYMSVus96w g==; X-CSE-ConnectionGUID: r1th4OAjSsi+Ep5SuUld9w== X-CSE-MsgGUID: YJiZZQPITaeclZRP3KznCA== X-IronPort-AV: E=Sophos;i="6.25,208,1779174000"; d="scan'208";a="60854124" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Aug 2026 01:48:52 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.87.152) by chn-vm-ex4.mchp-main.com (10.10.87.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.2562.45; Thu, 6 Aug 2026 01:48:52 -0700 Received: from che-ll-i67070.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Thu, 6 Aug 2026 01:48:42 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v6 13/17] ARM: dts: microchip: sama7d65_curiosity: Enable ADC, DVFS Date: Thu, 6 Aug 2026 13:10:20 +0530 Message-ID: <20260806074024.531259-14-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260806074024.531259-1-varshini.rajendran@microchip.com> References: <20260806074024.531259-1-varshini.rajendran@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260806_014853_589296_CBDDC889 X-CRM114-Status: UNSURE ( 8.91 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable ADC and DVFS on SAMA7D65 Curiosity board. Configure the necessary power supply (vddana, vref) for the ADC, and enable cpu-supply for DVFS. Signed-off-by: Varshini Rajendran Reviewed-by: Claudiu Beznea --- .../dts/microchip/at91-sama7d65_curiosity.dts | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts index 927c27260b6c..c2d1e5308170 100644 --- a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts @@ -79,6 +79,14 @@ reg_5v: regulator-5v { }; }; +&adc { + vddana-supply = <&vddout25>; + vref-supply = <&vddout25>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc_default &pinctrl_adtrg_default>; + status = "okay"; +}; + &can1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_can1_default>; @@ -97,6 +105,10 @@ &can3 { status = "okay"; }; +&cpu0 { + cpu-supply = <&vddcpu>; +}; + &dma0 { status = "okay"; }; @@ -334,6 +346,16 @@ &main_xtal { }; &pioa { + pinctrl_adc_default: adc-default { + pinmux = ; + bias-disable; + }; + + pinctrl_adtrg_default: adtrg-default { + pinmux = ; + bias-pull-up; + }; + pinctrl_can1_default: can1-default { pinmux = , ; @@ -457,3 +479,8 @@ input@0 { &slow_xtal { clock-frequency = <32768>; }; + +&vddout25 { + vin-supply = <&vdd_3v3>; + status = "okay"; +}; -- 2.34.1