From patchwork Wed Jun 29 13:02:59 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: 586602 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 BECE0CCA480 for ; Wed, 29 Jun 2022 13:03:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233631AbiF2NDN (ORCPT ); Wed, 29 Jun 2022 09:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233585AbiF2NDK (ORCPT ); Wed, 29 Jun 2022 09:03:10 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F819F3A for ; Wed, 29 Jun 2022 06:03:08 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id t17-20020a1c7711000000b003a0434b0af7so7014407wmi.0 for ; Wed, 29 Jun 2022 06:03:08 -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=qibmwPgHDVec7acMg5rfS5jztxRq7kDuVLmasAHGZko=; b=Rc3YWvgUukvUoANmf2wehXexmFktltGeRorBZdmH4dAWkhiABvECjZmUOl8kKlUBxb iHx1gM1PnaMoHJ46X8LXQ3gdJFLpYmXOc+85YGdhYVjkzFUgcQL9myBuMMktCjelHE2B nG69KdDck5K7bN74bBaFW5bExVw1vcBO/uTJSbqVl96I+7Mk8mUiZ0C8FlHDIYDEy/1x QYNoMKpuMoN0xbID8tbmzn8P4LhFt4ZQKUm7tz9aQVkqxiFGZWj3VlawxNBO32pXeDQ7 Yvdj9exV51xCRD4ST1VANicjDFOY8fYNfcAlUtZLSqCSAZPwxRgeccDpnlV0f48kRJ/D 6IBg== 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=qibmwPgHDVec7acMg5rfS5jztxRq7kDuVLmasAHGZko=; b=Fhkx7BTXHCQcFi0eNWMcUsQkhiOJZv8AJ9dBYuvojF2RTjgpBNt4rN8bfwUdmJdGDV 6acycXrQ9uI1G39yXALeNCpDQGNnLQYzZ7jPHHCXHoUx0A/QulyossYthINb1CvPCvjQ S1rg67dHtO3OsDO/RZn19wZN+NNlJ6kWk3znIY55kQ4kfEBIfX7ksnV41vHjsBhbTaD8 IOZ3NvQWDG5BvEZChlg5KtElMD7x72dGJNyBgaz3BD6p+17P/iSx3Z1ukCLBBJxvQWUM jf2O9MqVTF9t1XcIX9MaQlfBf17KHCECdc66jgpOaW19uglmV8ikWLP71C/RBFYa7aeH z63g== X-Gm-Message-State: AJIora/uuKwRoPQIDEkUDIuiZrlSigkxU6PefrCaFlP5g5Ff8Ci/y486 fDRcBqjcBWnJ3PqJNOHOvOJRrw== X-Google-Smtp-Source: AGRyM1v49tOEh+yYktWC3g10o9aHtzdquBbdLd8lpTZFwYrhpLKm0+3FZtHeIKgV4yjwtFMKO3MPSw== X-Received: by 2002:a05:600c:358c:b0:39c:97ed:baa5 with SMTP id p12-20020a05600c358c00b0039c97edbaa5mr5625925wmq.77.1656507786690; Wed, 29 Jun 2022 06:03:06 -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 g1-20020adffc81000000b00213ba3384aesm17056979wrr.35.2022.06.29.06.03.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 06:03:06 -0700 (PDT) From: Bryan O'Donoghue To: ilia.lin@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, rafael@kernel.org, viresh.kumar@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bryan O'Donoghue , krzk+dt@kernel.org, devicetree@vger.kernel.org Subject: [RESEND PATCH 1/5] dt-bindings: opp: Add missing compat devices Date: Wed, 29 Jun 2022 14:02:59 +0100 Message-Id: <20220629130303.3288306-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220629130303.3288306-1-bryan.odonoghue@linaro.org> References: <20220629130303.3288306-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 --- .../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 a9a776da55056..5eb1dba13fe2b 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 Wed Jun 29 13:03:00 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: 586601 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 C0636C43334 for ; Wed, 29 Jun 2022 13:03:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233561AbiF2NDP (ORCPT ); Wed, 29 Jun 2022 09:03:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233591AbiF2NDK (ORCPT ); Wed, 29 Jun 2022 09:03:10 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39BF221BB for ; Wed, 29 Jun 2022 06:03:09 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id r20so22393038wra.1 for ; Wed, 29 Jun 2022 06:03:09 -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=3AwBtfOYMYv3MKFwS6XRJvYCb+XS7virm8BOPqSNmpo=; b=vXs1YtTUFgrXwv6BzDSmkZQIQSeDfXGrTalbB6cH5PWeIe7HkPMwx+ks9LDJC6GTy4 YzHTzDVwBBc+kKdbj8FMBLFBr/2MNyCbRKkrKDggN1SKoFNOFP0nZEGjMDemeM9DuQel 77MrWf6CIad1Hfa9gsNupl8VqH1+fO76WTLyTsKypsmOS5xYj7/pzvGQqWOAdTNbua35 bgYggYiWPng0amd/AdTBDPJxcblljL1FR90gdWu9Kj0Pq9VdZ6uqpnY6lrGGMT/8xBqF PAkD8UQsNl+AlLqGSypOcKnmeCjrMbXUrXnH9bFUF7d+f7u9ZeH+9La8z2CyT0q81vIW DUlg== 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=3AwBtfOYMYv3MKFwS6XRJvYCb+XS7virm8BOPqSNmpo=; b=NgaJO1JOmFmX4I3ksjOQvQYHi/p0G7D3h18mdvq9LW9tAojRVI6skBjXMqvRKI0r62 cIZaV8DdIKDD0RE90sId+wnZJ8NHjSst7JMNra8TFNi4MKWGAWe1ualS6ubAzvlalT9K KeIrpuF6CUOlXQpyuQ1QW60vkfgy0ytW2//x1JstkT+kxS1sT6BK3oa32Nq0tlSHj7OJ tstYaApGX2flSHMXMHA/AMczZI/MLj9TlKhppQUMayLvtZ5RLBplDgTE9pE4xZ57k4YN nFjoqJRE0BnaOKW9HgU3mFLxOKN36jBc/fQxP7QCe+i8kEcy0+T2LtJ05vLXXq0ZHiEa uceQ== X-Gm-Message-State: AJIora/ulBZRG8srpuYG5GJrC2j5Fibq9ekMw0Vzj6lfhtUTX6MMaBRn FXBmVMUv87Kc3F+BVDX62RJvAg== X-Google-Smtp-Source: AGRyM1vtGJPoJn0iOSIvDsybyER+K7qSelOxtXN41Z2C9n6cc4fqXeYEwm81M46uJWyE1Ul0QGBKFQ== X-Received: by 2002:a5d:52c6:0:b0:21b:9f39:78de with SMTP id r6-20020a5d52c6000000b0021b9f3978demr3172858wrv.699.1656507787788; Wed, 29 Jun 2022 06:03:07 -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 g1-20020adffc81000000b00213ba3384aesm17056979wrr.35.2022.06.29.06.03.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 06:03:07 -0700 (PDT) From: Bryan O'Donoghue To: ilia.lin@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, rafael@kernel.org, viresh.kumar@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bryan O'Donoghue , krzk+dt@kernel.org, devicetree@vger.kernel.org Subject: [RESEND PATCH 2/5] dt-bindings: opp: Add msm8939 to the compatible list Date: Wed, 29 Jun 2022 14:03:00 +0100 Message-Id: <20220629130303.3288306-3-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220629130303.3288306-1-bryan.odonoghue@linaro.org> References: <20220629130303.3288306-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 --- .../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 5eb1dba13fe2b..7efae476c02e0 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 Wed Jun 29 13:03:01 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: 585885 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 4E0C0CCA47C for ; Wed, 29 Jun 2022 13:03:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233514AbiF2NDO (ORCPT ); Wed, 29 Jun 2022 09:03:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233535AbiF2NDM (ORCPT ); Wed, 29 Jun 2022 09:03:12 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0DB0C26 for ; Wed, 29 Jun 2022 06:03:10 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id v193-20020a1cacca000000b003a051f41541so3172208wme.5 for ; Wed, 29 Jun 2022 06:03:10 -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=0QzToYbJcDYbEYqG15J7NdQlssf7ghwObRQowDdojUI=; b=XKjGu06d/OfgUQZKCT46+udJiU3tUD8WeF1k0pFSual2dx0cm4mXRGnpHhVDuYgO3w zhf0k9lc0Az56ikgGmTxdJoIye7j5XyKi8T42EyyQd3Wte9phvNnAPnTwtOHMsgsyKhK CdO8mX0xzK7Ri+w/doy52BNYp50c3xkprBoxqNoAnXV1Yat6ZNODTedYfVUqcKWTaPpk fhH5h1Fn+viJJ95yW5AaU60wA0piPUZykoFQNMme0EAhf3Pwf4pH8chk8uG7vzc8h5Mo b+hPHvJX4nud9QmnPUulB7WMHVSP6M2v+JXYCXF2/5dI/CRPOf3s4I+WR+HTx69sJLrK Shxw== 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=0QzToYbJcDYbEYqG15J7NdQlssf7ghwObRQowDdojUI=; b=wzU/66zBcmn+Za0yP/SCs0Z2RCtSGdFXL/9rkWV4EubR+hLoI0CGq4x5/fofcMei7W +cMSkzAu9k0SQnlXZELOJ7P431JEtuuboWTqHLcXOscXu2iZX1yFRrqXOdYhUJfL7ZDP goghyzaCeWJPbA+slX7iz1L/VRTpRl0r0ofPp6Dg1B7w+Pi6i8hhWoFv/VFe6HmqR7cZ grRTxdle/Y+kQQrcE8LDXtD7g8r53v3kw/xMRpA+zXVGV0zefiS1lB9/j17PD+3gl7dr J9VTmdaOEfptLNnJ9oPWXPtjvIMD0QqO1mFJcAjvCCiBG0Q3mJ8w3nkTMiIewUtzrnNn kQWg== X-Gm-Message-State: AJIora+U5Mo1bHMN+5ZSFBDrROob4zu4/DVFk4+PQOSAlEFF+PPbK555 RtzVcHcIFOFCo7UjANuq7QvS7A== X-Google-Smtp-Source: AGRyM1uDVYzhjflUeMr9IY0fibJYlCW7mwWt8uD26apminQjZz5gjm9JffDTY735uObRDSBuOKDv7w== X-Received: by 2002:a05:600c:4e8b:b0:3a0:5826:3321 with SMTP id f11-20020a05600c4e8b00b003a058263321mr3649147wmq.108.1656507789238; Wed, 29 Jun 2022 06:03:09 -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 g1-20020adffc81000000b00213ba3384aesm17056979wrr.35.2022.06.29.06.03.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 06:03:08 -0700 (PDT) From: Bryan O'Donoghue To: ilia.lin@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, rafael@kernel.org, viresh.kumar@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bryan O'Donoghue Subject: [RESEND PATCH 3/5] cpufreq: blocklist Qualcomm msm8939 in cpufreq-dt-platdev Date: Wed, 29 Jun 2022 14:03:01 +0100 Message-Id: <20220629130303.3288306-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220629130303.3288306-1-bryan.odonoghue@linaro.org> References: <20220629130303.3288306-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 96de1536e1cbf..71d5b0df4a75d 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 Wed Jun 29 13:03:02 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: 585884 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 A2558CCA47C for ; Wed, 29 Jun 2022 13:03:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233583AbiF2NDQ (ORCPT ); Wed, 29 Jun 2022 09:03:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233622AbiF2NDN (ORCPT ); Wed, 29 Jun 2022 09:03:13 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9F899FFF for ; Wed, 29 Jun 2022 06:03:11 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id f190so9029679wma.5 for ; Wed, 29 Jun 2022 06:03:11 -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=x7evQCuRVfAUpJj8gespECNl/9YnAlPw9MliN5ArdYw=; b=D4AcJH1YaF1XN25fIKlh6oFr3TOStp0ziJD3bGoP/iQVtSZZSLehD86Yv0FLUr2yCP 4Lkt6CMKXUlMHlQ86oUrwbCtLKgSsqqyKwWknXIo3omcq9hyrmgulXPAEQTMPYHH1y0H 8LBEaz0Im88gsW9y5O81DhXMTrQQM3qLjTHCXtD+xuPyhkK1v6Bj+5009mZ1ndqZZDZc 1OkIyl+PYJV20liz3rTWLm011ff23OMSjL2UCoaUUlDTDxj/ziG4obexfdutlBUKX0wP R4KDBpVl+8CaCo6HKuZbffG6OwPtr382Cl2/9LqrXoeVON67fkquiGzcpQDmNnymiA4u C1BQ== 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=x7evQCuRVfAUpJj8gespECNl/9YnAlPw9MliN5ArdYw=; b=m7xJoFMdguH27bXsYvaZZv1G/6t/QWc6dW7JjjHNeoTrhjN6Hqj6hu9iIvrXebnKGk 2UCX3D7VSPuY4qaeSPTD5n+gp+2H4SfvuTz1i+Rl1Tk8sKriAAKYQGIS8RvAMao1/KV1 Tc5WwQ+TOcVlK8VLXf6XfZ5e4pK/qGDXjKUBANxS1IpugBDkMvbzNTQ01WuXQJZqVg/l /myvVm+yBSB7d2PrdPimYb19pJiEhgaed4enZHNn0T4fKZ0tSTFMdWnpIOB6WvUCoW2f gxmurmw8QXtTrtq+StBSrJRbINskEwu679NuW3QAMCTSDvq9YSdQo8ONz9FiCVxG3qqx igWg== X-Gm-Message-State: AJIora8jIic7w6zwvHQm/1krEfthRPs/lAwLBRIPv540NofBn3tlV3nG ZTYBx6yOsh/E1mULbyKPa0KiLQ== X-Google-Smtp-Source: AGRyM1vRkf+KyymXTwTFXSLALfMb5taMghAcdFew3TdT8nunn0QCLAj+yDlhKi+IvB5/X4axH0cQcg== X-Received: by 2002:a1c:7c18:0:b0:3a0:39b1:3403 with SMTP id x24-20020a1c7c18000000b003a039b13403mr5862184wmc.84.1656507790241; Wed, 29 Jun 2022 06:03:10 -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 g1-20020adffc81000000b00213ba3384aesm17056979wrr.35.2022.06.29.06.03.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 06:03:09 -0700 (PDT) From: Bryan O'Donoghue To: ilia.lin@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, rafael@kernel.org, viresh.kumar@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bryan O'Donoghue Subject: [RESEND PATCH 4/5] cpufreq: qcom-cpufreq-nvmem: Rename qcs404 data to cpr_genpd Date: Wed, 29 Jun 2022 14:03:02 +0100 Message-Id: <20220629130303.3288306-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220629130303.3288306-1-bryan.odonoghue@linaro.org> References: <20220629130303.3288306-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 6dfa86971a757..355c8b99e974a 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 Wed Jun 29 13:03:03 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: 586600 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 16F6ECCA485 for ; Wed, 29 Jun 2022 13:03:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233644AbiF2NDS (ORCPT ); Wed, 29 Jun 2022 09:03:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233638AbiF2NDO (ORCPT ); Wed, 29 Jun 2022 09:03:14 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9633DF2F for ; Wed, 29 Jun 2022 06:03:12 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id u12-20020a05600c210c00b003a02b16d2b8so9552771wml.2 for ; Wed, 29 Jun 2022 06:03:12 -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=07gCvC2bDldwfU3PIuJqaF8MAJ6sayZEsNcAcstdbkA=; b=w55VpGFTkA3/pkKMVTCgcz7crZHIYE9dBkkVarqWRGB8AXnw2GccaKIiDHd6GX8veJ gwGZmeCvRuNG/rsdfyL3AhJBAfE9TNBOK12Nwosmjak6M5/XQxR0l1wFYVNFl4QOrBZV FM9Pvb1nxR6HruJDjABnirpbaXmC4dBlv56A8Xba7W6VLn7GOXb7fIRuArmZ5k2o1ybB sAxNhQXf3nT2s/2FJo/IzPWVyLWxDEZQW1KaRYY/XZx5q2GXrw83j180Ia0/hYXuDiRR aurEvt6YBfpnHhglxgO4ey+9QIe7uzCp3Kwzq/YBcR0S/Q5HEmSK7K5GxSQ9WIFpF28D Q8IQ== 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=07gCvC2bDldwfU3PIuJqaF8MAJ6sayZEsNcAcstdbkA=; b=xK1PWAnf8Bua224QuJO3Ga+fU+/25C29jNkip/nAGRw80SUOVrnGg5vx/tDCNPDdNG OjIZUqPxSOC8VuPqUlW2vgfhgC/nW3g8hw49fHgkC7we5gmOPs704y9s/Ot9HUEc3NKD uLQcQhhqHfRID5I5wuv298dg+TkcWx228pwVtzGRtFt/PCq90hbmrgUDwnJT/6siUsi2 rSNqsfKx7ukKiVwDOhcmjJKdSZ1ul+QYTk+AdYmXgEMbLUrlbuGWTJtHKhD5XaXSQvqX esPPdVW9PDr0MSG3pM7fIKzE/LLsXzuJ+WytpOdk61uxqvmtG3cKhLp/R0xphsl6mcfO S1QQ== X-Gm-Message-State: AJIora8u70Ija3hDUxJE9+d1BEpwHb+n1fkziD4dlEmzPjR7uINRhVnN rc8EYCdfMt6mrwfRX5RFxG7uUA== X-Google-Smtp-Source: AGRyM1tdK7Di+7eAr0stiNBdznQa5qJ+GaDNLzwwt+Lt8qEteCU+2sPLEP11PbsG/WI49JQ3RYwrtA== X-Received: by 2002:a05:600c:35ce:b0:39c:7dc2:aec0 with SMTP id r14-20020a05600c35ce00b0039c7dc2aec0mr3621071wmq.33.1656507791387; Wed, 29 Jun 2022 06:03:11 -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 g1-20020adffc81000000b00213ba3384aesm17056979wrr.35.2022.06.29.06.03.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 06:03:10 -0700 (PDT) From: Bryan O'Donoghue To: ilia.lin@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, rafael@kernel.org, viresh.kumar@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bryan O'Donoghue Subject: [RESEND PATCH 5/5] cpufreq: qcom-cpufreq-nvmem: Add msm8939 as cpr_genpd Date: Wed, 29 Jun 2022 14:03:03 +0100 Message-Id: <20220629130303.3288306-6-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220629130303.3288306-1-bryan.odonoghue@linaro.org> References: <20220629130303.3288306-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 355c8b99e974a..63cbb6b57e64b 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 },