From patchwork Mon Jun 15 13:32:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars Povlsen X-Patchwork-Id: 11605047 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E634190 for ; Mon, 15 Jun 2020 13:33:19 +0000 (UTC) Received: by mail.kernel.org (Postfix) id DD334207DD; Mon, 15 Jun 2020 13:33:19 +0000 (UTC) Delivered-To: soc@kernel.org Received: from esa1.microchip.iphmx.com (esa1.microchip.iphmx.com [68.232.147.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A810620739; Mon, 15 Jun 2020 13:33:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="grAR3nP4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A810620739 Authentication-Results: mail.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=Lars.Povlsen@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1592227999; x=1623763999; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7jqIHOYBzLEkUI/gyT4h0PiTuHWl6t5kNRx1viuzrLA=; b=grAR3nP4rHxf+4AHmK6aoyYjFdWJ70oFQx4geth8+4/Oe12RUm1csxeZ Gdv7ZcK7fZ+g4xlBK4LazdBjJ921MG60qXhZaprI5vhhqRsvrm5EPKhYV QU7hiH9JXXjNnCVXAc+S/hf7IutsvThnuQMfThHDHvW2usSK7MsnJvr4l 1NtJF+j/7ODhh2W5SSoeUtF/ZbuffL4Qa/8GQn2UdPiRIbhIXKhNAfU9F U8EEN7FjEl/YntzXT0NJcvFr8LQawtWMr6FDjfYvhn/eXlsf5TAf8TLX+ +FEHpFgCSLHk/PZbtNkUOAfbSPLtYQgVvgifRbH0tfQYSZsmImmlHictg g==; IronPort-SDR: yufsqD9qyb+fw5WP3N9pN5zY94Wts0Vf92UN8PXQBlFAJ5pUF29Ahbk/9mOXbS2CbufLnxFLJW B0nP7oZq/76MrosCTpxIjPuqz6geBPFI6cEVBfngF18LXYbRCTotbghYIJMkGhfpVD+f6jnGaq ZSfWe8WpZ6IyWWNoBcfnGsSx+oHrmlm4NVWm5ydtXfbRYF+t8FfTAKud1ojy4ftaH6c2eF7cAG gu006u/YpmaJ/b24TZM3riO3WoYsFjLAH4SMsq5WfSU2PyneR8zglAuWlNWh0xwwEfRwQE4BWz +NY= X-IronPort-AV: E=Sophos;i="5.73,514,1583218800"; d="scan'208";a="83619496" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Jun 2020 06:33:18 -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.1979.3; Mon, 15 Jun 2020 06:33:18 -0700 Received: from soft-dev15.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Mon, 15 Jun 2020 06:33:15 -0700 From: Lars Povlsen List-Id: To: SoC Team , Arnd Bergmann , Stephen Boyd , Linus Walleij , Rob Herring CC: Lars Povlsen , Steen Hegelund , Microchip Linux Driver Support , Olof Johansson , "Michael Turquette" , , , , , , Alexandre Belloni Subject: [PATCH v3 06/10] dt-bindings: clock: sparx5: Add Sparx5 SoC DPLL clock Date: Mon, 15 Jun 2020 15:32:38 +0200 Message-ID: <20200615133242.24911-7-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615133242.24911-1-lars.povlsen@microchip.com> References: <20200615133242.24911-1-lars.povlsen@microchip.com> MIME-Version: 1.0 This add the DT bindings documentation for the Sparx5 SoC DPLL clock Reviewed-by: Alexandre Belloni Signed-off-by: Lars Povlsen Reviewed-by: Rob Herring --- .../bindings/clock/microchip,sparx5-dpll.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/microchip,sparx5-dpll.yaml diff --git a/Documentation/devicetree/bindings/clock/microchip,sparx5-dpll.yaml b/Documentation/devicetree/bindings/clock/microchip,sparx5-dpll.yaml new file mode 100644 index 0000000000000..39559a0a598ad --- /dev/null +++ b/Documentation/devicetree/bindings/clock/microchip,sparx5-dpll.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/microchip,sparx5-dpll.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip Sparx5 DPLL Clock + +maintainers: + - Lars Povlsen + +description: | + The Sparx5 DPLL clock controller generates and supplies clock to + various peripherals within the SoC. + +properties: + compatible: + const: microchip,sparx5-dpll + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + +additionalProperties: false + +examples: + # Clock provider for eMMC: + - | + lcpll_clk: lcpll-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <2500000000>; + }; + clks: clock-controller@61110000c { + compatible = "microchip,sparx5-dpll"; + #clock-cells = <1>; + clocks = <&lcpll_clk>; + reg = <0x1110000c 0x24>; + }; + +...