Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2369060pxb; Fri, 17 Sep 2021 08:17:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnGm10fCiwY5aSrtMjcLrACEOwvCW0HDKUffGZy33/6EJZihODNqGS/V5iiKK4bLpTLVAF X-Received: by 2002:a1c:403:: with SMTP id 3mr10929790wme.161.1631891860606; Fri, 17 Sep 2021 08:17:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631891860; cv=none; d=google.com; s=arc-20160816; b=Ro0eMgOdYPLDutm8OE+ZASISH6Hjy5N6PzMUhdIGBVp38VoC/3hFewHc2wsFNn+SK1 YrzEOOk63XFW+O/G1pUFFc3sFNM05XSf2np2ILCN9j0nSoRVtqUnQki6aaoLcofYZJ31 CWPZc6wjwxyM7rs7evd6ueHWhSxM8Te9rI4RKOuGPlIQ0pqdE3tOgyW8eI3lLMqkVijd jsdoL4scphfb342JzkHlAXgHEMzTYC9kofOS+ukss6HHlIGwdIl8TPrtqU+rqNOenKcW TtulW8FccAeLEDhe2xnAizh8mWQ3n9zIV1VvbER3QuYU+g1gRlMITFhW2wK1Riw40X6W xMwg== 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=XdZCGDLJZXLV3NSPwfy/0VS9t83I/hphomGYX8YrFUw=; b=K0N38eMVZaZujlJJnCJoUGl12R5ekHGFa8ZMJfveKUWm1zr5UBbQNI8gWGEscO2cvJ kJ0qKYBrL/kTHP5k34+1J6lprF427/zzC3uiq6wweWoSLm0rxnSZ31qa5J70qW4agrpm 1vLPVDpv6p6qy4/HGa2bw9Yvb2kFyugDOtRtFNwImeRJli6i+wVZBtMvaJIwjpuMYdIW t4j/RS30d24LCwiXTFMAph7STLPJ23qxgaYu2jzvxi7ZVZFszIaS8kEPfCsff7rm1ikM DGWDu7lM52kqKAn6yIXBkUF6cGrgWSKMJ36P0AxJJU9LhIOseQVSyPle9MJ+kvvccHHM bCwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=iv3NClS3; 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 n1si8049866ejl.229.2021.09.17.08.17.11; Fri, 17 Sep 2021 08:17:40 -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=iv3NClS3; 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 S241613AbhIQNyc (ORCPT + 99 others); Fri, 17 Sep 2021 09:54:32 -0400 Received: from esa.microchip.iphmx.com ([68.232.154.123]:54007 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241549AbhIQNyb (ORCPT ); Fri, 17 Sep 2021 09:54:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1631886789; x=1663422789; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=pPAzBKiBLjqg+RYO95Pl2gUVVqxff8BfJCiP9Q+qtCE=; b=iv3NClS3q+4l36ALRXpPozeeOA29UTTHToU5vh5lKqIQXhmfv64U8Eiw sQnn4h7ynMyRTN3osk9SUoyKECsVG2eMGTEBPYdskZc4uczhFjTemrR/K MINYX7qaqWq+AtAyFUEEnAsuGGlkLikfR52Iwrq/F2Se1rDTf50ELAa3+ 7WStBHEo5B0YYQ7fQv0SV8t9PpkwzXxJL3jJ5N5r+/0HEjAH5BUuAyIlx MbbzL/phwmfGzJaRZbgANfLyYM8Zz0YJ79PJQdI2ycN6+IfW05YjewRGM d45795AVFApXPM+kXZfspvrpx9b5qlrNITAK3v6vUBfdVpCxCvHqCBRnU A==; IronPort-SDR: nDByM33zTweFGq8UHRwlXh3TPJOGHsH/YPeSrNogoZQtgioeESINA83wSX/l6tqZJZXhyDv9Cf 3Fb3OTdb3yAIx5hey+rH81GOvZisKh6Dxe0wBhWa1bsSgtuuH/6IsxrEY8y4bmfDZbz0YNemej M86mrPFhiJtyjV1Xu0DeDte/+pIapypuhtFleakaahHNtjZ6Noyffj6Gp3I96nbPo3xhiTn1YF 4MZez9KC2oUvUnZ1LD6ihcLyvJzZzH/Ev//HmqdNVd4an7MyJfz0pdaQFXNNXr09C0WLDwZ/HZ DZQGIbGq36jz62IDuQJBOFf2 X-IronPort-AV: E=Sophos;i="5.85,301,1624345200"; d="scan'208";a="129684061" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Sep 2021 06:53:08 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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; Fri, 17 Sep 2021 06:53:08 -0700 Received: from kavya-HP-Compaq-6000-Pro-SFF-PC.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 17 Sep 2021 06:53:05 -0700 From: Kavyasree Kotagiri To: , , CC: , , , , , , Subject: [PATCH v5 2/3] dt-bindings: clock: lan966x: Add LAN966X Clock Controller Date: Fri, 17 Sep 2021 19:21:41 +0530 Message-ID: <20210917135142.9689-3-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210917135142.9689-1-kavyasree.kotagiri@microchip.com> References: <20210917135142.9689-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 --- v4 -> v5: - In v4 dt-bindings, missed adding "clock-names" in required properties and example. So, added them. 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 | 57 +++++++++++++++++++ 1 file changed, 57 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..e6b4ed3b0c88 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml @@ -0,0 +1,57 @@ +# 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-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clks: clock-controller@e00c00a8 { + compatible = "microchip,lan966x-gck"; + #clock-cells = <1>; + clocks = <&cpu_clk>, <&ddr_clk>, <&sys_clk>; + clock-names = "cpu_clk", "ddr_clk", "sys_clk"; + reg = <0xe00c00a8 0x38>; + }; +... -- 2.17.1