Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp409529rwe; Wed, 24 Aug 2022 03:11:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR7YJG4nuDJ2zUHWNEM6+54GpauXGvg1DCfDrEBJLYPFoqQ4P7W2KmoglcZNPBytiA8dAoEu X-Received: by 2002:a05:6402:19:b0:447:901f:6b28 with SMTP id d25-20020a056402001900b00447901f6b28mr744852edu.392.1661335911453; Wed, 24 Aug 2022 03:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661335911; cv=none; d=google.com; s=arc-20160816; b=ztjBkmgt0WlI3MyU+KYLXYcyRK81ZB2R172HQ9p9bEC6s+OR2FjEWsJ2pcdc/9sQXL WF1e7D7FMPy/fs2DxCS4zvhbrX9PPOXB7a/28kKhgz6tp5JKkyf3uEa9jVOHHoG7pfrP /31X6O3nsWDI9VWuXKN2iYjuK7QD1fXbvzLwWAazm2HuSNO+qtBekqKKzQ0jsKZd/u4J +wSBYME1tG30PiriD7l+yZ9dPPt/DdD/iC3bQS82JY0q2KLrYWrUtPV9WZUTeyejxAI9 SwBHNHcdHC7iZ9SzGu4bE00nxmYYIKKINp8xcR1C1Nd+6p4Gh7Zn6oBHvz9ARsKhI510 9izA== 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=LoOZi5j/xgFqrXksQCRUbG24dA//w80eqxxYsPYA8ZaI5W7otULT7IPq57nBYdDgq9 IWN6vtf0GgVwJ93Z9DMbYAkjR5Ae+oSD3RfkFHLJ+kPCUcTDbU289pXrfLAlb3mRwTy3 8+WtGvnfqOANDkFmllhePGAlqoZWY4pHh6MX1qIvX9GHj2FeZ8o5MRzYmUbvmeBZETZV niAHGyY9dEya95SrHQdilgjdz9h5mieW8mJyXzGqH7u12ahmqLQeztyHtECDovbeIcl7 5P7BAvSPtozy+aAnkjhLWAhsY5r3Z87RXEH7SeeGB5X8JrQsn+ZE2yKXIGjK0CvflJRg 0skw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=iwKZyjAe; 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 d20-20020a056402145400b00445e2aa438esi3711620edx.405.2022.08.24.03.11.25; Wed, 24 Aug 2022 03:11:51 -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=iwKZyjAe; 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 S235745AbiHXJeg (ORCPT + 99 others); Wed, 24 Aug 2022 05:34:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235463AbiHXJe3 (ORCPT ); Wed, 24 Aug 2022 05:34:29 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD709883C2; Wed, 24 Aug 2022 02:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1661333667; x=1692869667; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ggvgSTbI/3n106FcPTJ8++adTEBX7bnWFulBMj2Sqa4=; b=iwKZyjAeMh4mzGYdA7TuJJDQs6GxKAtqKIXUMyPfFKNe3IKzILeQV25e arZos7PjWz8EajYMQsBtpbdqo0ZAUDHW8cVQ67zX/9743CUkDOvfCqtji IAdrvDHXyFYD5oiTz3pwBVoY9fPytLl2RT7YqHPKKdBnDc/0dzidsGciP 4Y/X/irgWADTe5hZ+VmRwEBjb4mnBFy+9FfK9blCrLzTK9GIibBXvugKG LsGyr/rFKASq9wfMHA5x3j/I/a/MZfw79hVj7VXAU68zJlsq6iU1FmZ3O Dl9h2DO0vIzZrjxIXFP9ymzxQEbFS1W+QkvOch+/bDjah5j0Hq8p3U2ep Q==; X-IronPort-AV: E=Sophos;i="5.93,260,1654585200"; d="scan'208";a="173887594" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Aug 2022 02:34:26 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.12; Wed, 24 Aug 2022 02:34:25 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 24 Aug 2022 02:34:23 -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 , , , , , Krzysztof Kozlowski Subject: [PATCH v3 3/5] dt-bindings: clk: add PolarFire SoC fabric clock ids Date: Wed, 24 Aug 2022 10:33:41 +0100 Message-ID: <20220824093342.187844-4-conor.dooley@microchip.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220824093342.187844-1-conor.dooley@microchip.com> References: <20220824093342.187844-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,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 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