From patchwork Tue Sep 15 07:24:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 11775767 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CF95B92C for ; Tue, 15 Sep 2020 07:24:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A93C321D1B for ; Tue, 15 Sep 2020 07:24:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EC+Yh96N" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726085AbgIOHYn (ORCPT ); Tue, 15 Sep 2020 03:24:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbgIOHYh (ORCPT ); Tue, 15 Sep 2020 03:24:37 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DC6EC06178A for ; Tue, 15 Sep 2020 00:24:37 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id r19so875455pls.1 for ; Tue, 15 Sep 2020 00:24:37 -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=qLQnD0O574PmqchHwylwIu1vZvsCOyk6uoC7Y035P2k=; b=EC+Yh96NN7VUrpu9VrwDTKqfosoTian8TpCa8LULjrmawU4sR9gh0aUhzzwrHCOq4j +/0fBgCGwkZRKX5yBfcfCsZjDe3TjZHgbGOwLUEqzi8Qga6HspQEpXAP6tZZpOa10JFW IbNUeVCE3ACdyHtvtfCx2N+XUsPwJFZmAA9o0QNQ+aw0DGjV7/OwEsg5GR+cRsoZGj2R 40DYzq3GQG6it509ZAv2ghXtAVRXYuq4ipvPZet8MTPfv/KuVHk1F/3sMTotq9n3s2VN wo/MsNPCNakIjm63+BVO/HSyzeDIXClh7H0MV7mM1LPg6Twzy98zsAOvqAzVdx7PYvjY WQZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qLQnD0O574PmqchHwylwIu1vZvsCOyk6uoC7Y035P2k=; b=Nk5OyqW5TNfdFbY3UyCS2GBq+QFUX/mqE4ez+J0Rs1GegoT16/kqOssK/1T25xCxpi 5D2GnduldJ6p0GfhpTLE+JpPdKvEij5FJi7OVn1kZe1iZde0Uhme2V/OU/+JaIe/XUnN LpW0ZaYlnW1GBpyOoe+8ip6nazwT6/oWLXwFn6DlC9Dms3B7RTHRQaTvHMFPUMP/1Nft fXf55V544Ql5bIWIDCTX7KYQLglMsj5tPV/KzJrpXN4NCAIIP9pUvEjlzTwubbuWnawc uP2jEpvWEkCXGBGAfq7g7RsBFSD0mw3IGnZF2Z/iE+IVkH+YgZVhTwhX+x1NS0DCz2Ky GHSg== X-Gm-Message-State: AOAM532mxmc73s5lNKXip85Hn+YGeF8yYcON4WnrU4nLuTlrJZF8+NBo cMDoNKpDxnD9xzAoK/bCWa/R X-Google-Smtp-Source: ABdhPJy7OZY+IuFBCVarMJtkmyCdKUypcZIIyOiMzldBQTKxxQLcwNy30YZbhi5yU4EK+AAS9rs6Ug== X-Received: by 2002:a17:902:7103:b029:d1:e5e7:be75 with SMTP id a3-20020a1709027103b02900d1e5e7be75mr535859pll.79.1600154676753; Tue, 15 Sep 2020 00:24:36 -0700 (PDT) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id m24sm10701501pgn.44.2020.09.15.00.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 00:24:36 -0700 (PDT) From: Manivannan Sadhasivam To: rjw@rjwysocki.net, viresh.kumar@linaro.org, robh+dt@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org Cc: amitk@kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dmitry.baryshkov@linaro.org, tdas@codeaurora.org, Manivannan Sadhasivam Subject: [PATCH v2 0/5] Add CPUFreq support for SM8250 SoC Date: Tue, 15 Sep 2020 12:54:18 +0530 Message-Id: <20200915072423.18437-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hello, This series adds CPUFreq support for Qualcomm SM8250 SoC. The existing qcom-hw driver is reworked to support the EPSS block on this SoC which handles the CPUFreq duties. The EPSS block supports additional features for which incremental patches will be submitted on top of this series! Thanks, Mani Changes in v2: * Dropped the regmap conversion patch * Used "qcom,cpufreq-epss" compatible and "epss_soc_data" for dev data * Switched to "of_device_get_match_data" API * Collected reviews from Amit, Viresh and Bjorn * Dropped patch [3/7] which got applied by Viresh Bjorn Andersson (1): arm64: dts: qcom: sm8250: Add cpufreq hw node Manivannan Sadhasivam (4): dt-bindings: cpufreq: cpufreq-qcom-hw: Document Qcom EPSS compatible cpufreq: qcom-hw: Use devm_platform_ioremap_resource() to simplify code cpufreq: qcom-hw: Use of_device_get_match_data for offsets and row size cpufreq: qcom-hw: Add cpufreq support for SM8250 SoC .../bindings/cpufreq/cpufreq-qcom-hw.txt | 2 +- arch/arm64/boot/dts/qcom/sm8250.dtsi | 22 ++++ drivers/cpufreq/qcom-cpufreq-hw.c | 107 ++++++++++++------ 3 files changed, 93 insertions(+), 38 deletions(-)