Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp703609rwn; Thu, 8 Sep 2022 07:42:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR5XMgWziJektkoX8Qhd6UW3Q3vcNUpRU9WUflthJIRLbj2Qk4Ju9SDcRr0qpwipBuJeAHdO X-Received: by 2002:a17:907:781a:b0:730:cd06:3572 with SMTP id la26-20020a170907781a00b00730cd063572mr6297578ejc.487.1662648124183; Thu, 08 Sep 2022 07:42:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662648124; cv=none; d=google.com; s=arc-20160816; b=LWEZlJTapMeggPFDFxTWTJrB+j+EVK9N0CN1XBdh/rZg6UNX7A0uqRLasjdCtIa65R H821dvUzFapMblhiQ4JL7bd7iFDtdHeoBg+Fx16WmMYt/LbGK1hvVFamFZgGU7Nd8M3X SjIi5uwlXulER1h2lDHGZDvykYN3QEcqaIOM4dyKqtW/G72t3ct7PeZHoGY5PNEFNqkf XTyC93PhiuvDTmVqEjRHQxp5FQahDzEA1FFIiYkh4J0+th3wxybh/Q3cyeM7YdBKaOxW BE5l+2n5eZhxPPEECl6QjDgLtSWMRyufRuF1u/KylB+yJqpYIdIG99YYGBjERkbfG7Vg vtFw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vO3e8Oluqxe+1iYY/pzMtfvqy+gjmkqq9hKk6MbtPLM=; b=p0Iy9CAzgfOdoAkbMMExUC+a+kTOnLstgGwwYtWCJwTBWAAAu9yHSzpP//Uzbc8BJ8 4zI5wS5gIUMN0KLxv6cfJzzSF6MGrT4uoJgBKf49v0U2bH5SABZr2EAV6pt9fTGY+rwy pphmbeU/dvHvvL7iF0G+O0gN97Hf0cnB1DmzConOv+VBBacEzKyICkMbj23ApYum2mrP ROYRJ1jWQLLeBuMPPuQr8DRtr8K18GygXW6+mVqigUS/fgDSxOFrRe5aFddbGhlQN2R6 xrtW+DbqUn4qDRdhyfKWBQzmYkBkxlY+vMxLZyHkaGH6wMvMYbnIKL8iLDBqPoKkU4V1 ikDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=PRxkv8xQ; 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 k22-20020a056402049600b00440d768eb42si14293203edv.89.2022.09.08.07.41.39; Thu, 08 Sep 2022 07:42:04 -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=PRxkv8xQ; 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 S232641AbiIHOhr (ORCPT + 99 others); Thu, 8 Sep 2022 10:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232569AbiIHOhh (ORCPT ); Thu, 8 Sep 2022 10:37:37 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C13DE6233; Thu, 8 Sep 2022 07:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1662647857; x=1694183857; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ggvgSTbI/3n106FcPTJ8++adTEBX7bnWFulBMj2Sqa4=; b=PRxkv8xQkCeZ9ax3M2Psa99MWuL7Khbj8iQ+6QaEqy0SXYI9BmQgisWv v0OYQvj92jrV2rDmE5O+C5yHl4V5PpNlBAQ6N5G1+WnZJESYP80iiR0+d AYyr3vxQpgyv1NrkJbby9sdQHROLE5Z2AUjATr7OtPg+TFMFlpOrxplMs Ej2VhkJCbM3O+IAw68SnzTz2Cj60t5hDFumvx5dGYzZrF2H+TmqPQjIG5 aTJNhoOeRa6R72BzKa7w4eL8GB4RjdPTV9P00ZIy/I43c5qHXGmQbqvn8 6m+2FQb2nQcx1HmFqx2K0jf8PpiBTkpoFxeR8W7uMuAIapVsI4ZLKjtTM A==; X-IronPort-AV: E=Sophos;i="5.93,300,1654585200"; d="scan'208";a="172970687" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 Sep 2022 07:37:36 -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.12; Thu, 8 Sep 2022 07:37:35 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Thu, 8 Sep 2022 07:37:32 -0700 From: Conor Dooley To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Conor Dooley , Daire McNamara , Hugh Breslin CC: Paul Walmsley , Albert Ou , Claudiu Beznea , , , , , "Krzysztof Kozlowski" Subject: [PATCH v5 3/5] dt-bindings: clk: add PolarFire SoC fabric clock ids Date: Thu, 8 Sep 2022 15:36:50 +0100 Message-ID: <20220908143651.1252601-4-conor.dooley@microchip.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220908143651.1252601-1-conor.dooley@microchip.com> References: <20220908143651.1252601-1-conor.dooley@microchip.com> 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, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Each Clock Conditioning Circuitry block contains 2 PLLs and 2 DLLs. The PLLs have 4 outputs each and the DLLs 2. Add 16 new IDs covering these clocks. For more information on the CCC hardware, see the "PolarFire SoC FPGA Clocking Resources" document at the link below. Link: https://onlinedocs.microchip.com/pr/GUID-8F0CC4C0-0317-4262-89CA-CE7773ED1931-en-US-1/index.html Acked-by: Krzysztof Kozlowski Signed-off-by: Conor Dooley --- .../dt-bindings/clock/microchip,mpfs-clock.h | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/include/dt-bindings/clock/microchip,mpfs-clock.h b/include/dt-bindings/clock/microchip,mpfs-clock.h index 4048669bf756..79775a5134ca 100644 --- a/include/dt-bindings/clock/microchip,mpfs-clock.h +++ b/include/dt-bindings/clock/microchip,mpfs-clock.h @@ -45,4 +45,27 @@ #define CLK_RTCREF 33 #define CLK_MSSPLL 34 +/* Clock Conditioning Circuitry Clock IDs */ + +#define CLK_CCC_PLL0 0 +#define CLK_CCC_PLL1 1 +#define CLK_CCC_DLL0 2 +#define CLK_CCC_DLL1 3 + +#define CLK_CCC_PLL0_OUT0 4 +#define CLK_CCC_PLL0_OUT1 5 +#define CLK_CCC_PLL0_OUT2 6 +#define CLK_CCC_PLL0_OUT3 7 + +#define CLK_CCC_PLL1_OUT0 8 +#define CLK_CCC_PLL1_OUT1 9 +#define CLK_CCC_PLL1_OUT2 10 +#define CLK_CCC_PLL1_OUT3 11 + +#define CLK_CCC_DLL0_OUT0 12 +#define CLK_CCC_DLL0_OUT1 13 + +#define CLK_CCC_DLL1_OUT0 14 +#define CLK_CCC_DLL1_OUT1 15 + #endif /* _DT_BINDINGS_CLK_MICROCHIP_MPFS_H_ */ -- 2.36.1