From patchwork Fri Feb 23 17:28:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13569703 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 98F05C54E4F for ; Fri, 23 Feb 2024 17:35:24 +0000 (UTC) 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=k3zYAjGVVUMxVccrP5rgiqUWWSswLHDWD02kmT8y7ug=; b=kX/d1M3rxjHxfJ JrJmWMXG0pBbj+hWSMT3/5mIVWPrlfPcAEJPv2Bq3Oo3gFuOKw0z7zEk2cpiRq8ltc/nuW4jdVrW9 sqsgUouRDB/7b8pc4SUuABJDKLZwvJZKkD++Wz3QT/L+OCn7cUWXcECUSXAoo8MXPo/YeL+ibj7Ba EF9o1u/v88uQtVvM8SERnO6T9RqqQqj+yFDl4czuW204mSKURkw8vVC/e5yVTE7RxMp1H9ZOOefEC 5Zsk08yNxQavng8Imf/S2LmBD76GAtlFn45N0vGIdDWCEDO+XPZZtItzU7TlqKzCkLNBONEBmTNH3 za0tWvykzS9QIi29IzzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdZRv-0000000AXeS-2JTZ; Fri, 23 Feb 2024 17:35:03 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdZLk-0000000AU7K-0ksG for linux-arm-kernel@bombadil.infradead.org; Fri, 23 Feb 2024 17:28:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=JR4WXtVxbqDILXRliCdiMZ7wYBReuQBkuEb3kqlrn5g=; b=IsrikW6Nbosyx3G2IhAIt4iBIT yAcJ6tSXHpXrR217q1PMCK33xH95bnmJxnmFeHhAmUFj5j7Qp8bfqQsErP2fp2GnRNzgPdOhetOkV KpqpmzKO5irkUICpySMD26Ap2pj0xIHBi+q8hvGG0+YwDrC0DifJZY54D5F1DizZgbr7Ik1v1EvcJ 23XXRRdOlWcXEckiRhxL5qHFRqLtUHznW8SAubJBXUwT4oiuG4nPSukpTXlDvambhnJ7XelyUjWc+ ci+3tHKGgwziTACtsv8d4X1CUyPRqTaI939RfutmjP7E6SqbsYIsaylSw16F+1yIQpfQnS8icfMKo VoPuWjmQ==; Received: from esa.microchip.iphmx.com ([68.232.153.233]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdZLf-000000002KI-3gvs for linux-arm-kernel@lists.infradead.org; Fri, 23 Feb 2024 17:28:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709316; x=1740245316; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mzGYFdm3v1XDGFucUtcC36Y7oX4EkJ+bnjLPq/ua1Ck=; b=g90K6MmxiU+UvOjsaVVyB6k13QqazbFcHQ9T6cx8kVBWYEopXzq09aFr nyuVTJtbUQimaTeBF3kNK1hetaNvSPHg/3P+N4CrXzTWiw0v4DrXkmYvf MbFnkEtLfL0OzWd8Bh/ON1uOor86f3SHQEe1aNztQmS/x4y6Bup3OEtCt V0NCUvXTqm0LJhZEIYG2HDE6uORSu98ojzhIVB8ouj9PrDWuNzh5BWssM C+sSjxjYXyVafuzeKgqGdeUVp5nfjiQqZo3oYOoY3DjkJW/om+KDX1dm6 4urBUeTV9nmwVWhjdEyD2zulCHKJHQ3U9uyoFhgLxtWBdPprt80wnRKM0 g==; X-CSE-ConnectionGUID: J2gaCqTjSWW69xa5fHD66A== X-CSE-MsgGUID: 0uaOQgYvT4ulCAfYELEKEQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="18276287" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:28:35 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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.35; Fri, 23 Feb 2024 10:28:30 -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; Fri, 23 Feb 2024 10:28:25 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v4 26/39] dt-bindings: clock: at91: Allow PLLs to be exported and referenced in DT Date: Fri, 23 Feb 2024 22:58:22 +0530 Message-ID: <20240223172822.672902-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-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-20240223_172837_388335_1FFB7AE7 X-CRM114-Status: UNSURE ( 8.46 ) 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 --- 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 */