From patchwork Sun Sep 19 02:33:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 514285 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp903543jao; Sat, 18 Sep 2021 19:33:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMAbZzwgeOXyzgmtEdCgShbr4diZFNvfdOtQhEWqvUpgVV1A4h6Pf2Oy9Erb/SHq+gjAn+ X-Received: by 2002:a05:6402:1508:: with SMTP id f8mr21662451edw.255.1632018833699; Sat, 18 Sep 2021 19:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632018833; cv=none; d=google.com; s=arc-20160816; b=oDvV79d2F4TuThXBHL38fDlWdDtBpcQAL5CtteSpv0wcbfD1xlMqQw8KsHvmAWN4WS VIakQEMrkRB5XjqxvSlBeYw9slSj4U9jdK7Ygox5qQt4Zfg384UFL8azvzo1JAooMpWr y+UKktfUmV3vDnnNOidzBu/2SolQtB+EjahCO2OrPpZSejM/rUcLvNfs9D0hq4aGu70l qCOiti3m4A5j2CiOBTuFqGWEHDuMPwPQXMg6jX136XCrD7Xhy6YDqDkajEfZ6CDbAyZm v5rHeVpwy5L3Eb617qqL1SQ9uQoFUDmXv9dGomvcD2StiVpztqKnmOwJBJydtrVOU0Ah nbOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=knsQUtmuMiVfH/52E1/TKg3i9rf00ZFYDTvnm0LCoa0=; b=ERY0k2alk1CBuNzio+ZpQK1YCeOvPRFoo2msDUPXKu64h9+HNDf4JqFoXOCCsMnrBe 48tbfAZgRHyrGyeqpAQimom4WPMCOUgBGGnKsj5osO5xfDzHB7k2TFvyNdZZV6jjuFdI DALhyKGJbsHbeHagwbKjo2ZBfL9R5KrazwjwiI5h6JEyNx/0KzxGwBlAhdDyStCK2rQh zmqq54ytnG8GMzja6NE6ZQ12do6kGm6bsYO6leg7RcPMPxR2xsJ5Kd/cxwUNF64agtfv 23wdqEdOynuiIEDwFeThg75UDpLYWltE/IL11vRAtUIoPOILv8aH0AXq7d1hgNh54FLZ 36eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dRf9hgQc; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p19si13402768ejn.277.2021.09.18.19.33.52; Sat, 18 Sep 2021 19:33:53 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dRf9hgQc; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235005AbhISCfO (ORCPT + 7 others); Sat, 18 Sep 2021 22:35:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235027AbhISCfN (ORCPT ); Sat, 18 Sep 2021 22:35:13 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64C5DC061767 for ; Sat, 18 Sep 2021 19:33:49 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id y8so12885958pfa.7 for ; Sat, 18 Sep 2021 19:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=knsQUtmuMiVfH/52E1/TKg3i9rf00ZFYDTvnm0LCoa0=; b=dRf9hgQcFAJke6SFE0yZ0siuVxorr9rS/19fqnqsdyzwOhkVMGBhh/Aag3Gq3VFyNZ i8fHak1fTj1/3uaUuGEndDZRSEzmMiqPfkfyueRVNNgAIGAjbOh4VRfK87gGqGKVxLXh z76I4GuUmnm5wfp+iypQkFhIjfmGxnbYsW2iRsbHugZOHwtgc6OgUm/paI88dMnnC9DT SI9AhmZ35J9usXKJ97QecIqIpKvQthaDEuEzQ7KAGxN/FwshIGtl2HZ00/PujNYNKYRN YoTVTvhgKy7eM9+oG3S8GrBcV+vO1X1e3aAOeSzeaqaYA1yjkIC9ZEZXk9LuzcgNFat7 +NVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=knsQUtmuMiVfH/52E1/TKg3i9rf00ZFYDTvnm0LCoa0=; b=SoKNh2QKwGx7PlsQ7iQsRq9LnnLEScwqvgwI5EZXespVEhlPZy0LrS4gHIoZaNgz9g TaFem7WY2z4Qt7D+cdGPqolWxM1RAPu9YyMN07lUbna8bgFesAhq/mrak3qGSxJTyBml wcUw5R3avB0KWVIC9RllE2mnZRC/ixbUA7yryjyAhupYE2IUIhMF8fGQVNP/p8cDzVnB FgMY9ceOPZj4qm5wZiwxkQSy1yARds0dAg40geswzUPV/2ar7hWEoHdkhhaBRYKEDxCz wl2CkCqHfTTKd0AATzHEmoVb+4SRhS9DO6mTIZmoiZ4k2CCh5s6DOBu1e5lTYkGMLnZI C4PA== X-Gm-Message-State: AOAM532bw+I1WdrqjekoUFPnr6KkA9yOh5FYK5N8Kd+IDuIBz1Mj2QEt NWK6JIsWs3dibjqpsnvHZNQpKg== X-Received: by 2002:a63:5947:: with SMTP id j7mr17217942pgm.193.1632018828853; Sat, 18 Sep 2021 19:33:48 -0700 (PDT) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id t13sm9316687pjg.25.2021.09.18.19.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Sep 2021 19:33:48 -0700 (PDT) From: Shawn Guo To: Stephen Boyd Cc: Rob Herring , Bjorn Andersson , Loic Poulain , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH v3 0/2] Add QCM2290 Global Clock Controller driver Date: Sun, 19 Sep 2021 10:33:06 +0800 Message-Id: <20210919023308.24498-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The series adds QCM2290 Global Clock Controller driver support. Changes for v3: - Include GDSC support. Changes for v2: - Drop unused gcc_parent_map and gcc_parents to avoid clang unused-const-variable warnings. Shawn Guo (2): dt-bindings: clk: qcom: Add QCM2290 Global Clock Controller bindings clk: qcom: Add Global Clock Controller driver for QCM2290 .../bindings/clock/qcom,gcc-qcm2290.yaml | 72 + drivers/clk/qcom/Kconfig | 7 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-qcm2290.c | 3047 +++++++++++++++++ include/dt-bindings/clock/qcom,gcc-qcm2290.h | 188 + 5 files changed, 3315 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc-qcm2290.yaml create mode 100644 drivers/clk/qcom/gcc-qcm2290.c create mode 100644 include/dt-bindings/clock/qcom,gcc-qcm2290.h -- 2.17.1