Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4145670rwe; Tue, 30 Aug 2022 05:32:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR5EOxevNEtNcV0MM6+jJv6tbq82CaULAhtDdHcW735Jv9511Mh2aO+y8UYUQqi6gG92HDer X-Received: by 2002:a17:907:a068:b0:741:3cb1:9ffe with SMTP id ia8-20020a170907a06800b007413cb19ffemr11495891ejc.293.1661862752276; Tue, 30 Aug 2022 05:32:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661862752; cv=none; d=google.com; s=arc-20160816; b=zQNtzwTyzqcCLDdXR+2LPnhaJJOfLs1M7uaZfaDF05WpVLnWWeOZ0XzdgY/CjKPTKV XmdXO7AjnaiL96b/XdAZOWqf76wp9zwnEjVGDqPnlOILjVEf2CSupJzaPQo8Xrytf4lU Zmca0rZbQbZYL5H7ZnIvohd/1mLXD/zMsQdoFXPPos2HSB7FsqHIb0JRwyusznf46ygM M0s430nvp9RU3sqr4rt/1mrdFvJSszsFo7ZD29fjDuAftsHcBe4BWt0We/CeQdAjaye1 6HsN2BRePEHAiF3HS4d/yzBv4IG1lCHpffn4UtKN/X+FylJtcRjHFCraLWhBrno1ZhSC W25Q== 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=Bh8Nuo4GV4QHYZzKAThWOVyPUb3SYRC5veJmdi4zL3z6cZsOj7wtxkQL3l6l3L4SEH vf+GQWACn2McfEoppA/6iz6hY2fejUu/xArDhG33KrKs921ogDgg/E3cNHXx55Vy5ZBJ aXGBzR6iw3WH+5h6LwQo7CXKpWXYuxmh7GYiSXb+cP7b55H40oQEwi6ij2cyT7YJw9pX ZHSrIXC+ZQV2nZxBlqkUkirVsAP07zS7gFSgFRcPfoE3lKMafTJxR77GB0ZwbnzWLb8V zlavtp47DWU7yA6jeZpg8qoHhv/l8KQ9QGDpQWn0DqkxqX8yNPgGXRqZIUavqa9ijdKp gBLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=do7DpGUj; 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 qk33-20020a1709077fa100b00741a3548ca5si3051675ejc.761.2022.08.30.05.31.58; Tue, 30 Aug 2022 05:32:32 -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=do7DpGUj; 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 S229721AbiH3M3o (ORCPT + 99 others); Tue, 30 Aug 2022 08:29:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbiH3M3j (ORCPT ); Tue, 30 Aug 2022 08:29:39 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2822EF9FD; Tue, 30 Aug 2022 05:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1661862577; x=1693398577; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ggvgSTbI/3n106FcPTJ8++adTEBX7bnWFulBMj2Sqa4=; b=do7DpGUjhmYam5CwZ+KomBYpabl2VPTchZQlhohkvaSB6q/tTxb0uekJ JNT1+ptjGrsxjqEkHdaPYidFdR1WRM8rxD4Uh3tXpH91wuHsgao2ONndQ MbWSrBITdOCFeGSPBGIZc8XP7HONbjjrytA7m9HahNv1+h7TgLMq0J/W2 tu8SuqhVpmpkmTS+vLZcRVSrkMbqetmZATq+sNr8VaNgqnHzR/B1w4t3S yu2oYDkBN5lrqgdnMJc0kE4/KInkb753l4vpSpDAJAqZAoD0ppEq6goDc 2qbDPj6GGL27ojzeu382Tac01MJOePBd8J1kT9WBFoCIfgHGFXinDxVTS g==; X-IronPort-AV: E=Sophos;i="5.93,274,1654585200"; d="scan'208";a="174798703" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 30 Aug 2022 05:29:36 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 30 Aug 2022 05:29:34 -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; Tue, 30 Aug 2022 05:29: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 v4 3/5] dt-bindings: clk: add PolarFire SoC fabric clock ids Date: Tue, 30 Aug 2022 13:28:54 +0100 Message-ID: <20220830122855.2207752-4-conor.dooley@microchip.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220830122855.2207752-1-conor.dooley@microchip.com> References: <20220830122855.2207752-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