Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1551773rwb; Fri, 19 Aug 2022 05:47:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR5x2H+N/n98/s9YrThZ5rhaa6CNgbj5Pekl74yEw6tox8RkdOKsmiRcWmIR7tK0WFDxJvBx X-Received: by 2002:a17:906:7007:b0:6ff:8028:42e with SMTP id n7-20020a170906700700b006ff8028042emr4726446ejj.278.1660913220805; Fri, 19 Aug 2022 05:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660913220; cv=none; d=google.com; s=arc-20160816; b=O0TtursA/GmhEcZE3wu+e4MGYJ/s2JQGng5GOhqn1DcTcGBNs/OODjHARs+a6aSl9S eEoawpqRYeSZXN4xXR6DZITKVO9x33KTskwlhXgzqZFNgIo42CMg9AtxhfGBh4Wvs/6G PjBAGoa7ahBONcibT2bB4CI1QO2aNZRt+8hT9wLJMFD/VhuKSq1bp1oEVw990uvfjLd3 QVxjHt9ir9GGZNUpTo6SMAZpX9bip24GU51e0OocXEzR0EatYXVcC9baTfQYOVqjJMht Cq83rIrrbk9iqnUnWBGeMB4Z62FdzhPSkoFyvSt+vV4GBkjlH52wBGI8jwjDvNcsvQU1 HqAQ== 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=p1qq0mDr06kFmj5ORQZ/8BWx0lomSd5/GzLzx0a28WE=; b=LbsvuFTJd0kAjJjQCIZzun497Dvb9YFSWKmnLUXUEMMYajQId1ci0CW5/+D6dpbFjq qM/swOAJU/iVqp4wGw3kUqcVL5SXvoh7fIQWgP/i7NKIbwzHGZ9NKPaf8QCxJOLUkRHp +JrtFOX9mxYVPs3Fs3J7IkEL5rej6OilbGvcvJGyuVVRx4r/nsSVGIkCD2mmMAcUV2xV OG56WeeoDPwsHL+A+3IwobBXnGokaCdZfxAUG7Y1mc0agYBbwaJZ69f38p3sNl3Ow4E7 woeHMeFfo9Bff1ENLLB6+L3MtOcHi2COXu9FOkj8xpQ1ZCaTloCOl8uhK0xoPv1ggGuW LyLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=KhP2ogmS; 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 r11-20020a05640251cb00b0043df391fc57si3180972edd.542.2022.08.19.05.46.35; Fri, 19 Aug 2022 05:47:00 -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=KhP2ogmS; 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 S1348950AbiHSM2Y (ORCPT + 99 others); Fri, 19 Aug 2022 08:28:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348928AbiHSM2R (ORCPT ); Fri, 19 Aug 2022 08:28:17 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B12AD109; Fri, 19 Aug 2022 05:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1660912096; x=1692448096; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nt4enKj/zKJO+UzKjfd+XwU+/3h6xQS/zb1SP36Ro6M=; b=KhP2ogmS9UVFEmPn+GE4ozRZbYi6Xiyb5+fz2VF1opwAxG3qOqSp/80O V7luDh7PjFw/yrKYwekmo8o0WPv97QJWJqNDCENke5sgSxDyXFis960PY OWSSLizGJhUyK7VS7z2Cx6RnAm5iykX+9QVOdeb25Mbl0Ma9n3RzcZmeF x1vFTG52sghynoqpzQayhCd5w4Q7MASEiHqe5/TAt9s5Xx7CoZFGhe21U OkDqYH6591/i1QHsN/3EZ1e7pNVlQhLx789nzSqMcrAY6qMX4OORamwu5 SkpIi2scvImp2fO6uXKqu3gE8cNj2gzPWDfHresmUd8wBFd4ejzLBcKOH Q==; X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="176919058" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 19 Aug 2022 05:28:15 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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; Fri, 19 Aug 2022 05:28:14 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Fri, 19 Aug 2022 05:28:11 -0700 From: Conor Dooley To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Conor Dooley , Daire McNamara CC: Paul Walmsley , Albert Ou , , , , Subject: [PATCH 3/6] dt-bindings: clk: add PolarFire SoC fabric clock ids Date: Fri, 19 Aug 2022 13:22:57 +0100 Message-ID: <20220819122259.183600-4-conor.dooley@microchip.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220819122259.183600-1-conor.dooley@microchip.com> References: <20220819122259.183600-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 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