Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp486244pxb; Wed, 8 Sep 2021 05:54:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyppp3XDsKP50bxyBFGA7eTbt95TfpILxMPXFPoQGrB9JmeWr10rCizFa9HWo0BA7gTkpi2 X-Received: by 2002:a02:ca0b:: with SMTP id i11mr3628198jak.84.1631105659949; Wed, 08 Sep 2021 05:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631105659; cv=none; d=google.com; s=arc-20160816; b=xygWfnIN5vQtL+jc/cc3F5cS80VZNYHUDMnYdzw4svz4k4cCOHv0EhZBc3C57pkU8p B1coE8fTqqZ5A3wiCUXWQuHjXayXARGtem8zrfJRYbVdRk9tCArvmhLb6/k5yO7uArRI 7xEPCCZ5/Xa6fN3c7Xdhadmn3goS+GVv1GGy9FV4XbbnxAIkvvfQZ4UNEDQ5XsaJa+wE WHRbRxiPZMH4WDJ0oaqNFtADD6U7xs4kixkLho67sgrsqmcp1GsdSiv1a6oX/88Pq3Zr 66ptqC5PfLFA+gLm3i1HMlJ9C/O1QCQudBu4N5HKHGxKTS7eUzN/qSvLn/s/kLI99mT9 KIOg== 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=7cN/MJOI56fK99bGfEuHztBHvJoTiciMITmujEXQKTM=; b=qYFlAqUKW3pGvaD8fxVTrOseSSymUmyGc5MVke+y8FYj4XmL/LR6zT7Im1MmvlAFtN YIuuhNkBEybg1CbOP+iEfCuzAsj2FgeLeE1jCG8xfVzdpy8SYU4iYsQVWq6sJfmPKWDK RATW7o8yzngo5j3WuLMwPrRttqsuugVVaHMvR1gIcNfCTSMCEFVh/CkRdQCdKju9HDp4 jjzk0r/VH5p5gcduOw4Pvl/Ua4mueoXNrbaFu/irizomfRVwStIrzqmL8cTJ9aYbaxuS XIwhAhFBdCe3Q6wXaGxINC0eR7aa6Oc6/ZC+tRyW57UUt1TLMMI9j8ScLqhwdNZyezX6 xaSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=M7SgDO3S; 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 a2si1893002ilp.123.2021.09.08.05.54.08; Wed, 08 Sep 2021 05:54:19 -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=M7SgDO3S; 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 S1351501AbhIHLuU (ORCPT + 99 others); Wed, 8 Sep 2021 07:50:20 -0400 Received: from esa.microchip.iphmx.com ([68.232.153.233]:57626 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351496AbhIHLuQ (ORCPT ); Wed, 8 Sep 2021 07:50:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1631101748; x=1662637748; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=IJzUTubxDUwl5su3QPbEKI+MlLxshdcIy7LIdDNq1Y8=; b=M7SgDO3Sm79uhfzLtuQHfFfQbURJhAZYH2R+7h5tUE1j4zGjVQ65wxdS dzJkN1uGArlN1mF5zhxInc3osGIlsSCG84x+xDzv5IwkyeQCaj6k17Srz ia/8djySpNyXmtqdbKYTWlZYWh7fIqYsSxFGbO30PK4nkYhdQI0TUfIBY ZXoSGieseOggiMcL5WhLMcnJKcvUjofdWoxiWcxRVUpoHPV7Vou6hQ0o1 q5KGkzhrc6bmIJBRGaEbxdvhZdshWWC2raxi8JUE9ZSGFFBFUMPVPCVqt cwvYF4VG0J6xcov86LzRrIOMUpni/UAahEPq4Nu0LLOmCBVvMTTcGyaso g==; IronPort-SDR: mIUbWEL961g0oskuyNoyRW5gpNk5Us3/EyDrhoP5QoRbQFGZWSZJ1yFfb+NTyE7SaaYPBaRTuH dGSqd5+3+LVd9ZtB5jdV1vKAe5HsGbF9IKH4Lg9GUkpMc50vpU27Z80nto8XsASWMjJGr4cZNV 3OFOrM6Lxx36ul0n70OCgKpUffRJoc+Sgox5fav535/A01UfpFV1G4bPkLCFyJ8Ogsxk0As77g JdS/8rnaFszdPwcYNFYPxgi6FSVoivtWMSG1z7c1LAPK6YUgI94VlRE/BV9qjpAfzv0oTviWAf 3vTRHjddRps3Q77yg/Jz/J01 X-IronPort-AV: E=Sophos;i="5.85,277,1624345200"; d="scan'208";a="135795780" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 Sep 2021 04:49:08 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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.2176.14; Wed, 8 Sep 2021 04:49:08 -0700 Received: from kavya-HP-Compaq-6000-Pro-SFF-PC.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 8 Sep 2021 04:49:05 -0700 From: Kavyasree Kotagiri To: , , CC: , , , , , , Subject: [PATCH v2 3/3] dt-bindings: clock: lan966x: Add LAN966X Clock Controller Date: Wed, 8 Sep 2021 17:18:44 +0530 Message-ID: <20210908114844.22131-4-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210908114844.22131-1-kavyasree.kotagiri@microchip.com> References: <20210908114844.22131-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 --- v1 -> v2: - Updated example provided for clk controller DT node. .../bindings/clock/microchip,lan966x-gck.yaml | 64 +++++++++++++++++++ 1 file changed, 64 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..cb8c1f5002f8 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml @@ -0,0 +1,64 @@ +# 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: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + +additionalProperties: false + +examples: + - | + cpu_clk: cpu_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <600000000>; + }; + + ddr_clk: ddr_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <300000000>; + }; + + sys_clk: sys_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <162500000>; + }; + + clks: clock-controller@e00c00a8 { + compatible = "microchip,lan966x-gck"; + #clock-cells = <1>; + clocks = <&cpu_clk>, <&ddr_clk>, <&sys_clk>; + reg = <0xe00c00a8 0x38>; + }; +... -- 2.17.1