From patchwork Fri Aug 11 20:58:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 712737 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 BFD56C04A6A for ; Fri, 11 Aug 2023 20:58:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233925AbjHKU61 (ORCPT ); Fri, 11 Aug 2023 16:58:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230077AbjHKU60 (ORCPT ); Fri, 11 Aug 2023 16:58:26 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D8ECE75 for ; Fri, 11 Aug 2023 13:58:25 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2b9338e4695so37411031fa.2 for ; Fri, 11 Aug 2023 13:58:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691787503; x=1692392303; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=VflrdiVnGg345uIFqnoO6TkGpXhpklE8gdXZdL1DyS4=; b=RtFpgzn2Kei7bNCcR3S0d0ve9sB4Y1yaUu9cN4/HQp/thC0tYVFevISPV1RlHdvasu H4MQBTKYZYIGtZp6FBF6JMhO2p44jH0jM2HbPn2aI9Cj8PDAo+PO0xFPg1RQ4r6P4oyd stUh4DQWWxxUDph8oDknytAKgNE4Guz8StIoF9v79KJv91ooBRGEtTADokcMoZcY4wQc bcMza1tdXDWs6EJmBpCE0rsBfndfTwlP5KZNT9dR8QsIhcD9WCAr5Dmo9rnCujrKi+go lfk9VjBysBJzffvWKTRdydY4IMAv+aEXqIDMw3PqHFRJMY98cr+ciKOINpnYg6HeOe95 F/dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691787503; x=1692392303; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VflrdiVnGg345uIFqnoO6TkGpXhpklE8gdXZdL1DyS4=; b=BAh098IP/++FI4DebXumnvxG2XTsfsuG/W4ii444UQnOy0VQgkw0fB/xaMJQ7pk10B yZChPVdENn1BRkl3IvTnyalbY0BgnGfSPWv38mMP3PlFWgpz5AIbKoP6pXAzcS8k2ZM6 /6c5CxXid937LMcCEudgB1JVmdTrdUgb8kjQEofx+P9nR86O3Y0pu3papLNW2G7zu7if yu2c5WX38lHBvxmFbaiHCLU23Yu8n2TxxTWTBJkuGq65UFueMzvBSOtnFkiqMDbWmxyR 7us0nYty8HPSqKqnRO2gh/MBiseZAh6eQfTnDsRNoUeSqtUW6YS3Vo7p1A5ez2hsiTED aChg== X-Gm-Message-State: AOJu0Yz0mtc2HngLYTZ9CMMcE8M0ssuLrnNJOmt/cH7rj8Mc7ZEDV8oy xFsyJ8YMVgiV2Drftkxn//Fo3A== X-Google-Smtp-Source: AGHT+IGSc6jrJjAJTlyy+ZL/rqPh2gMcEam0xvCk0Hpxzu2QlIG+CFvudTY3BT2QSbhopD0EE1ompQ== X-Received: by 2002:a2e:98ca:0:b0:2b7:2ea:33c3 with SMTP id s10-20020a2e98ca000000b002b702ea33c3mr2816669ljj.22.1691787503491; Fri, 11 Aug 2023 13:58:23 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id d14-20020a2e360e000000b002b9e65912cesm981931lja.140.2023.08.11.13.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 13:58:23 -0700 (PDT) From: Konrad Dybcio Date: Fri, 11 Aug 2023 22:58:22 +0200 Subject: [PATCH RFT] arm64: dts: qcom: sc7280: Add missing LMH interrupts MIME-Version: 1.0 Message-Id: <20230811-topic-7280_lmhirq-v1-1-c262b6a25c8f@linaro.org> X-B4-Tracking: v=1; b=H4sIAO2g1mQC/x2N0QrCMAwAf2Xk2ULaMlr8FRHpumgDtZupijD27 ws+3sFxG3QSpg7nYQOhL3demoI9DZBLag8yPCuDQ+cxWmvey8rZBBfxVp+F5WUIQ5rd6NHHANp NqZOZJLVctGyfWlWuQnf+/UeX674ff2Um+XgAAAA= To: cros-qcom-dts-watchers@chromium.org, Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Matthias Kaehlcke Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691787502; l=1411; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=fcwFE3MuiwWl8M7cstcsljKLN5V51Tw/EmSIoXqMVYg=; b=MPZz0y4EKr2WdEJ1t/CExMXJmhXYVZM2UiJofYktHs0ihvjUk5YvDN6MEa/ofFalD0w+LuXR8 bI8mOtsMR4iC07lAW6FWXHk2S71eAhrlAdWdrwwx/Dm2Vdz0b7PUGZp X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hook up the interrupts that signal the Limits Management Hardware has started some sort of throttling action. Fixes: 7dbd121a2c58 ("arm64: dts: qcom: sc7280: Add cpufreq hw node") Signed-off-by: Konrad Dybcio --- test case: - hammer the CPUs (like compile the Linux kernel) - watch -n1 "cat /proc/interrupts | grep dcvsh" - the numbers go up up up up -> good --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) --- base-commit: 21ef7b1e17d039053edaeaf41142423810572741 change-id: 20230811-topic-7280_lmhirq-e07ad2530387 Best regards, diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 925428a5f6ae..76ed32c8d6f7 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -5363,6 +5363,14 @@ cpufreq_hw: cpufreq@18591000 { reg = <0 0x18591000 0 0x1000>, <0 0x18592000 0 0x1000>, <0 0x18593000 0 0x1000>; + + interrupts = , + , + ; + interrupt-names = "dcvsh-irq-0", + "dcvsh-irq-1", + "dcvsh-irq-2"; + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>; clock-names = "xo", "alternate"; #freq-domain-cells = <1>;