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 9408EC55184 for ; Tue, 4 Aug 2026 11:36:27 +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=YnSbhfqDiyGlpybPCnzW9iy8Sh LBAjUmfg6t2eyiIBOhPPUSgOKsMJMW9ckXP/+Ihj3TaYag3qbYl1c89KPnSJPxXaWYHMB95sVm42C hLCQcLae9QPmhR9HBDfe8ltCp+LycMDbVmzBkfUtV2P8TtrMbPxOUJJWX9tOmGhihfuf/xNsNPwhU WviTVAYIRYTr7QgkJI5oSi1tPYY6tFVMQ150k5KEaXPsh+EYTxoBcfJ8/qBM0tP7j5aUkazPh7JuX 5/o2/YFwAwAfUsY6IJ5gGwSy9VxI0XSel2hqdOs9g7vP3HSw1li8Ml6A1Hk2tcFtajFa0td2M5s17 gsHufp/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wrDRQ-00000001isn-1z5W; Tue, 04 Aug 2026 11:36:16 +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 1wrDRN-00000001irT-41Hz for linux-arm-kernel@lists.infradead.org; Tue, 04 Aug 2026 11:36:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1785843374; x=1817379374; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=JkNlRyaOOV3pTgI7mHQS2o4Wmw7D4SylfoNccbioFoY=; b=QfZDcwQ/SJ+6Mj+jAHlLZv0Qm9APHd2GIEaAidxUXBIpW/CphR1xucj/ 6lL+4SSTlCQE3pJh8aL7leexrPrwhCeWvkr+8PvNNfY2Ab+Wm3mQuEyo1 IY+psr83nt2XrpcRv6fieIjiJyUV5VsA95aAmEs60OxPKQh4p4Mp/LJdB IOSG9fS/hd2L890rXO2c6K5y4gSxnmohcVcM6ZevmVYLWM49Vdqt9yhL9 1TqZEQ7/HfUj+7ofNqTkXFplUshbr0RZ0Y8/PJmayYAFgrOvDCDbzuaJV NRW5rR7xrOXudWYwYjGnbrz6C9VRiNY34kI5xyMvaDZWoKIGCZloaDK10 A==; X-CSE-ConnectionGUID: d6pJ2LigRCaMivhNoSVccw== X-CSE-MsgGUID: JmS95fgDQVmiYAYBFgMBGA== X-IronPort-AV: E=Sophos;i="6.25,204,1779174000"; d="scan'208";a="61934892" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 04 Aug 2026 04:36:13 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Tue, 4 Aug 2026 04:36:12 -0700 Received: from che-ll-i67070.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Tue, 4 Aug 2026 04:36:02 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v5 13/17] ARM: dts: microchip: sama7d65_curiosity: Enable ADC, DVFS Date: Tue, 4 Aug 2026 17:03:34 +0530 Message-ID: <20260804113338.261782-14-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260804113338.261782-1-varshini.rajendran@microchip.com> References: <20260804113338.261782-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-20260804_043614_057282_18E37142 X-CRM114-Status: UNSURE ( 9.55 ) 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