Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1534455rwb; Fri, 19 Aug 2022 05:29:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR761L5Z4Hg4GIYleJhAxmvICDOu4sBuEne5ecF1lnd1+0fLj7plCPy67aE5wl0jtCdyXgBA X-Received: by 2002:a05:6402:2816:b0:434:ed38:16f3 with SMTP id h22-20020a056402281600b00434ed3816f3mr5909208ede.116.1660912174099; Fri, 19 Aug 2022 05:29:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660912174; cv=none; d=google.com; s=arc-20160816; b=o+FqR4yqZtyy9TCFtHiUCzcuU3KbYU79JCGDAPD09Fs8c2VEMozc0quWyWu1ppDiGq rEvhNhZ229JdKff68j5Mg6MxqpQ7068Lwln9GnWiyIWByUr04t2OG7J7rVbWQtSL4UOe CXavjfNBwL/KI2j4PCX5ERVSTnR/Y7FcHMBURqgmcR5A5oPyW46JlmOvoiGtw/U8p8zc 8jsBE/HD4Z1a0J/brLmtiJLfPdodOOjxdebfAvLbrEknegSoJmGi2WEqRM1f4UX7k5lS 7/VVPBzq4Vr3EEx4Z33TVDHpEuhlcwyk8SEhvS5BzhWpCsy+sBigN6mMAZey5Gg51HC5 gB+Q== 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=GygI/UsVTIVNuSz0r26m0QhgCg98P8/2cjN507AdB6Q=; b=j3RnqmaocvClDtCz5r04WGiHbhM6FrHkwIAkjR7YaE7lj8dONGijo5PPhcV37i5ZBZ Ti5KGLTXOpxsPUsck8fzUk0g+FKaYih6xLD+dUQs6NfIlYUtGkVkTWBdhETfyFWYciDB +gUp0EjMgy7Oh8rlR00HfuwD0Rx6p8NfD9+f+WQ9PoRiDTHG8MQxu500i5dl1JsF8M9r wP2/F7+U/uzXixSyVqtPvkYVKMHnerjyJK6SdNxU2RAQiCd/XF+l2UT7N5qinC7Ywg6E qlZLzvnvTRs3fnHXIXB1tIFdhP1Td4XkM9RLznqsYl0pYPdLCWkbnTuQTUZvTT9sevNh ydbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=1Mk9Xf4A; 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 cb23-20020a170906a45700b0073067a0e4f2si2480459ejb.426.2022.08.19.05.29.07; Fri, 19 Aug 2022 05:29:34 -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=1Mk9Xf4A; 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 S1348508AbiHSM2L (ORCPT + 99 others); Fri, 19 Aug 2022 08:28:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbiHSM2J (ORCPT ); Fri, 19 Aug 2022 08:28:09 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CF4BE3945; Fri, 19 Aug 2022 05:28:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1660912088; x=1692448088; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=OuppHraavVdcPp0ARLA7zsvgdMH5yWNmIVqS5fqgRKI=; b=1Mk9Xf4Ast+avbeztI+O2FJqBhx9XNxq5B00trA936Zr+bQYOa8u5SU4 FCK3pg94ER2GY/H0Kjoh5vLxBzmIDw92Ia9LGoJxKIK0C9ZVbJNj/Pooo moYRO6BZ5euUwTM+FBzL/kTq+7slwe6fMGTHgkeaj6x6ZnykxBOSSsF02 o5wNA9ZRA02MC9XHTvtFVK2DJgCLvwJslodVMS5qBnFhrE2cMlUTgeSdB 8ogfoLLVHUX9cMtYkdazJnqa+/2sIyy0+SxsCRo3dQFRQtZsOqGLLfP6B 8U+ub3y+5xAw0j17mLvURUWVGDy3YOjArryGJZGAKkJIO31fUBmbHrZse g==; X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="173199554" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 19 Aug 2022 05:28:07 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) 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:02 -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:27:59 -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 0/6] Add PolarFire SoC Fabric Clock Conditioning Circuitry Support Date: Fri, 19 Aug 2022 13:22:54 +0100 Message-ID: <20220819122259.183600-1-conor.dooley@microchip.com> X-Mailer: git-send-email 2.36.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, 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 Hey all, PolarFire SoC has 4 clock source blocks, each with 2 PLLs and 2 DLLs, in the corners of the FPGA fabric. Add bindings, a driver supporting the PLLs and the requisite changes to the devicetrees for PolarFire SoC based boards. These clocks were already in use, but which clock specifically was chosen was decided by the synthesis tool. In our end-of-September release of our FPGA reference design, constraints will be added to force the synthesis tool to pick the "north west" CCC, making it possible to read the configuration from the CCC's registers. I am mainly looking for feedback on the dt-bindings on this version, so that if something dt-abi related needs to change it can be done in advance. There are no maintainers changes in this series, but they are required due to the binding rename. I am waiting for some changes queued in the soc tree before rebasing on a later -rc before including that patch. Thanks, Conor. Conor Dooley (6): dt-bindings: clk: rename mpfs-clkcfg binding dt-bindings: clk: document PolarFire SoC fabric clocks dt-bindings: clk: add PolarFire SoC fabric clock ids clk: microchip: add PolarFire SoC fabric clock support dt-bindings: riscv: microchip: document icicle reference design riscv: dts: microchip: add the mpfs' fabric clock control .../bindings/clock/microchip,mpfs-ccc.yaml | 80 +++++ ...p,mpfs.yaml => microchip,mpfs-clkcfg.yaml} | 2 +- .../devicetree/bindings/riscv/microchip.yaml | 1 + .../dts/microchip/mpfs-icicle-kit-fabric.dtsi | 27 +- .../boot/dts/microchip/mpfs-icicle-kit.dts | 4 + .../dts/microchip/mpfs-polarberry-fabric.dtsi | 5 + arch/riscv/boot/dts/microchip/mpfs.dtsi | 34 +- drivers/clk/microchip/Makefile | 1 + drivers/clk/microchip/clk-mpfs-ccc.c | 294 ++++++++++++++++++ .../dt-bindings/clock/microchip,mpfs-clock.h | 23 ++ 10 files changed, 458 insertions(+), 13 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/microchip,mpfs-ccc.yaml rename Documentation/devicetree/bindings/clock/{microchip,mpfs.yaml => microchip,mpfs-clkcfg.yaml} (96%) create mode 100644 drivers/clk/microchip/clk-mpfs-ccc.c base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 -- 2.36.1