From patchwork Mon Jul 29 07:08:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13744443 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 00FBDC3DA61 for ; Mon, 29 Jul 2024 07:12:06 +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: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=JSPYXnKi5mzFzEnMNJfJUBG4DAWtDVdk707LqXZlXRo=; b=TmjO6xuPWU9eOPYBTQGrHUh7+k Lfpp/pilab5Yxx4ypJkn6yEowrrh6ihdJtJBtOTdKWWePOSGlZkHHyq720D3CFW8mu/uyiRK7mkHE ArPPE0qG2PJkCChoYvie1GnRHNmrzokbsOFI4H7ttIZzYD2VvEBHRVHxRnRMZ1bMbEylOwh3w4Vft 0IgqTAt17XlZqTL6khUzdBv/P4d0IYGBCjqiQbbzGhwC/XmmeDV1q4hCaVOWFsmSi3pghIvM7H793 YE8gUL3ge5X5VVebKO2LmiMtLdNqGkdtzyjA4kajzYEUO1um5gmVFq+gqww93XMOSeZxuxLJ2Qebx 9raCGCjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYKY2-0000000AHx6-46MT; Mon, 29 Jul 2024 07:11:58 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYKUc-0000000AGc8-2PG8 for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2024 07:08:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1722236906; x=1753772906; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fkG6RF9SVnoEx+IzruR0HjZJb1UJHtjYsNIynC9sonI=; b=QpxTvoYmQlSZA80zTe9Lbp1MaJpkTkA5Hq8aCCpr7kK0q5oKwqyQizGL IRA2JCxVzM15OFWpLUJrPghJNL5SiyYezKB15Yr+6SonimSge+ECodazh Dt/sH+CylY49quJxFyTMW48s7DbMyj9I9TCsPmlM8MMJghukFs9m4X44C LvUCSrQz0CDx5ye85xKB9NCcCoV0iLiLPcTa5ca9WP4xPOHvAlkJgixzh xypoKCAwv6ZCIt13Et5tB16K+0T8jnYkNktwBdlaQO+jhIG6qrd0UHYFD XQRIzivJoJroU7c20OtcIp9zxj5+xJEeTGw8yF9WwJOo9lPcIDoxW3urm w==; X-CSE-ConnectionGUID: F/hyoSnPT1CJ+O22vYM+Pg== X-CSE-MsgGUID: OkOVbUIjQaeK/3X0zFOtlw== X-IronPort-AV: E=Sophos;i="6.09,245,1716274800"; d="scan'208";a="197213938" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 29 Jul 2024 00:08:25 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 29 Jul 2024 00:08:10 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 29 Jul 2024 00:08:06 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v6 14/27] dt-bindings: clock: at91: Allow PLLs to be exported and referenced in DT Date: Mon, 29 Jul 2024 12:38:03 +0530 Message-ID: <20240729070803.1990916-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240729065603.1986074-1-varshini.rajendran@microchip.com> References: <20240729065603.1986074-1-varshini.rajendran@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240729_000826_750549_62C0B2D0 X-CRM114-Status: UNSURE ( 9.53 ) 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 Allow PLLADIV2 and LVDSPLL to be referenced as a PMC_TYPE_CORE clock from phandle in DT for sam9x7 SoC family. Signed-off-by: Varshini Rajendran Acked-by: Rob Herring Reviewed-by: Claudiu Beznea --- Changes in v6: - Updated Reviewed-by tag --- include/dt-bindings/clock/at91.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/clock/at91.h b/include/dt-bindings/clock/at91.h index 3e3972a814c1..6ede88c3992d 100644 --- a/include/dt-bindings/clock/at91.h +++ b/include/dt-bindings/clock/at91.h @@ -38,6 +38,10 @@ #define PMC_CPU (PMC_MAIN + 9) #define PMC_MCK1 (PMC_MAIN + 10) +/* SAM9X7 */ +#define PMC_PLLADIV2 (PMC_MAIN + 11) +#define PMC_LVDSPLL (PMC_MAIN + 12) + #ifndef AT91_PMC_MOSCS #define AT91_PMC_MOSCS 0 /* MOSCS Flag */ #define AT91_PMC_LOCKA 1 /* PLLA Lock */