Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1072949rwb; Fri, 28 Jul 2023 04:29:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlE4Iyn6bIxDPcO3JSPVAf52TbfYjGUlgtomCE5jAVNbiN/xgHLFuRYRVIERJNPnsQd7glro X-Received: by 2002:a05:6a00:1415:b0:686:22de:6365 with SMTP id l21-20020a056a00141500b0068622de6365mr1597941pfu.8.1690543785138; Fri, 28 Jul 2023 04:29:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690543785; cv=none; d=google.com; s=arc-20160816; b=FbwQ2UVrqwngvcn7vk8usTapvg4oEHFyzkzgrtYp4VHKlGRUCy9t0yD9zQIGqo9SRs TSGQdflss7AfaKRlGEiORybtbb+fv6zozNe/vmaw8/Y1j6ws2iGZ3iVOn8DEVnzzgyt2 wZXDWqNUstUj50qtMGXy6rR/8smy8uoNgTDuDXpBn22RRTNvJ0Jjt6qDzh9CHJxUsZqk 4imTaHA4Hlg9gzeZbSq/iYdMFTqEOdZ1ZcGiYC51BaZJwaUbZlV33I2OsBKTGa6qOyVD KPvgNDSc8O0Eja2X7LOMe5ZK42sKp/NGGyuj0EsoAJhgTBTSkCmsMYlxVuICrrC4YK9C 7GtQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be3-20020a656e43000000b00563f6a66fbdsi609808pgb.53.2023.07.28.04.29.31; Fri, 28 Jul 2023 04:29:45 -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 S235937AbjG1Kch (ORCPT + 99 others); Fri, 28 Jul 2023 06:32:37 -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 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 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 */ -- 2.25.1