From patchwork Wed Mar 8 01:26:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 661442 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 C7A6BC74A44 for ; Wed, 8 Mar 2023 01:27:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230051AbjCHB12 (ORCPT ); Tue, 7 Mar 2023 20:27:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230059AbjCHB11 (ORCPT ); Tue, 7 Mar 2023 20:27:27 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4455867FB for ; Tue, 7 Mar 2023 17:27:19 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id i28so19571802lfv.0 for ; Tue, 07 Mar 2023 17:27:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678238838; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rSKkpNbYMdizlF1Hcg/N2ARWz4QldZWXYT/s2rK2tJA=; b=NS72HA7x6azq8Oo6p63K66wCgwAP1l9vaFl65JhYFn5YgA/PNDBFBDfyfB/lVr8Gp5 olZ/GFjlDCVsMko3PodpMhX+ORH83KenOIT0KdH03scpm7fXbJ36lksg3MFKoRfzTgBC CHd7UFVBYvvZdMPWG1xY9uGAVXOL+Y+XjhhpWIvAcKvAS50BJk7t3yR7lgFNGp02ym3X be2RiMPNu/hwtZjiA23ps3jX7AwzXEadCbRCUsMabyAn4+3PUmD+NWrx9RkwGj62om50 2vPgn1v/QdNAmxlA6hrOXpc60oebE7jUQb27rih5zBsDCHiEx13O3/7M/cY/b3IMjbc/ sR9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678238838; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rSKkpNbYMdizlF1Hcg/N2ARWz4QldZWXYT/s2rK2tJA=; b=d4FLm3dMupvuoqc4aIYhmju7zllBkaaxaFj/RkK/H/Vv8pHxsQyHSfBx8xCs7C7nWv dwuFUDP/L6a3rzR9nikS5RKXf79PqPYWlRzA15sVZqw+HO954xQIJdTKUG47AtcBzazO OGCKjf6zK/5dHAW54P2CzE/bZ6sAF7obBTe70tvvvfKogPJeBZqFiZucNZ92a2Dq/TVI kXc6f1R7uXPO9Ve87Tmz8sAvShByGBYBItDgORBSOe2R8SXiNt/dEh6zCOHpQnCDqATZ X+QFqVdVrfSJ6jlVXqnAfyD02ij3nfveafmbUw90U4FUQSeQJr/tkhX9FO4GuJrspP05 6GmA== X-Gm-Message-State: AO0yUKV7OOHqqlOiF8s7EwsQiB3Ot5TTrgBNUyGLm+EyLxatn4Rvom4b Yo/utvZn+aJLrURhogdXLlxqzQ== X-Google-Smtp-Source: AK7set8oabf47X71W0OHEXA3HYJis7GvhrzB60WVfNnxxSsNsZ8ihJefVtG99nIokQAtXNIc3EICjg== X-Received: by 2002:ac2:5108:0:b0:4d8:4f53:37ad with SMTP id q8-20020ac25108000000b004d84f5337admr3760704lfb.7.1678238838009; Tue, 07 Mar 2023 17:27:18 -0800 (PST) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o24-20020a056512051800b004a2c447598fsm2182944lfb.159.2023.03.07.17.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 17:27:17 -0800 (PST) From: Konrad Dybcio Date: Wed, 08 Mar 2023 02:26:58 +0100 Subject: [PATCH 1/8] dt-bindings: cpufreq: cpufreq-qcom-hw: Allow just 1 frequency domain MIME-Version: 1.0 Message-Id: <20230308-topic-cpufreq_bindings-v1-1-3368473ec52d@linaro.org> References: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> In-Reply-To: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678238834; l=1052; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=VcREQrZ3O5Tg8/LdkaQG+SHph0xK/tPAY49fNyeIAmM=; b=w1hqviMRcVjC9G7LJ9pEuGt+mq9CPwQIKjKYXYgZPAgVAmceGhUW4EhZSj3xPf7hfLSHA+a402/n uOgK8/ADDz+Gj3Y5bC+2mROcGn4+VpGVGfhl+TFisk63HriZP+dY X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Some SoCs implementing CPUFREQ-HW only have a single frequency domain. Allow such case. Signed-off-by: Konrad Dybcio Acked-by: Rob Herring --- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml index e4aa8c67d532..aebf2254e45a 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml @@ -36,14 +36,14 @@ properties: - const: qcom,cpufreq-epss reg: - minItems: 2 + minItems: 1 items: - description: Frequency domain 0 register region - description: Frequency domain 1 register region - description: Frequency domain 2 register region reg-names: - minItems: 2 + minItems: 1 items: - const: freq-domain0 - const: freq-domain1 From patchwork Wed Mar 8 01:26:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 660892 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 F3065C6FD1F for ; Wed, 8 Mar 2023 01:27:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230147AbjCHB1h (ORCPT ); Tue, 7 Mar 2023 20:27:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbjCHB13 (ORCPT ); Tue, 7 Mar 2023 20:27:29 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50BE0ABB34 for ; Tue, 7 Mar 2023 17:27:21 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id g17so19500990lfv.4 for ; Tue, 07 Mar 2023 17:27:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678238839; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0CdS5r2F5pTlugFcZt9Mh0mnJQG+hrKK2aIPit/aNCM=; b=sXMUCnkDvfCfMWWHhJKNhZ/0vjqdw1YO4+TyioCmKqFqr8znCBiLM1ldUGvwDqwGYX go5rCRfOodJUm9pD1pqrxB6t/TjI079Kh1VOohdcRWbT/G+bdZ8DikAYbk5RMBbNDWkP 6Jkz5OkBYgGyT992PnrX7is7XgVjCUcZ3AADh/6gSm3BnS1+QFzJw97sv8OMFQE+o3hV gLfl+M3Gwc2HKBHuJifVrPsMh5/kDUGLXXfLGvMBaqeCS6JY0NF4Dh7lJZZ4v2BLJY1U UfvlgVh94+qRF/IcjjmHN2GH0L1CasjFEx1yMKjV5iG+3fmlLcg5Pzod+kLXVJqv1zbX xyMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678238839; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0CdS5r2F5pTlugFcZt9Mh0mnJQG+hrKK2aIPit/aNCM=; b=WeYW/6g62fpU0idcIAGTv9OyR2EifUyiTvtZMroyItd4iaYw+fU7tXUkktTvrmmyof Sbe8qQSCXpqQfp/kSTpBGk4i1YosnfMJ33H633nDa9xyEC8g/eOKZWV9w2QF6RNGEg5V zM9mxboolx3WqgtxouZKj4pEQUnRnGeIXIQ+3vx7vq9tRyzG3T/uS9bRVa5xHK+LPxYC rKeXTHsGUI2U2zR+hDEdIMvVHSw0AougFTm/zUUCkm7r4+qG1vVt0mWYDyvQOxGbjO4d MyhoFtpceSSUJXT7xlXWaPt2bBmpVPbSpbgZ0EdR1TBUXualg5hkVQSBsL9TKnIJowrM GSFw== X-Gm-Message-State: AO0yUKUqCPFyvXuhqH0qb4T93ZK5ClaUP5Xn5ArFqYZvMYTKQqjAC3s0 sPFxD1swX/uHVyOJU7WWfi1Q5Q== X-Google-Smtp-Source: AK7set+Yy5tBuuoSoENYBjTcMKzaWJyxwiFD5wyKErIcPE6nHVzU8gGm9MdCAKN/K376CfbXuafvUg== X-Received: by 2002:ac2:43da:0:b0:4cc:ff7c:4846 with SMTP id u26-20020ac243da000000b004ccff7c4846mr4848734lfl.0.1678238839527; Tue, 07 Mar 2023 17:27:19 -0800 (PST) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o24-20020a056512051800b004a2c447598fsm2182944lfb.159.2023.03.07.17.27.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 17:27:18 -0800 (PST) From: Konrad Dybcio Date: Wed, 08 Mar 2023 02:26:59 +0100 Subject: [PATCH 2/8] dt-bindings: cpufreq: cpufreq-qcom-hw: Sanitize data per compatible MIME-Version: 1.0 Message-Id: <20230308-topic-cpufreq_bindings-v1-2-3368473ec52d@linaro.org> References: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> In-Reply-To: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678238834; l=3357; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=fi5NAJ0nSvGXA5EZ9QEPjUBAW2wHsddKOdoQG8tRb7A=; b=ve7DuV6lXEtAmtEIBiET7qz47uKRYbTsE+dazaVhRquLl9J53wCa4LiPYOSsXIGbha4SM92D28r6 AcCrpCTeDk/Wq0U4oDpaGrZ8eZg7ohRDnZkF9Zm4zaH8Wfs/45WN X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Introduce per-SoC compatibles for OSM targets (read: pre-sm8250) and sanitize the number of interrupt{s,-names} and reg/-names per-compatible. Signed-off-by: Konrad Dybcio Reviewed-by: Rob Herring --- .../bindings/cpufreq/cpufreq-qcom-hw.yaml | 90 +++++++++++++++++++++- 1 file changed, 89 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml index aebf2254e45a..6f97e2effaca 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml @@ -20,6 +20,12 @@ properties: oneOf: - description: v1 of CPUFREQ HW items: + - enum: + - qcom,sc7180-cpufreq-hw + - qcom,sdm845-cpufreq-hw + - qcom,sm6115-cpufreq-hw + - qcom,sm6350-cpufreq-hw + - qcom,sm8150-cpufreq-hw - const: qcom,cpufreq-hw - description: v2 of CPUFREQ HW (EPSS) @@ -85,6 +91,88 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + enum: + - qcom,qdu1000-cpufreq-epss + - qcom,sc7180-cpufreq-hw + - qcom,sc8280xp-cpufreq-epss + - qcom,sdm845-cpufreq-hw + - qcom,sm6115-cpufreq-hw + - qcom,sm6350-cpufreq-hw + - qcom,sm6375-cpufreq-epss + then: + properties: + reg: + minItems: 2 + maxItems: 2 + + reg-names: + minItems: 2 + maxItems: 2 + + interrupts: + minItems: 2 + maxItems: 2 + + interrupt-names: + minItems: 2 + + - if: + properties: + compatible: + contains: + enum: + - qcom,sc7280-cpufreq-epss + - qcom,sm8250-cpufreq-epss + - qcom,sm8350-cpufreq-epss + - qcom,sm8450-cpufreq-epss + - qcom,sm8550-cpufreq-epss + then: + properties: + reg: + minItems: 3 + maxItems: 3 + + reg-names: + minItems: 3 + maxItems: 3 + + interrupts: + minItems: 3 + maxItems: 3 + + interrupt-names: + minItems: 3 + + - if: + properties: + compatible: + contains: + enum: + - qcom,sm8150-cpufreq-hw + then: + properties: + reg: + minItems: 3 + maxItems: 3 + + reg-names: + minItems: 3 + maxItems: 3 + + # On some SoCs the Prime core shares the LMH irq with Big cores + interrupts: + minItems: 2 + maxItems: 2 + + interrupt-names: + minItems: 2 + + examples: - | #include @@ -235,7 +323,7 @@ examples: #size-cells = <1>; cpufreq@17d43000 { - compatible = "qcom,cpufreq-hw"; + compatible = "qcom,sdm845-cpufreq-hw", "qcom,cpufreq-hw"; reg = <0x17d43000 0x1400>, <0x17d45800 0x1400>; reg-names = "freq-domain0", "freq-domain1"; From patchwork Wed Mar 8 01:27:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 661441 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 55B81C74A5B for ; Wed, 8 Mar 2023 01:27:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230155AbjCHB1i (ORCPT ); Tue, 7 Mar 2023 20:27:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230092AbjCHB1a (ORCPT ); Tue, 7 Mar 2023 20:27:30 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEFAAAE109 for ; Tue, 7 Mar 2023 17:27:22 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id m6so19487636lfq.5 for ; Tue, 07 Mar 2023 17:27:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678238841; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BxX6ytF5vV2haMBbbATopMPJpuCTfp4xoThhVoED6NY=; b=XsPWrb7qwg36X8gOAdk5nbSCwjCLoldidAMWJ8y6YOntnYTAx8awHSyBiIeUJoo6Sb rknI5p+z/5gt0IQN7jAAbyvxJIY+CP8C0bsCNNzknae7wL4UqfBg4NhpQgfkEf/qZsZu UYyQGYjNieH0S+hnanQ4kb6j7zzZKLn9g2kzLs4mRUbuYc0ffkb7B4FG69sTw6HrG52k Ak6JmelRWqMFCEPTbpOaqEvkznXfQkNqb8WWjFMgR8ZCKw86xETdSOKHibTa2YK408VD Txex4E2BoQnXG5cVsPI5qzuDJHaiLAeSaBvfA/57h2k/VXmTlWUpU+bo+60PUayitN9+ EJhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678238841; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BxX6ytF5vV2haMBbbATopMPJpuCTfp4xoThhVoED6NY=; b=7Mv/gWlybHnIwrjK5W8I0NKIT9akyY/zHmWw1qm4FlLvU3CegMFiw8KK8gdouRgyIZ su2pVpY/MtbEUzaOlIB1NgKEMWQs2ardhKfbza2//CNfFw/S74u7m4O4zo6ciEWYMrpF 0dNq6CP+8MLmra3/3oYNqltV2XmjXSkO4HoeMN5bNBbZNd/G0WsJhd9epvmtxJuFY2zT 9pfWfZ3yVlpekoPFeOmu+LllqAwyOrNBCrM7ttS+2nnIZpjdTfxGB3P2qubIMHYS0TZw PeZ8N0qR1JUqwNny077qhBxgkC7ftn+uWW3CfsXLx5pXFSvwC6tD1u3fF/b5hA+5Qh0w 5FQQ== X-Gm-Message-State: AO0yUKU6ySPKDwSa+KDQFJXakSfv192zHo+KC+q16Z/otkXz+sKexmPn YJ19XFX2e7nQSBV305GQ7l+uoQ== X-Google-Smtp-Source: AK7set8nRqG/zwqw3xWTMNg4s7YVV/J+U18SMn5hQzgi1tYo0aIKS7l4ZMSSx7D1QVf79vJsvzNbrA== X-Received: by 2002:ac2:5ec4:0:b0:4db:964:51b5 with SMTP id d4-20020ac25ec4000000b004db096451b5mr4774505lfq.41.1678238840930; Tue, 07 Mar 2023 17:27:20 -0800 (PST) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o24-20020a056512051800b004a2c447598fsm2182944lfb.159.2023.03.07.17.27.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 17:27:20 -0800 (PST) From: Konrad Dybcio Date: Wed, 08 Mar 2023 02:27:00 +0100 Subject: [PATCH 3/8] dt-bindings: cpufreq: cpufreq-qcom-hw: Add QCM2290 MIME-Version: 1.0 Message-Id: <20230308-topic-cpufreq_bindings-v1-3-3368473ec52d@linaro.org> References: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> In-Reply-To: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678238834; l=1444; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=9z2kHs8CdaeUIwacH8QH3r7HmNxGQcozLnq7wS2qkKI=; b=oP67/Bvk4tJn5AV4vlOb6nR8o+XJy2Y2Uei5CEApKAObX7B/p8XJaTToI+9OxaJCl7bBj1tLNhRf V3BPavRbDEzZ0vy9jV/Peg+qnmtueF4/9qf9zwcUls8ane8t+flb X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Document the OSM CPUFREQ_HW present on QCM2290, featuring just one lonely frequency domain. Signed-off-by: Konrad Dybcio Reviewed-by: Rob Herring --- .../bindings/cpufreq/cpufreq-qcom-hw.yaml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml index 6f97e2effaca..dc4e497b15ac 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml @@ -21,6 +21,7 @@ properties: - description: v1 of CPUFREQ HW items: - enum: + - qcom,qcm2290-cpufreq-hw - qcom,sc7180-cpufreq-hw - qcom,sdm845-cpufreq-hw - qcom,sm6115-cpufreq-hw @@ -92,6 +93,29 @@ required: additionalProperties: false allOf: + - if: + properties: + compatible: + contains: + enum: + - qcom,qcm2290-cpufreq-hw + then: + properties: + reg: + minItems: 1 + maxItems: 1 + + reg-names: + minItems: 1 + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 1 + + interrupt-names: + minItems: 1 + - if: properties: compatible: From patchwork Wed Mar 8 01:27:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 660891 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 30179C6FD1F for ; Wed, 8 Mar 2023 01:27:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230178AbjCHB1k (ORCPT ); Tue, 7 Mar 2023 20:27:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230110AbjCHB1a (ORCPT ); Tue, 7 Mar 2023 20:27:30 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3740C898E0 for ; Tue, 7 Mar 2023 17:27:24 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id f18so19506877lfa.3 for ; Tue, 07 Mar 2023 17:27:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678238842; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=QQZ5iCWhMANigGWxJk0t0CkO0rMOybOWwPdUXj361aw=; b=tqJIuKHGTihhSx+GPAtwP7T6r85r3uDYu/ibd8Oei95EgXY8IaLu992afJ5IV20TOd ghU8IKcp8uDhpF8hYn/Wvw5ojy0j6WcAAm+p6FgJLP6nC1/GPs0LWos+VbmjL49QtGjd qtdXB62m3PbiFjkIfeR0MI7DGZpA7RYTNJbAWohL5LO28vgnfBdTu2mi5FiOIRYkI7jw aKyC4uXpNBipnbl0QfbQFx2hz/8sVR17xXX56JwAZMfjMFWZmWzXu7elK5rogsCVm/vC 05FPodvBKmI3SLNlr5nbBmJzW6gdWVeFZdmEnbxIhEnZzoduH7TYz/mSNLWoc6sKqOUr ep+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678238842; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QQZ5iCWhMANigGWxJk0t0CkO0rMOybOWwPdUXj361aw=; b=jU6Px2msti2rp+4fVCPplQBNe7RCPYsfsSCW9PRXVABvRe9BUTEo/Zi+LY7RreB00b cFo6i2Wiz6D3TOUc5rw4m6+xwWm2NqKkGSsTYkieJ3wGQGvWrSHyDTcQc5zClDFh36xn dePeTHXt8M/SuuIroQ2APiude2x2ghGZZhF2fFg29I07Ey1peuNAIzwdPzQML4AdiGFw GQIXEUoePow7cA9qrJ5r/XxTkHLUyg7bmV4Ed+IgfFeYEdFR1GRZ2FrPt6mb/Az56T9k 8WXqyJxC4pff/xrGoKXECqQPtohbR/yndQbhLbL5omx8eqoCveTgN2mndQdLXp4cnoYT x2XQ== X-Gm-Message-State: AO0yUKWASn2GzQWDlqR/uSw7WdJjKx+JmXVZOhUSwNQXL7ZXrmBuoIcu IxHcW2/9V3/iSx1PJ76ou5sGtQ== X-Google-Smtp-Source: AK7set8fyH58CcHXnpatfnQHqZSxILa4+yMe/MOFC7dTiUUkZvSFgS4tCnjf+43LZ0FV0dD6URTqwA== X-Received: by 2002:ac2:43d5:0:b0:4d8:62e5:4f64 with SMTP id u21-20020ac243d5000000b004d862e54f64mr4128523lfl.17.1678238842495; Tue, 07 Mar 2023 17:27:22 -0800 (PST) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o24-20020a056512051800b004a2c447598fsm2182944lfb.159.2023.03.07.17.27.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 17:27:21 -0800 (PST) From: Konrad Dybcio Date: Wed, 08 Mar 2023 02:27:01 +0100 Subject: [PATCH 4/8] arm64: dts: qcom: sc7180: Add SoC-specific compatible to cpufreq_hw MIME-Version: 1.0 Message-Id: <20230308-topic-cpufreq_bindings-v1-4-3368473ec52d@linaro.org> References: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> In-Reply-To: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678238834; l=782; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=YW+5zz9FRRsSPi3ZTqMkVGcpHSZDAlwtppM/bq/g7d8=; b=I87N1dHMwKE70RsHxF+Q8liR+yt+LGbb07yGQ4MYR+0sLZUiP/aQwpQOORAdvsaJ9ZvZnkYvIq+3 DvJ5Pt/rAtejFXwPvuDTXmRjiVunwIkcQej6JU5uFjoTiPISGhp4 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add a SoC-specific compatbile to cpufreq_hw for compliancy with bindings. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index ebfa21e9ed8a..a80bdd0604e4 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -3570,7 +3570,7 @@ osm_l3: interconnect@18321000 { }; cpufreq_hw: cpufreq@18323000 { - compatible = "qcom,cpufreq-hw"; + compatible = "qcom,sc7180-cpufreq-hw", "qcom,cpufreq-hw"; reg = <0 0x18323000 0 0x1400>, <0 0x18325800 0 0x1400>; reg-names = "freq-domain0", "freq-domain1"; From patchwork Wed Mar 8 01:27:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 660890 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 4D714C678D5 for ; Wed, 8 Mar 2023 01:27:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230107AbjCHB1m (ORCPT ); Tue, 7 Mar 2023 20:27:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230124AbjCHB1g (ORCPT ); Tue, 7 Mar 2023 20:27:36 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79D108ABEF for ; Tue, 7 Mar 2023 17:27:25 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id i28so19572006lfv.0 for ; Tue, 07 Mar 2023 17:27:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678238844; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=W1LiRrn/f20aeaTLATrE8Yvqu6MU8FYzo2w111NPDWY=; b=u80SPOJKQ5BqBIEJXo0d42CdIKQM2uU4mysTiTzJpvXRgAFxwkuFMnr+PuobykHERb bLivjxnAgBxgiTu/Fm+WduhQbsIujAxC4piqI2jUznp8F1TQyaZDLdm9OGc9INdhk+i6 qQ5eFUMO+9sXewVpZF+qtnOasb114Ib9wWGIhMxTA3odBw+7v73SEeHgwrv5i/tBH2bp 2N3n4+r/F/VWTA2Q3Nh8IPoXxAfaSkhXqxoL9MqfEQ/kthlVRzL3YzRTanf0vVHf6iyh +vl+vTA1u3toVqeMELQ8xH/NkVOikFYU+UWHWoI11KPEE1r8lrNPKnqq5ulz7XOGJ6m4 6/AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678238844; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W1LiRrn/f20aeaTLATrE8Yvqu6MU8FYzo2w111NPDWY=; b=pWV3avMcpAASGq7kwR4N1eqUJOY5qx6F2yoRD9RgYO+ceiC5PDMRVjOajXMNm+cRhy nWkFJ+orJ1PQQw+QEStp0OxW0tZxV1GharpxrLjU0h27a6Tf2rcduH++GZkU/r1dyQtG vs2gv/yvWNGvJSQjIFVNQ1B1daRS3KNyGer4Kp25RtqFnVimK6QniQdNS2NWYg8MEMbJ kQtJRjodadBtyZx5uQEMSgNzWZEtl9As+nQG3V7gz2l9OuIHQaYKEeI+4oA9UUjI6YmK /Pz03Z4J9SgOQsvRiVHd2DOvyKzsQgNXruDB+C9SA3kGR5/bA4frJvof2GWa9LYtFHNy yJuQ== X-Gm-Message-State: AO0yUKVb42r3XuloVbC26h3Jw0o0myFLY2jErhdYVn+7LPpaJum4nXFM C7pI0jroiAUtdydzREMm92JkiA== X-Google-Smtp-Source: AK7set+49coB/F5mtbRumR1Fj9/dcHvr6i94MthLNANUhQpJWO13waJZSJhu9E4HAm94GJtj8qwUSg== X-Received: by 2002:ac2:546a:0:b0:4cb:449a:31f8 with SMTP id e10-20020ac2546a000000b004cb449a31f8mr4441000lfn.35.1678238843862; Tue, 07 Mar 2023 17:27:23 -0800 (PST) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o24-20020a056512051800b004a2c447598fsm2182944lfb.159.2023.03.07.17.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 17:27:23 -0800 (PST) From: Konrad Dybcio Date: Wed, 08 Mar 2023 02:27:02 +0100 Subject: [PATCH 5/8] arm64: dts: qcom: sdm845: Add SoC-specific compatible to cpufreq_hw MIME-Version: 1.0 Message-Id: <20230308-topic-cpufreq_bindings-v1-5-3368473ec52d@linaro.org> References: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> In-Reply-To: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678238834; l=782; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=gOO9l9d+O6v5O+DhKkwOdpc/sA5zonlXQAqp2PndSns=; b=fJ6lff5PsM/oOT/bMHtcxi20SOGB7ngCB/tF0A0EmFolYVnHbzcJZA7igI+WfQaZZ7XyUooZ8iHl jYnGQbetDlr8a2e+BQ/8sNAjb1OtCDib2F2gvcJKgEqkx4G13rQe X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add a SoC-specific compatbile to cpufreq_hw for compliancy with bindings. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 479859bd8ab3..5a7cc1ad8094 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -5222,7 +5222,7 @@ osm_l3: interconnect@17d41000 { }; cpufreq_hw: cpufreq@17d43000 { - compatible = "qcom,cpufreq-hw"; + compatible = "qcom,sdm845-cpufreq-hw", "qcom,cpufreq-hw"; reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>; reg-names = "freq-domain0", "freq-domain1"; From patchwork Wed Mar 8 01:27:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 661440 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 7A787C74A4B for ; Wed, 8 Mar 2023 01:27:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230193AbjCHB1l (ORCPT ); Tue, 7 Mar 2023 20:27:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230140AbjCHB1g (ORCPT ); Tue, 7 Mar 2023 20:27:36 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 590AC87DB8 for ; Tue, 7 Mar 2023 17:27:27 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id s20so19459599lfb.11 for ; Tue, 07 Mar 2023 17:27:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678238845; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=SKOVO54SiVpfxv4+5zgH7MWB6ZLGjxgqeNl0uxBicO4=; b=qYx+PK8xju6nmSnWKlmCpbBpWZJQjs2PqTpuOqky6k3t1bnVBvYm80xxP7q8l3BhoA JIgYo5/l/E8r2+OnIq0kFtpRePwPfV0/zKM6w9+Quq/cquXG5afX06BjI8G6k28w7fqT KTbz1KH5rr8i1C1ChoBJ6Jm1K10S3W6dgH0AwdWGhdDNEM2J7UTfmlM33C8R2HEeeVzV 6bzINX9G2giHg3wzwktG0l6ONP+MjmyNdbJ4v4316OYv3Pgd1tIvgcGy3pOs33TSH58Z dMXWt0TQq925km6cDa2QH3/J2nm+OIZysld5DeshBOqw/h1akQWyAB+SOrrOnoXbRESp Iknw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678238845; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SKOVO54SiVpfxv4+5zgH7MWB6ZLGjxgqeNl0uxBicO4=; b=gr8/KG1cU7PKJmWSX/i601ZjJ3oyKC2DTF55tjltY07YmXEuIDp3ecC0xzAvsdUexG pNnDxcv5bmHg5Q9NWwMWky7ZjfX1fokD7XsLAkSLOvp8F7k+yAV3fakimt2+BrpgufBJ +kzbEAP1yRbB+H7Rj2/BBSPIzCk5dv+s0NgA4XtXYTsJeCcGyARxsP2ZU+a3GImb3YLG 7nE5abULSCXC0NXb7dFxeA0Yy3QSY95mbrinQfFsseWJLL5Uhy5gxw+InDIbzCK5AxE3 3aZosQWbAb/cQasXAYrSSqenFhes0stvK1K2DFjpSSlrXOrovpOfArOIQdcVMi6Q+43k skaw== X-Gm-Message-State: AO0yUKUwy1WZ2OOk28Hcipmg7JGNLO83GrkQUj0f9kswyncmuLl37JcO oVq5STieib3v2jDgD00MmjQhnw== X-Google-Smtp-Source: AK7set9UqDkj4+BXq1sW1C5c0COf2YrAQcsUo3O44VivI78Hc2B/mpXTUhVDiHer84R2120h5ualjA== X-Received: by 2002:a05:6512:951:b0:4b5:1545:222b with SMTP id u17-20020a056512095100b004b51545222bmr5028114lft.47.1678238845611; Tue, 07 Mar 2023 17:27:25 -0800 (PST) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o24-20020a056512051800b004a2c447598fsm2182944lfb.159.2023.03.07.17.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 17:27:25 -0800 (PST) From: Konrad Dybcio Date: Wed, 08 Mar 2023 02:27:03 +0100 Subject: [PATCH 6/8] arm64: dts: qcom: sm6115: Add SoC-specific compatible to cpufreq_hw MIME-Version: 1.0 Message-Id: <20230308-topic-cpufreq_bindings-v1-6-3368473ec52d@linaro.org> References: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> In-Reply-To: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678238834; l=756; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=RU8Ns/8Vu4I/6Nvy8BWPrvWThEZ3MktRh9CnLyJhBWs=; b=oBwciSdBkhIqhFhs8iBQeo0lNm052icB/7xOxOj6O0CmrW0YEdR3Ao5cGx5szEXNko2lSVzEIFi9 yseFhglbC61p9U3g7l2FNVaC4ZFBbm/me9vaEXAe02WZXZS0Gz84 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add a SoC-specific compatbile to cpufreq_hw for compliancy with bindings. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 4d6ec815b78b..fae30bf31e08 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -2114,7 +2114,7 @@ intc: interrupt-controller@f200000 { }; cpufreq_hw: cpufreq@f521000 { - compatible = "qcom,cpufreq-hw"; + compatible = "qcom,sm6115-cpufreq-hw", "qcom,cpufreq-hw"; reg = <0x0 0x0f521000 0x0 0x1000>, <0x0 0x0f523000 0x0 0x1000>; From patchwork Wed Mar 8 01:27:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 661439 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 80171C74A5B for ; Wed, 8 Mar 2023 01:27:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbjCHB1n (ORCPT ); Tue, 7 Mar 2023 20:27:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230143AbjCHB1g (ORCPT ); Tue, 7 Mar 2023 20:27:36 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E45F92737 for ; Tue, 7 Mar 2023 17:27:27 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id t11so19501220lfr.1 for ; Tue, 07 Mar 2023 17:27:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678238847; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=uK/plytj2pGh3hnWNU3A4OsxYVbVd2G45N7GCK+reGA=; b=ZO/pu5w8RX3as2eYI0FqEb7KM/sh1Ev4U1ow0QZX0mol1tlCvCwFEAuC+UnwH6u/pD kOOi+LVvZEnm2el9sWCvhvTaU0lDQDV5Xfj0j8zi4A0zxEdW1RiGkc/PSPWts0kSioN6 8OVrALhNaneE3lV/Xb+vwgTN8kvmI/kvfF3QwuUnzRDIpmxlW38dECTCG/T4XmTAT3EX qRXgogvkE2vzSzAjIXRtut5FIa39ppOmmm9ycKD8tnHBTpHDTAj5wm+hMlIvctRjCZxi srQAb+Y5nTuF3qwKEyieVfjzBLd6ZERrMFxBFHlLjCZqpqwFn4j7sWnypkS+VjhjNRqr d5Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678238847; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uK/plytj2pGh3hnWNU3A4OsxYVbVd2G45N7GCK+reGA=; b=ijTBN+UWUSmFcYdN/W0P7hMG6Hd1VtyS8tgNb72010jNpiXgYc8PAYDwVsOUsllZzP QKhIYromfDvR8bwoS0BV8y7HrUaL642SwU7M4JJGUIJx5ti3sMiR28lmzsxyNki2lcF/ bvLbQeF2dqhgGQ8SMlnuMjHSYi5ylfodTSMdCzJ+scWKG+fMIP89n/oTh/ACNlQakQQe EGTJU3EErhtuDnRtO7S8vkmBiSk469nIQA3kdBNlRHfS5E6DJT+o2yQ0gsQkMIXhBmDC +MdrGv50LaJTjO+qxgZv41nYo1sPB1vEM4oHipUoZ0n4aKFgGNpELF/LkyAseGuzD1fr BfMg== X-Gm-Message-State: AO0yUKXAwjL0oqy8wblg69bJuNEmrE7WUnzumuzL8veRgDPTlpTHHt8q JyXME15n44bmTg5GBusyS+23kg== X-Google-Smtp-Source: AK7set+8UZ76Ii7/yJJ75KWZzTyIzgVB7VSw92xi8kyqMwdeEda6lmvSWK+4eGnUQTSpd41yuvueTA== X-Received: by 2002:a05:6512:481:b0:4a4:68b9:60ae with SMTP id v1-20020a056512048100b004a468b960aemr4587431lfq.57.1678238847021; Tue, 07 Mar 2023 17:27:27 -0800 (PST) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o24-20020a056512051800b004a2c447598fsm2182944lfb.159.2023.03.07.17.27.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 17:27:26 -0800 (PST) From: Konrad Dybcio Date: Wed, 08 Mar 2023 02:27:04 +0100 Subject: [PATCH 7/8] arm64: dts: qcom: sm6350: Add SoC-specific compatible to cpufreq_hw MIME-Version: 1.0 Message-Id: <20230308-topic-cpufreq_bindings-v1-7-3368473ec52d@linaro.org> References: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> In-Reply-To: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678238834; l=831; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+CETfRtA+2dftHc8AjtHAgxUAslRxj6c2rgtY/K3MCM=; b=1Cok6m8m/10QMMyHcZsY7afVxCNFdOabAQIebdgi2ivqUtBwBa4T/cynfRcKo7KxvQEi59S0OosR Y7MA/jV8AG6NrYM40LFINQgQsJZXIMhQl9JQSj2rV7HQ3WvYZUE8 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add a SoC-specific compatbile to cpufreq_hw for compliancy with bindings. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 1e1d366c92c1..c18ca947618e 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1995,7 +1995,7 @@ osm_l3: interconnect@18321000 { }; cpufreq_hw: cpufreq@18323000 { - compatible = "qcom,cpufreq-hw"; + compatible = "qcom,sm6350-cpufreq-hw", "qcom,cpufreq-hw"; reg = <0 0x18323000 0 0x1000>, <0 0x18325800 0 0x1000>; reg-names = "freq-domain0", "freq-domain1"; clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; From patchwork Wed Mar 8 01:27:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 660889 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 2A985C678D5 for ; Wed, 8 Mar 2023 01:27:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230156AbjCHB1r (ORCPT ); Tue, 7 Mar 2023 20:27:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230157AbjCHB1j (ORCPT ); Tue, 7 Mar 2023 20:27:39 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C2DE9966B for ; Tue, 7 Mar 2023 17:27:30 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id m6so19487876lfq.5 for ; Tue, 07 Mar 2023 17:27:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678238849; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=2LQI9ML6EtIY5x2Onb8YDmJNrTIH7IXM1Yy3nDfRXp0=; b=KKQ4SGYWQPAl0zLwAIPtGSy2yEIvv0iTIjQBfy2YjhLByyOOuzkmc5RHjpBwvKB3IL bUXyPczJHo5noF09pgD2wLsM0udBMgBDY2vSRbpTothLzBsHFsFrNmQIdWoJZUShmRK3 ku1V/AwuuP3n38SpYCL/cLu2KKqb9iaztwK9q+AiFG92oXVZXq8J1TogJ1D7OLSZ/DsX AdGcyuuYMuaBURPfRoyFzXpOlzfQ2vDYJ+O3sMDNVS+cx4X5fu9/Qfm5seR83gU1dDi5 mjnCaLEs9l6rE2hwx7LMmt/DScjxC4uX5jkUJ6YQr4ptH0j/lnpMkpqHd5XEPl2BBl0K Wyrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678238849; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2LQI9ML6EtIY5x2Onb8YDmJNrTIH7IXM1Yy3nDfRXp0=; b=bH9aGF6/jXYdqvvKwI0ZgfAFiRd4sWwYHaMv9HCnLsAl5TV+VCExQRiDIBve1e5wWo 3HVvivNEqt3zpSofU8ZN+tsjNs9qAaSLha+oAB19jP/47RYxnvdh/jsYEHiLcNNQ9zSo XaQgaKt5Unuw5VlfTIYCD3i8crgPBha4LvLtb9uiBNPDeSqVUKR8DrtR3iUdttqb2ZPM krsGcgegRmSGxfsbsMNHSvScGmXMwwlqgI78YMV5aHILMl+0I6iyV5SuedMQM0BlIKpj qtb3qmKwcpGerDZhNCD+aPhjLqu6aQ0MimuVjl8kCsihfPHQMqF1ypDSDDVIsO1Wkp+/ OnvA== X-Gm-Message-State: AO0yUKVF3jF/X6MbFxUwfWniGczccmo3gRnqoHLMv5tV6GrsZaqhdNnw SyM+mVfzM+8+XEq1JilYnjUIqA== X-Google-Smtp-Source: AK7set+14UI2X2BxTanZ6TiN8wnmzbGjWZgA+1gA3ZV/aMIytYT5IgJ7eFAN/NGvxElOsykb7BcE2A== X-Received: by 2002:ac2:46e5:0:b0:4db:3e31:20fa with SMTP id q5-20020ac246e5000000b004db3e3120famr4701910lfo.53.1678238848995; Tue, 07 Mar 2023 17:27:28 -0800 (PST) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o24-20020a056512051800b004a2c447598fsm2182944lfb.159.2023.03.07.17.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 17:27:27 -0800 (PST) From: Konrad Dybcio Date: Wed, 08 Mar 2023 02:27:05 +0100 Subject: [PATCH 8/8] arm64: dts: qcom: sm8150: Add SoC-specific compatible to cpufreq_hw MIME-Version: 1.0 Message-Id: <20230308-topic-cpufreq_bindings-v1-8-3368473ec52d@linaro.org> References: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> In-Reply-To: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678238834; l=815; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Yil8E/XkNgavmPfgeJjlA348O7O8bWH2q0Xhcem/1o4=; b=hT4GJN2Clqv+qZfFWTcy+kaTyXx+kQRgm3+nrlVcLvq6/tsjnzeUpGcpB1SYf6u0c7n8JhG9chDO aJylT8yJDDTOC8E8wXgbXPNEqb4rs18SEtLmt6j349tG8+IuSpKZ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add a SoC-specific compatbile to cpufreq_hw for compliancy with bindings. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index fd20096cfc6e..e7e66bc3e6c4 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -4263,7 +4263,7 @@ osm_l3: interconnect@18321000 { }; cpufreq_hw: cpufreq@18323000 { - compatible = "qcom,cpufreq-hw"; + compatible = "qcom,sm8150-cpufreq-hw", "qcom,cpufreq-hw"; reg = <0 0x18323000 0 0x1400>, <0 0x18325800 0 0x1400>, <0 0x18327800 0 0x1400>; reg-names = "freq-domain0", "freq-domain1",