From patchwork Mon Apr 18 16:22:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 12816809 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 071C9C4332F for ; Mon, 18 Apr 2022 16:22:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346116AbiDRQZL (ORCPT ); Mon, 18 Apr 2022 12:25:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346111AbiDRQZK (ORCPT ); Mon, 18 Apr 2022 12:25:10 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20FBF2ED66 for ; Mon, 18 Apr 2022 09:22:31 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id g18so19079090wrb.10 for ; Mon, 18 Apr 2022 09:22:31 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=5UcOXVNhBqW5Ks+E6zq9WwfA0YmdX2BW7sLm1qI65JQ=; b=fGFN0H643ROtLz8qHmRmxJWVMRhktrnJwhqSBz1hS2zhknCdiljTZ4iYpfPpWy6M7n sNmYTOitPwTDB2Qo/6nueM4ni7dNKqjS7JftAp7uD3EKdONUUGHm/wXxDsGneKhMNnBF 1+QzhA+hmcnFMHDwce0RwYIxpGBkVg8G+jLwaF+8VPRKfj51PmdpKAPxMYehxYE7M9p1 3rXY2gPuxmKcsyTpKbFcIAWhHr0RhrUOQpnCJbK9FGdi07oAg5yVx5FmReLKvJEkIH9z 8De9e5Qe479M3DV6MKqate+O7SwFcO/vBNprWj+eZWy9qAkzGiZzdE9tvLBuEGJaSRDY LBjA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=5UcOXVNhBqW5Ks+E6zq9WwfA0YmdX2BW7sLm1qI65JQ=; b=JaRzgdrfphzr1vGBPc0lmel0VHgTSy/dRzvY4LvNQe3Hnf+n1TM/BTbkGE2hlPT1x5 gQjX+lGxVP0WMALaOMUhMDEK+Gvfl6aSar0R20es4jjQUV+rz27U0jTKggvcK3cIYvxh mZayyz3qmiEwd8lZUnhyfEynLLq5VA/Ve8cSTPvPeilYT+eYBlKalIVb4YxD8h7Y5oDs 9CqsG5lqX+RMfUick5DmUoUZ0XSZa2j8sAlc+LuwGEwVahWIkedMKMtIC+WR/lFMaCaU rKE68nRP5k0L9pRif0hI0eHeWrbHC8VjvxLpHe5csrvpYocm8td0gcYBGFiKgjx3c2xM XZ+Q== X-Gm-Message-State: AOAM532PVktwvjqe2pkTWRULrxLiubWJ1wxwjd4OIJRp7zty8m2LGBas QzJ9807Lhxx4PsfTnJdmVTQyZ6mdC4XYmA== X-Google-Smtp-Source: ABdhPJySd/Kb215eN49sj4XVWZxJBPqGLwcgslKA9jNnheiw0gNvYOhdZpU20D8ACs/emVjmAiuJXg== X-Received: by 2002:adf:fd50:0:b0:207:9f29:1dc2 with SMTP id h16-20020adffd50000000b002079f291dc2mr8459212wrs.135.1650298949702; Mon, 18 Apr 2022 09:22:29 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 205-20020a1c02d6000000b003928c42d02asm8460853wmc.23.2022.04.18.09.22.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 09:22:29 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, ilia.lin@kernel.org, rafael@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, bryan.odonoghue@linaro.org, robh+dt@kernel.org, krzk+dt@kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: opp: Add missing compat devices Date: Mon, 18 Apr 2022 17:22:22 +0100 Message-Id: <20220418162226.2983117-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> References: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org A number of devices listed in drivers/cpufreq/qcom-cpufreq-nvmem.c appear to be missing from the compatible list. Cc: ilia.lin@kernel.org Cc: robh+dt@kernel.org Cc: krzk+dt@kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Bryan O'Donoghue Acked-by: Rob Herring --- .../devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml index a9a776da5505..5eb1dba13fe2 100644 --- a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml +++ b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml @@ -22,6 +22,12 @@ select: compatible: contains: enum: + - qcom,apq8064 + - qcom,apq8096 + - qcom,ipq8064 + - qcom,msm8960 + - qcom,msm8974 + - qcom,msm8996 - qcom,qcs404 required: - compatible From patchwork Mon Apr 18 16:22:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 12816810 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B3CEC4167B for ; Mon, 18 Apr 2022 16:22:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346127AbiDRQZM (ORCPT ); Mon, 18 Apr 2022 12:25:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346126AbiDRQZL (ORCPT ); Mon, 18 Apr 2022 12:25:11 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D2672ED69 for ; Mon, 18 Apr 2022 09:22:32 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id y21so7528602wmi.2 for ; Mon, 18 Apr 2022 09:22:32 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=V5b0KiqwmQsw2Tvjdq6eIg9g7/J0fkOD26ZVfdSPlIs=; b=BcUIF1ErX+4shLIyGAX+bSueP0Zm/r3Ehw2UwZvbbGd9oHpsJB3AkkcqMjvEr6/2Xi 1Yn+iSgQa7PNL8U99L31L02XEZXRSrwgzmO00AFOMsVW1pudSMXf1t687ijiCVOZ+HmV ZGDX83Uu/IDNQGZbRvHGUyI/S5CMn5QrfTb0e1lV+BNqh59AkawSHmgZ7r82ogxVOlEL wsuH8FNi/Kqe3969wAlH4+C7X1fz0yi67nSn0i/VwZ6Q70VljlRcM1G0plBEA9hgGjib xc+uN3q5b3a+yjXDiED44Oh2yHYpy8Q+n8NIw4eR9vgfbMNlmAxYXoEqicaK6IQHFH+q rhtw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=V5b0KiqwmQsw2Tvjdq6eIg9g7/J0fkOD26ZVfdSPlIs=; b=bdBOWsStN0uitx2mTyU/5DZPolyr+6tS4RrFA4FCphB8fsyY8hajbTJ1q2RCitlCTo fqiUmoNDeg/gGBIvOGRTGVLmtWG1kSLZ4dL8JkYtyPrdYEaeaMz3/zzHxfXd5irexS4H DnNh68VUaNEZwz60OxLInszaltOxtbNuO4JSibMwB9tAXdJSkjG4awrWTJnrU8VZjXRk Yn89B3g69s1P+OFIf924KpFWY0MI07kX+4VIBVEau3Yk16C5HcmOYWT2z+Z1QHwR1faA IA6szAz5AdQq9TAZvJy8D2aDY4X8HLlJLefivQQdgNNeJ/JlIdvEwtkeM6w2puD63Vzz LoXQ== X-Gm-Message-State: AOAM530jk2WDXal3rL+XfhXg5qX0TDbvA/ORFyY3myjGLKMI2z+bNP9P 4ynyNloZ6Wylt9tX74el9alDsw== X-Google-Smtp-Source: ABdhPJxZ4oqO/Fv6fGtxar/p297USwA/n1VvAER0b9C9gz6tZCWPT/We7nTz8zslgsZBG2QlWgRUPQ== X-Received: by 2002:a05:600c:4146:b0:38e:bd41:39a2 with SMTP id h6-20020a05600c414600b0038ebd4139a2mr11693591wmm.18.1650298950685; Mon, 18 Apr 2022 09:22:30 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 205-20020a1c02d6000000b003928c42d02asm8460853wmc.23.2022.04.18.09.22.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 09:22:30 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, ilia.lin@kernel.org, rafael@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, bryan.odonoghue@linaro.org, robh+dt@kernel.org, krzk+dt@kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/5] dt-bindings: opp: Add msm8939 to the compatible list Date: Mon, 18 Apr 2022 17:22:23 +0100 Message-Id: <20220418162226.2983117-3-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> References: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org msm8939 will uses this driver instead of the generic dt-cpufreq. Add to the compatible list. Cc: ilia.lin@kernel.org Cc: robh+dt@kernel.org Cc: krzk+dt@kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Bryan O'Donoghue Acked-by: Rob Herring --- .../devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml index 5eb1dba13fe2..7efae476c02e 100644 --- a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml +++ b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml @@ -25,6 +25,7 @@ select: - qcom,apq8064 - qcom,apq8096 - qcom,ipq8064 + - qcom,msm8939 - qcom,msm8960 - qcom,msm8974 - qcom,msm8996 From patchwork Mon Apr 18 16:22:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 12816811 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E5D6C4167E for ; Mon, 18 Apr 2022 16:22:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346120AbiDRQZN (ORCPT ); Mon, 18 Apr 2022 12:25:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346111AbiDRQZM (ORCPT ); Mon, 18 Apr 2022 12:25:12 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1125F2ED5F for ; Mon, 18 Apr 2022 09:22:33 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id ay36-20020a05600c1e2400b0038ebc885115so139964wmb.1 for ; Mon, 18 Apr 2022 09:22:32 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=izd4aobBUdIcnlIk6dxtT+7YkZnxvrym4hDj9aretWM=; b=p0/RSWXMzm8ANXrbLys1Y2hsGjB4b1SvGMV2LDNnYbWA3GGqD4YOXasXCb53ZJJOr3 k27ci5hrLmiFetzqr8lxTKl0u8u71J40S/UrZwsARjIKUrNZndTibo/1e3QB7ZAXb0Eu t2WKF+pMkzbdO4LGTUkYuykeeZjj4qDHCXAD+h1pw0fqT5VPscSUjiXpTfD9Ce+SEiGH daOOaXY9o+Y+U4N+QgT1FziGyOSj3FYrEE4Ewjz+JVwiPvut6CJeIeBJyNA1x8Ve4Wri Lw9Ek//k6E3rQNo/y8HroEQGMhMxCbZuXCXpC4EJBVaJychxSxG+zPNeFA80UV5Lv3v8 SB6A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=izd4aobBUdIcnlIk6dxtT+7YkZnxvrym4hDj9aretWM=; b=xhXNqN7Q8KsBnGnK/QuduTWxY2Pv4tmWssYGZShlwrUIFDIFA3gllIg+7mg0xfDBKK pTKQ3tulMAzOT8weJJhfsVWsn+kDooaYA6xIw1+LZYvHh3rY6VNr0NJ76g9oIukovzPn JX4rCMd8Cp5aSgJtxpsxp1kl37E4VZzhK2Cw3ZZ4W2Abbux6Xbe63R4qOMmyL784FjUe +/bbWRSHm6mOvyV4QO3Tj4YJaTiuMpb1e7lWLbT51ZinapMseeIx100esWySsxyqg7KC TMOX1fqYlDW15JvrspenenufFclydstUtFw0R1K6GAOOeN2BSt2FBf24I19WWnFegkqz uqTw== X-Gm-Message-State: AOAM532EbFvJL/rvjs1/FGENHIoxlykify5Ciyxi4JbZvDbt/OUFGq3q fnxzQtCvA4n/2Ap/vF6aUs0AGXNAszB5OA== X-Google-Smtp-Source: ABdhPJyB62MNK0LVql6GqOyDr8WAthaiVdPAtkd1NzxZ9/hBGGRGh7ILp3hhusQuBUcmaqeuH0CB3Q== X-Received: by 2002:a05:600c:3555:b0:392:68aa:a46d with SMTP id i21-20020a05600c355500b0039268aaa46dmr12627730wmq.20.1650298951732; Mon, 18 Apr 2022 09:22:31 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 205-20020a1c02d6000000b003928c42d02asm8460853wmc.23.2022.04.18.09.22.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 09:22:31 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, ilia.lin@kernel.org, rafael@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH 3/5] cpufreq: blocklist Qualcomm msm8939 in cpufreq-dt-platdev Date: Mon, 18 Apr 2022 17:22:24 +0100 Message-Id: <20220418162226.2983117-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> References: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org msm8939 uses qcom-cpufreq-nvmem. Block it on the generic cpufreq-dt list. Signed-off-by: Bryan O'Donoghue --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index 96de1536e1cb..71d5b0df4a75 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -136,6 +136,7 @@ static const struct of_device_id blocklist[] __initconst = { { .compatible = "nvidia,tegra210", }, { .compatible = "qcom,apq8096", }, + { .compatible = "qcom,msm8939", }, { .compatible = "qcom,msm8996", }, { .compatible = "qcom,qcs404", }, { .compatible = "qcom,sa8155p" }, From patchwork Mon Apr 18 16:22:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 12816812 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BA9CC433F5 for ; Mon, 18 Apr 2022 16:22:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346126AbiDRQZP (ORCPT ); Mon, 18 Apr 2022 12:25:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346111AbiDRQZO (ORCPT ); Mon, 18 Apr 2022 12:25:14 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05F962ED5C for ; Mon, 18 Apr 2022 09:22:34 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id p189so9006986wmp.3 for ; Mon, 18 Apr 2022 09:22:33 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=lYBPOVL6x66k/bxtNREKz2fmvlBcDB8DuOF98iZHrOc=; b=H/W+EYl/rlZyMOmpiuMDmJbF1jp9G199cObhKekWffXi6E6owPKKP+eao41BeSLvj7 6XNOMHD94aXZLDp+2qoHdg0Ud5SqPfNlhHp8hDu/5A18MwJNy88Q/UiyCRLqozWOsS0i KIaigX3RsVp47pJi3e5dN019ORhl9O3xl0WsdBHN3xFq67iaZxIGS5rZ7zclAZHdEpoD hLZtP1vjDoX+P9uuPwAs491z6gDFjFjsFU09YdS72lQychJrCKgSBEAAuBiaRvt7IgTe WPCfnPLB6KPSR8KsJJ0bIjEAbBqF9s5E6wSOFu7zOu/vRw1paWKJjfb1sgBBlNBKT/WS U+pA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=lYBPOVL6x66k/bxtNREKz2fmvlBcDB8DuOF98iZHrOc=; b=44WIY5dHPbXKS4u6HwkDnnZHKLH952zq+j1xUmCiq8S//6uKww+klFRQxURzjLZ/2C OY6VwW9trK0/uomkmW6QOXKlkJL4vcXdOgXwSPEGYbOpVFsx2YxIlTU7NGOqUG1KmBrU gkZLShfUOEuhOy24y2a0z9Z4h/cFplEJPI1874lNUp10jS52JRNFkf4L9MHMy1OVdLYN Qcg0wt8ti1fpLGljX3vBlWT/45J47/YA+z/I7OqH3MtrC40seKTrsfZ5XPuPv2rG1PZv tv/U2lc13QZckzgF/C2fcgWpU3p7jgtFycTTbZdfZeN8xE4japwX9/Jf3Vnk1uuZc4x7 eJww== X-Gm-Message-State: AOAM531q6v1OTLDLyy8n9DQPgmllk9im4HUM56BWESQEhdosZpycw0IK VYzoscHfspVWjID0ezFFe2bTfRpjsrxDCw== X-Google-Smtp-Source: ABdhPJyOVrbket2OpEj+2flQCtnAETQV07N44amoywIWEePShii7RC9VNKWoENhiNSOenoFiwxkMjg== X-Received: by 2002:a05:600c:1e89:b0:390:ba57:81c6 with SMTP id be9-20020a05600c1e8900b00390ba5781c6mr12153957wmb.29.1650298952648; Mon, 18 Apr 2022 09:22:32 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 205-20020a1c02d6000000b003928c42d02asm8460853wmc.23.2022.04.18.09.22.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 09:22:32 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, ilia.lin@kernel.org, rafael@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH 4/5] cpufreq: qcom-cpufreq-nvmem: Rename qcs404 data to cpr_genpd Date: Mon, 18 Apr 2022 17:22:25 +0100 Message-Id: <20220418162226.2983117-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> References: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org At the moment the CPR genpd based code is named after the qcs404 however msm8936, msm8939 and other antecedent processors of the qcs404 can also make use of this data. Rename it to reflect a more generic use. Signed-off-by: Bryan O'Donoghue --- drivers/cpufreq/qcom-cpufreq-nvmem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c index 6dfa86971a75..355c8b99e974 100644 --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c @@ -252,10 +252,10 @@ static const struct qcom_cpufreq_match_data match_data_krait = { .get_version = qcom_cpufreq_krait_name_version, }; -static const char *qcs404_genpd_names[] = { "cpr", NULL }; +static const char *cpr_genpd_names[] = { "cpr", NULL }; -static const struct qcom_cpufreq_match_data match_data_qcs404 = { - .genpd_names = qcs404_genpd_names, +static const struct qcom_cpufreq_match_data match_data_cpr_genpd = { + .genpd_names = cpr_genpd_names, }; static int qcom_cpufreq_probe(struct platform_device *pdev) @@ -454,7 +454,7 @@ static struct platform_driver qcom_cpufreq_driver = { static const struct of_device_id qcom_cpufreq_match_list[] __initconst = { { .compatible = "qcom,apq8096", .data = &match_data_kryo }, { .compatible = "qcom,msm8996", .data = &match_data_kryo }, - { .compatible = "qcom,qcs404", .data = &match_data_qcs404 }, + { .compatible = "qcom,qcs404", .data = &match_data_cpr_genpd }, { .compatible = "qcom,ipq8064", .data = &match_data_krait }, { .compatible = "qcom,apq8064", .data = &match_data_krait }, { .compatible = "qcom,msm8974", .data = &match_data_krait }, From patchwork Mon Apr 18 16:22:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 12816813 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7BC4C4332F for ; Mon, 18 Apr 2022 16:22:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346111AbiDRQZQ (ORCPT ); Mon, 18 Apr 2022 12:25:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346135AbiDRQZO (ORCPT ); Mon, 18 Apr 2022 12:25:14 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A4CB2ED62 for ; Mon, 18 Apr 2022 09:22:35 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id g18so19079305wrb.10 for ; Mon, 18 Apr 2022 09:22:35 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Guk/XiaMb056o/bqH2RFfnQtcE8TLfbDrVIkvwB6Njk=; b=rbAeUD5/Nw0A/pgqqGwmyBZ0WG+gv/kjuUhuJou3I8yht5JCqaY9uufoqmi++lya5x WvHU+cra7lzelnh5vB0l15d6UHNOCRDqnWX9AhTowh1oetLi/J243WD6dI/xWlEyCjMC IQfD/SpLnf5s7h83qFipT95+klm8UvqyqrnTwvMBgawc5xAuLtQAerx4vH7i6qul7JgL 8x36x65t44tbnN/PAikzH7tf3fN80MjGrMTpsVoK9qNxgoa783pbFLIxC76YlAfGH8Bn LJp8BUk0Y6alpFZTd/rzOohwxWlrjw+XTrl6NtAmQ7H61is1Nz7ocVUn6F5R5MrTWRV5 gN8g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Guk/XiaMb056o/bqH2RFfnQtcE8TLfbDrVIkvwB6Njk=; b=yZOoxejxYHfrC/DYbWVP6r/bYK6m1Kop3gyQXfmbAxlcbMSUIhqKJ7V37tpaB8h0jk E+ACj9WWRONZ6aoGVyLlJUkGs0FTLDNxdjNOEJV3Ay7L9R4x6XR+qgJ5PNnu6prMRcO/ 8n2Cqw99HLKNdLyHkZQZaC3H133hx1kNjZHOxmIQQ1kFx0u811BZeefWM3VEjNjHCti3 98dm/zlUl1HxE3Yuc2b7ZeULOP3quNLYo1Byapl06JgLuawAe6dI+t7/dwoL44AqOwgK uLSItPnThAMWDc4bqAz1Orp0q0AoSgQAifhLHQ0XAUWdnvJ0fpbazWl65qXfJV9c64GT oAcg== X-Gm-Message-State: AOAM530vp8eaH3tW0WEnE+KFlZWZ7CpcJ/r50hF5v9OxEhQnSlYL7aqQ R2kMpYVR4FKoVoEwBTgH8+vHvw== X-Google-Smtp-Source: ABdhPJywo6R6LICfog1lm6qQ4PBWYcyY4lTz9BwePxkRdynxe0oxhw7HmbFCVIN0muzcIEDBXFf56w== X-Received: by 2002:a05:6000:1f91:b0:207:b6b1:64a9 with SMTP id bw17-20020a0560001f9100b00207b6b164a9mr8556931wrb.286.1650298953655; Mon, 18 Apr 2022 09:22:33 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 205-20020a1c02d6000000b003928c42d02asm8460853wmc.23.2022.04.18.09.22.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 09:22:33 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, ilia.lin@kernel.org, rafael@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH 5/5] cpufreq: qcom-cpufreq-nvmem: Add msm8939 as cpr_genpd Date: Mon, 18 Apr 2022 17:22:26 +0100 Message-Id: <20220418162226.2983117-6-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> References: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add in msm8939 as a CPR genpd cpufreq SoC. Signed-off-by: Bryan O'Donoghue --- drivers/cpufreq/qcom-cpufreq-nvmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c index 355c8b99e974..63cbb6b57e64 100644 --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c @@ -453,6 +453,7 @@ static struct platform_driver qcom_cpufreq_driver = { static const struct of_device_id qcom_cpufreq_match_list[] __initconst = { { .compatible = "qcom,apq8096", .data = &match_data_kryo }, + { .compatible = "qcom,msm8939", .data = &match_data_cpr_genpd }, { .compatible = "qcom,msm8996", .data = &match_data_kryo }, { .compatible = "qcom,qcs404", .data = &match_data_cpr_genpd }, { .compatible = "qcom,ipq8064", .data = &match_data_krait },