Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1733826pxb; Fri, 24 Sep 2021 10:38:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy15XofxCIrRw/QRMhUcKZcE/uG0EvDHFfsLLumsmBwIySqZPqhRd0JHstY6oocW8mczNnB X-Received: by 2002:a50:9b17:: with SMTP id o23mr6541803edi.341.1632505117410; Fri, 24 Sep 2021 10:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632505117; cv=none; d=google.com; s=arc-20160816; b=oq0x7r0EdmVLunXOBo+LZ7heHJv11HHGr7poX9vhXOfVREYqynnWJKtVKdtJSW6UlL /CG6EEQbl4MAQowrXar8Yji+SJ5cJVeAHCpv+IdUWzADZEQcDZ0qREPQPclpwfzPE60d x+3jo/xjKbfLZv7vm6/YR6QiYW2wO6w/nYMAwwUYzfwcnwb9LOy8WRivtArgpP6yWe+8 0GEEOb+SgT/Mgrh7K5oERBjaWhjwjIO+Njmyk643RGlnJKTq28BvExIZhvyAhoLI04vA sGmu2LSXcwIlhDSxzQ0g/JvSEh/H85JDLy+tIiRd+3TxVbnuirKevmtDVGfhCzWrXKic oT0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :ironport-sdr:dkim-signature; bh=NtMEwF840SUxqTUbuDZ9Y9R+CZsEhBgygc1zcltDChI=; b=P0fC/VY4x38XiOh4n0+2WGuxbXgOS3EwTeqNfGql9ZmQUB6zZtRNX2/hI1FurzFtW9 FCo5A/w/OydU5+ZRNPpSpc4HQ7PvIvz9if7dVgdcEVeZWcG6TzOXdXTjlpvK1omiW3JS wr3LrJ0jsOPjLnkLUFObE7V75/+0NHdtXub8zNO1oPk3J3IReTP9fgkyf7QOqqdhCbz+ bvpWCvIwP7I4pA7fm8wiktj7UKy+Nz0iMnAACo6Vcm1Dxhya50Chtob8MI5d27yNRx2r XpHekHCuhionKCIlO3GEySl+/qr6B0LitmRCn1l6Aw/wxYYKEaAd7lAML7cmZcMPxUbq u9sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=f0BIccMi; 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 t5si10496944edj.607.2021.09.24.10.38.12; Fri, 24 Sep 2021 10:38:37 -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=f0BIccMi; 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 S1345464AbhIXNBV (ORCPT + 99 others); Fri, 24 Sep 2021 09:01:21 -0400 Received: from esa.microchip.iphmx.com ([68.232.154.123]:22007 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345554AbhIXM6d (ORCPT ); Fri, 24 Sep 2021 08:58:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1632488220; x=1664024220; h=from:to:cc:subject:date:message-id:mime-version; bh=AmKKclpZcFNcvwMP+o4M6sQV78XNe3m606nLof/hX7U=; b=f0BIccMiHO/aO3IQF0iYuLiiJ9DTlmXUmD2JH3adgu0qcS2SVKXGdN3k khKwaHIuP9+JwhgcVlAY6ibPnOzIbmjUSLYKTXNzW+ncZs8gJpgit6swy m8LgLFZD2I61ViaXJZD5kE/+JhY3Ml0xwmn8SSrDQ1Jh+e7xJ47DvAgQr e183AmGgYBAaFh/gcwDhHZwXQZ0rrblKDZjDpzxrlN487f7ckWYoFHSFl QGkIgMx/4VsfJLEHnorytqIwO8kOeqUPf/yaH6/5tNZWSsHVS2PnVwy0d xET9Y6DQAs/l3fkKbQi3COdjAilBhtRc45fytUTo1pCvIvI8rYclLQqPQ g==; IronPort-SDR: kV9HdlRilkcqA6M2KxI509HJJQvLmqlFKpiuSG+EjQbhrMtym/MRkwU24X7fuq0+IkMQGc0Lpr P3febleJik1wDpv10Um/YzToPYQVJ0SNu9jmiEMFOS1qauf25VaCCnYl1bJcPR3Lzfv2LQkG9g h7bWHbJektY2z/DUBoeIPrmfe6pRDgfd78Y83v6STYnGxMBI5FFWr/4r8sBFLOp0eIkPx8q2X4 +5LXz9+daNLaVbjW4t13hWyiIBrfM0L8UA0SnmrispMD+QZ50gyBMSB//v5l+Cn9W2mPq0yMup f/mRVD0QwCmEKsRkJee15MFA X-IronPort-AV: E=Sophos;i="5.85,319,1624345200"; d="scan'208";a="70524939" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Sep 2021 05:56:58 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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.2176.14; Fri, 24 Sep 2021 05:56:58 -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; Fri, 24 Sep 2021 05:56:55 -0700 From: Kavyasree Kotagiri To: , , CC: , , , , , , Subject: [PATCH v6 0/3] Add driver for lan966x Generic Clock Controller Date: Fri, 24 Sep 2021 18:26:50 +0530 Message-ID: <20210924125653.2955-1-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds a device driver for Generic Clock Controller of lan966x SoC. v5 -> v6: - Added Acked-by to dt-bindings file. - Removed "_clk" in clock-names. - Added Reviewed-by to Documentation file. v4 -> v5: - In v4 dt-bindings, missed adding "clock-names" in required properties and example. So, added them. - Returning proper error - PTR_ERR. - Removed unused variable "ret" in probe function. v3 -> v4: - Updated "clocks" and added "clock-names" in dt-bindings. - Used clk_parent_data instead of of_clk_get_parent_name(). v2 -> v3: - Fixed dt_binding_check errors. v1 -> v2: - Updated license in dt-bindings. - Updated example provided for clock controller node. Kavyasree Kotagiri (3): dt-bindings: clock: lan966x: Add binding includes for lan966x SoC clock IDs dt-bindings: clock: lan966x: Add LAN966X Clock Controller clk: lan966x: Add lan966x SoC clock driver .../bindings/clock/microchip,lan966x-gck.yaml | 57 +++++ drivers/clk/clk-lan966x.c | 236 ++++++++++++++++++ include/dt-bindings/clock/microchip,lan966x.h | 28 +++ 3 files changed, 321 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml create mode 100644 drivers/clk/clk-lan966x.c create mode 100644 include/dt-bindings/clock/microchip,lan966x.h -- 2.17.1