From patchwork Thu Jul 29 18:04:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 12409421 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FC8BC4338F for ; Thu, 29 Jul 2021 18:05:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 556D860FE7 for ; Thu, 29 Jul 2021 18:05:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231411AbhG2SF1 (ORCPT ); Thu, 29 Jul 2021 14:05:27 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:60197 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231599AbhG2SFZ (ORCPT ); Thu, 29 Jul 2021 14:05:25 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1627581921; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=L9pEBDdnVBj+9bMxTYKt2IOkXubYIrsVsye6ORDSskM=; b=dYkrq3J9yp9wRYF3Js7DG8MEtno0DsgtbbR2JdgoZt2gaf19EPQUl9DfGC5jAt9gAXtPBC8u 987trlPJa7aimB4IicylYM/whU2cLvOOV8tqIfffukYb88QqPBM4Dc5s49tNWHDLa4apQpj5 zWxdgcdJmKZvAiEj6rRaXJUwbbM= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI5ZDFmMiIsICJsaW51eC1wbUB2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 6102edd1e31d882d189a0a40 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 29 Jul 2021 18:05:05 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 4224CC43217; Thu, 29 Jul 2021 18:05:05 +0000 (UTC) Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9E78CC43143; Thu, 29 Jul 2021 18:05:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9E78CC43143 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: sboyd@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, mka@chromium.org Cc: viresh.kumar@linaro.org, agross@kernel.org, rjw@rjwysocki.net, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, dianders@chromium.org, tdas@codeaurora.org, Sibi Sankar Subject: [PATCH 1/4] dt-bindings: cpufreq: cpufreq-qcom-hw: Add compatible for SM8250/8350 Date: Thu, 29 Jul 2021 23:34:42 +0530 Message-Id: <1627581885-32165-2-git-send-email-sibis@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1627581885-32165-1-git-send-email-sibis@codeaurora.org> References: <1627581885-32165-1-git-send-email-sibis@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Re-arranging the register regions to support per core L3 DCVS would lead to bindings breakage when using an older dt with a newer kernel. So, document the EPSS compatible for SM8250/SM8350 SoCs and use them in the CPUFreq-hw driver to prevent such breakages. Signed-off-by: Sibi Sankar Acked-by: Rob Herring Reviewed-by: Stephen Boyd --- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt index 9299028ee712..ee52fd8d3c9a 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt @@ -8,7 +8,11 @@ Properties: - compatible Usage: required Value type: - Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss". + Definition: must be one of: + "qcom,cpufreq-epss" + "qcom,cpufreq-hw" + "qcom,sm8250-cpufreq-epss" + "qcom,sm8350-cpufreq-epss" - clocks Usage: required