From patchwork Fri Jul 28 10:29:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 127571 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp384964vqg; Fri, 28 Jul 2023 05:06:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlEJWfGYNrpmJoiEiNtZxCilfd0Sj8+sMLNx9HCrdQh2R4ZCe9XPd8VMgTR68ONd3W8nzgvx X-Received: by 2002:a05:6512:348f:b0:4fe:8e0:87f3 with SMTP id v15-20020a056512348f00b004fe08e087f3mr1250591lfr.41.1690546017473; Fri, 28 Jul 2023 05:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690546017; cv=none; d=google.com; s=arc-20160816; b=tZfNxy9GKcioMMnzfECrTbkG1o2StyNqGP54jrNfdelkumVfzZQfaW3GEbSvRKqytD w4plMdBHX+VB+O5GhUSIiGkEtYXIjakSXYnapE75pf5Iv0kWFtGU2EqAkv23fyx9fuZB oST/SclqNVZKrdyIvVjrYxCNh3Zi60NMFBpjaZZuK0UkKec2+kSHl5Rh9yCxWKirwePI n9j6qWnGKk40bwgbdV1BW96EueLGtQEJ8bE9E994Dna8nyFmAUsPXmcBuYlZoTYLibNa SS7PQP2sKYSeGHaCYCKbGQhW0DIQhmfmd9i+cdTqtiS+hHgcQ+QAmD4ula9+VthkzK8y XjfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=P8eUQ149NBbl2h3GqPhToQzD0j9oBRdVVMjaJWE2g2A=; fh=3yUsdBA08SvQyLq/lzyuv0s1mWQPLtG9JMoDnSLp7mw=; b=C/q5uwfnQndRMJ3vvOcMmRZhUihogAdxCzrjQjufoy8B/lmAKxCIvn60rgBlMbylJP JxPSwE2eVauChyP/MNE33ppK+cYsYjgIR165Na66o5y+2jMSzVykXFLgRdlRsCocTu6q a1QlFQ7jrChVGRMdKs0pg8peQ8hg/+bjT8xGYtrRVahyb2S9tC2XudLMBGeEXV2D+tBS PlR0usdlmoFjNRVYnwVFzbdmHsfdHeZsNkLPxBXHyw6YI/eUBWmsDFiY5txtpwulnaA7 5pTZlGWBZAAf2cR/+SLiZtT5XqwssrMRGcuHNqHVV5kYgP2b8qIZ0TO8NvriRvS73N+i zqyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=zIuHWuW1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q2-20020aa7d442000000b0052228b411e4si2426588edr.203.2023.07.28.05.06.32; Fri, 28 Jul 2023 05:06:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=zIuHWuW1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235925AbjG1Kci (ORCPT + 99 others); Fri, 28 Jul 2023 06:32:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235934AbjG1KcT (ORCPT ); Fri, 28 Jul 2023 06:32:19 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DF494C29; Fri, 28 Jul 2023 03:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540230; x=1722076230; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=EDSMF3KpdZJFrM1zcY0RzUGcphR/aMUmi1WoZ4tRDvM=; b=zIuHWuW1iH04d4EBB7qEEsSC0pzfHvRn1EORTdvbRFjNwlagBFkJHx1D eyFjQtTcp0yyJW27LoMxsDqpi32L3ZhFgpt01bogtUqKZfOOtzepaLXnm GACQnLu2ptAYYIoTe+raMVA/Ujq9r0ZrtkfsRAlKmuZz1zSHMLYKrO+jE yqBgV4rOToyqWcsGOiWQVuFE06sGlssi5i2J6YmtYVYlIANRGjPn4Z8/2 dwnS8qyC/7W7Z9FbPYy73qBsnqlOyhvkvy4+dPh33myOXTYn4Fo6Aynk8 3dJfcoqgyhqZZMVTLGkuKkTMee4VROYLb2l1YB54L3q+evJQQ7Wy8yrTs w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="163712909" 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/AES256-SHA256; 28 Jul 2023 03:29:54 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 28 Jul 2023 03:29:52 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:29:47 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v3 40/50] clk: at91: sam9x7: Allow PLLs to be exported and referenced in DT Date: Fri, 28 Jul 2023 15:59:43 +0530 Message-ID: <20230728102943.267342-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772665980773095432 X-GMAIL-MSGID: 1772665980773095432 Allow PLLADIV2 and LVDSPLL to be referenced as a PMC_TYPE_CORE clock from phandle in DT. Signed-off-by: Varshini Rajendran --- 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 */