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: 12900056 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 1FE0BC433EF for ; Wed, 29 Jun 2022 13:03:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233612AbiF2NDM (ORCPT ); Wed, 29 Jun 2022 09:03:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233581AbiF2NDK (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 2F9BEF40 for ; Wed, 29 Jun 2022 06:03:08 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id h14-20020a1ccc0e000000b0039eff745c53so9539928wmb.5 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=Gs81rztv1xhTWNIQfOjaPqBs7yGBC8eVn0Sx0z+fnEOyNVUwu5OU0/SIcCzYEDjU9l pvEClqjPASCC8zrX4dadll4sWiVcgIy2Kw2r3eCTJqIbkXacKRYpvCrw1ojlqgf1subC hhCnTzDgXS3afuu+MG163WadSezQC2qRB5mmhZjEAK5pJeqj7kOv3tgGvwx5krZN/qb1 9Q/23zslo+Qw2uQQFzB9LbZrivZwu96D60+dH7nwHSuVSQcb+Rljnem+QxhFOwLIpClT 42F/g6q86xuZPbNAhk1zaI2VNchMAbW0T+56ObfLitQK3QR4gHFBHk17T8tqh8pPpfDL XoAQ== X-Gm-Message-State: AJIora8Ru30+3TUIQJCrF97qtUt8hLStx+Z9cvhP/bTwxRLqqyWOeiaf SdgGTu5UL8r4r9/GQwskhq9Xng== 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-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: Krzysztof Kozlowski 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 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: 12900057 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 A999BC43334 for ; Wed, 29 Jun 2022 13:03:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233581AbiF2NDN (ORCPT ); Wed, 29 Jun 2022 09:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233582AbiF2NDK (ORCPT ); Wed, 29 Jun 2022 09:03:10 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 325191164 for ; Wed, 29 Jun 2022 06:03:09 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id v14so22361444wra.5 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=eriX8VGtUJG2alEwQ2OSzYM8u6SQoPeugEcwsb3LTTldjowwMC5n80os+Q30SmHxyE ysXML8WfcUS/lBE7xZ6KzIKckK+7lCOLUkIPiGXNdcww0jnIgqSNIkyrcDkgDSxOyFnz zxe7lLJ6tA0fK1gjCBMx8ZIROgBqRx9t7ho0EUICELO/MzrM0enpvQfWVlzOK5y5UMde CaG+n4TqFKoCkjEaMdy8mdFtnAUXeR4kzHAkqWZGLAu3wf3x7Bs8N4gVNjDCamwoC0c4 QMi3FOYz9FdmEdc96yANZGKBIXCK5dspGN31RiKYYHrEbkZGYe3yZMNqcMExEyvnFcCW nXfw== X-Gm-Message-State: AJIora9/ICK2m244VGpm1lmxNk8WHMAENmSzSVoGNIhGDS88MH/qqdtl LfK4zBa/ZLMLln3X4dsL9COtoA== 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-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: Krzysztof Kozlowski --- .../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: 12900058 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 63204CCA480 for ; Wed, 29 Jun 2022 13:03:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233582AbiF2NDO (ORCPT ); Wed, 29 Jun 2022 09:03:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233514AbiF2NDM (ORCPT ); Wed, 29 Jun 2022 09:03:12 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD16B1B0 for ; Wed, 29 Jun 2022 06:03:10 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id o16-20020a05600c379000b003a02eaea815so1123551wmr.0 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=KVxqDbj8k9tQOGcX/3Z+oSbU4Qx6en161b6nfCwbpDqSv7apwHw/GW42VHRvuxPZ64 fgyqREScKbeXXbFCwLhz/MGyixxGa/pTLv9aXDzB8E+9/+WllDheSxWP2OKG+VSOkERP X2kMzdNRW3wNbKf4KdBFprilb0qB5kgAIGMvF/4vNmGKVL++1pT03qVc7aZJnPJersDa cmBBQl/mAeGKDNWduZc+PcYkRSkeCoJrm/E8RNqWE6UfdlO3HyzCEtpH0wTOzwxxJ5kh fDGP4FtJoSZrKBzNkSZq9m+BhNk19kRPCz4Q57R3TavUmRoJDHAxJWqepwtpfsXrUj0I 5PJg== X-Gm-Message-State: AJIora+amZ4iIDKgvGjbmeDp+cMOE46LxmSGn/Y6yJAxVjDOLwem6yTg MBEDHnmTs+QAmwUM41F3wTXlvA== 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-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 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: 12900060 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 841CEC43334 for ; Wed, 29 Jun 2022 13:03:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233645AbiF2NDS (ORCPT ); Wed, 29 Jun 2022 09:03:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233630AbiF2NDN (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 BA194A44E for ; Wed, 29 Jun 2022 06:03:11 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id i205-20020a1c3bd6000000b003a03567d5e9so157648wma.1 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=NJB4XcOOqBPBTjodFR9IAs3LVSH1AeWoUoVnahcoRkVfnB4z3iMrCHA6y9S2MrWFHJ Te2WvrHfHCAIOp34fQsYh6AqRssG6MHtl8AXD7Le0hoNxdTW0f4kPW1LSYrN5quYRExT w03fzXLlI5iBcYcoPW544bf1GD9UmBEHbiLkkJHNuCBh/3tYW0s7VqIq0UCKTmUvhQig +EpP/5RYsiBAr1jvrjxgNX06nlIxnTEGE/EL84Dj4Z4MVgaB05gaLHQFWBa2vqG8qwSr MoXkN6wkbnjpKNPfjvMdP/CkLaCyEmUe+5UbY9GvmO86xddqbphPxKsXoxP6o+w1yf1x tuZg== X-Gm-Message-State: AJIora9E5ldhk560UVPPkf3i9RBYjTcPzBwMt/OAffzi/tg/RKl9yE1E BXpDxwaS1N4NQ7LsGUC2Fmf8Qg== 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-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 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: 12900059 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 CAB6DCCA481 for ; Wed, 29 Jun 2022 13:03:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233635AbiF2NDQ (ORCPT ); Wed, 29 Jun 2022 09:03:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233640AbiF2NDO (ORCPT ); Wed, 29 Jun 2022 09:03:14 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F0A2E017 for ; Wed, 29 Jun 2022 06:03:13 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id o16-20020a05600c379000b003a02eaea815so1123605wmr.0 for ; Wed, 29 Jun 2022 06:03:13 -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=rsK9YMjKGoj7f6nYq0yeKJ+QQKrEiwJYFtExSny3OiF7/SCcMdl4//qxYR+ymmvppJ VLJcvtdbink7QuixoszpgnYtW2hm3+gq1oqT9mJDmzAX0WrcH5+CFAkaUxxe9BH3jbQZ xGxtGtXNcxBhAsg7Q7QnlsAbdT2yeIHziFxcgXb5XG1AIETD0d+M0EtiJP0MzNuH5rkM 5b4iKqr3hyz3c1vXnYSG5sY+3aof/vWfFmJ/taRPrVZISYxjaf4mKKVFbwLcN2BHwrDL rUFGcJ2S91zTRCJODuTfCwItlIN+aS8BoVC4jQBueN1ySmVWfLQrgNbnbRfzyPwJxBrP FAIw== X-Gm-Message-State: AJIora8NxBcu5gm6fznvEklL7TDWd+3nSGXNa+qB5QI9TUc80sJQpNIC ZW1D/QYh4s2OW27VLmii+pTnzw== 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-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 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 },