Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2568773pxb; Fri, 17 Sep 2021 12:54:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcuWRvWdAApYJbCXqvljsrbjqWCOov5A8Q8tpi+Fb32lMV8G7RZWxlBFZbe5XZ+eXlFlxL X-Received: by 2002:a17:906:318c:: with SMTP id 12mr14701935ejy.28.1631908479334; Fri, 17 Sep 2021 12:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631908479; cv=none; d=google.com; s=arc-20160816; b=FqeE0cbWabpAFlqF6CdfnexrKltlgoyweZAvkvgoWylD4pAoisVoE5ZDBo/xQ5wlww Qi4jxEewCZocL6X12Sn8rlw2NtxRvN3wmu/mIbjI3btRn+Ksi9iPLGKHXWDT+G8brEdS ML0/fXwJNiUsh33fgd+5jOyiAgt1qLLRBoygmgcR97uFnjIw6e5UL2rOETDHuqD+Bd+l sZMVWyzBFFlMiq6QM/jE4BmkUM0gbGX5+SIdzsBSpPsmDYnfU+NBAZV80P5DNVPj34JH VLKRivlQXE9cFh5KkBgyqncslKYbWbiT4mTYrNVkLXFuDVqm0u15K2W5Ohg1RuDywux9 DM+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:ironport-sdr:dkim-signature; bh=6RiZD75lLJJ9sb0o5zvluQ4WPjFpZjDLM1znn6SN7Ns=; b=L8E98W+b5ehadoADNSPNBccyf6+A4rA6mHsn59b2jPASwFe3FdO7n8hOpi7mtZSM8j 2Tr7A6m2JZMXdAWcNyUhZhj1twiRp13YYJQ/HYzGS9SWY9zVQ2BkykXtVIXn0mSgFt2O JhKOYTE9GWYdkkf6+1KMnnYa7szlcCkvZpn5naG9fNb9WNA10zwsfabN5PfE9QzsqlyI Ys1G2HWzlkQz6zzfE1LOClWXJNiDV1gXRGNdZlLZbUntzGT2ygq/SH16J750ZZRAibK3 tfe3+fOS5CBibkprDcFy05yu0LFh/wQlfRCWZ6/2oGHnNx1Gviw9ZuiZn1eWpy4c57jC SHtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=KNTCcofl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si3689856eju.406.2021.09.17.12.54.15; Fri, 17 Sep 2021 12:54:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=KNTCcofl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243760AbhIQMXz (ORCPT + 99 others); Fri, 17 Sep 2021 08:23:55 -0400 Received: from esa.microchip.iphmx.com ([68.232.154.123]:26758 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243679AbhIQMXt (ORCPT ); Fri, 17 Sep 2021 08:23:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1631881347; x=1663417347; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=QaeyoBiXXMSjWzTQIcjpjaH9meMo8WgiifrLMl2FpHY=; b=KNTCcoflPn2hHyfxhsQ5xRr+oLzO+Ku17ghA6Jf13pmKg5bXSTeB9SG9 HcjHtry/fJomMIW5XlCfgqdwNAXFTto42AT5dgnqQEWbFaA3snQu1GJqO D2HRneLCmZTt+yP71NZEd8IobvucFuxYGMTebzoFvUAM5HDxhY2Z4E7CM R4hLARfOr2/O00gAcrsk7cdQXFmWokLMuMNxP8UkLUGjG8hfBvXVExzHa GZGvggfubB1bGajh3yDE7lfELahE/4bKibNeOck6CIvn3agp0sj2f4zDW iflkTScZAoItjNaTAlyjvpbKIy6vOhEsZtYIcw+xP9NalVUe5NI03/b1P w==; IronPort-SDR: Q45hX1ez+G8hjmLfKB2fBWCfOzJlZlRcXF5AB8UaPYJ4T99S1X8ZsIDkZ3+wepK0sKje1c/ruJ egU/hcKnGgSiLCQCQw22KZkTR75SrYRNCQiI0Dya7KCJJJxpN5JtVFVdfIi5PrYRqyx/GAaGz3 jevHS0f2vnv+1KV/q/vWSXZjK6pTc7D1/4iRjbBtPr6yfl+pKTg3jQyrInzAU27k3PI/w84La4 rdmlZd1kasDAf1usMm4IV4s20xa0Bu9EPVbh4JyC0nbgYo9fHJswEF2eXlfQ9BclyUnY5NFWkN vP8RL+LODPmiI/EPQc9pmhak X-IronPort-AV: E=Sophos;i="5.85,301,1624345200"; d="scan'208";a="69666030" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Sep 2021 05:22:26 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.2176.14; Fri, 17 Sep 2021 05:22:26 -0700 Received: from kavya-HP-Compaq-6000-Pro-SFF-PC.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 17 Sep 2021 05:22:22 -0700 From: Kavyasree Kotagiri To: , , CC: , , , , , , Subject: [PATCH v4 2/3] dt-bindings: clock: lan966x: Add LAN966X Clock Controller Date: Fri, 17 Sep 2021 17:51:56 +0530 Message-ID: <20210917122157.557-3-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210917122157.557-1-kavyasree.kotagiri@microchip.com> References: <20210917122157.557-1-kavyasree.kotagiri@microchip.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds the DT bindings documentation for lan966x SoC generic clock controller. Signed-off-by: Kavyasree Kotagiri --- v3 -> v4: - Updated "clocks" description. - Added "clock-names". v2 -> v3: - Fixed dt_binding_check errors. v1 -> v2: - Updated example provided for clk controller DT node. .../bindings/clock/microchip,lan966x-gck.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml diff --git a/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml new file mode 100644 index 000000000000..214a2bea35cb --- /dev/null +++ b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/microchip,lan966x-gck.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip LAN966X Generic Clock Controller + +maintainers: + - Kavyasree Kotagiri + +description: | + The LAN966X Generic clock controller contains 3 PLLs - cpu_clk, + ddr_clk and sys_clk. This clock controller generates and supplies + clock to various peripherals within the SoC. + +properties: + compatible: + const: microchip,lan966x-gck + + reg: + maxItems: 1 + + clocks: + items: + - description: CPU clock source + - description: DDR clock source + - description: System clock source + + clock-names: + items: + - const: cpu_clk + - const: ddr_clk + - const: sys_clk + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clks: clock-controller@e00c00a8 { + compatible = "microchip,lan966x-gck"; + #clock-cells = <1>; + clocks = <&cpu_clk>, <&ddr_clk>, <&sys_clk>; + reg = <0xe00c00a8 0x38>; + }; +... -- 2.17.1