From patchwork Tue Dec 27 14:42:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 637773 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 69D03C10F1B for ; Tue, 27 Dec 2022 14:43:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbiL0Ony (ORCPT ); Tue, 27 Dec 2022 09:43:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229762AbiL0OnE (ORCPT ); Tue, 27 Dec 2022 09:43:04 -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 1ECEDBCB9 for ; Tue, 27 Dec 2022 06:42:14 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id 1so19871519lfz.4 for ; Tue, 27 Dec 2022 06:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KHwRl+AB5wLkhKDAiPL0A8SAvtCqVXcA4oDfPcsR7vg=; b=K1bPYVJpCYQfjKyICsxvgGmmrR0YkHnHQfYUA8mTkRwOQmDR+VCnoFnMew3LoxxOHx qZjX2S/313YVzz+p7psxJbhSIxfqvpoGgavpmIMN7VTCsIB6iUmjvxD27wM5zXAi7FNR kk96cY2aZH2/rbXox5JuowofpPnhMhLP+5g2p9xVmn2COvnCBrClayT6to9hsCl8juMv 3fnr7/e4rEvVqYFZz4wOD7k9O+ogzjQmADBRW+UGT3lKSfAVm1N4WL3y2B/z8s51hyTg 74YV/7riJQx+qabkFUmCKyAe6PtDSMAFUTIL+nFra6biSe8HTshZVowuRYUrHaVG+xtR FPgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KHwRl+AB5wLkhKDAiPL0A8SAvtCqVXcA4oDfPcsR7vg=; b=BYzceyZ6gPhB9+ShS9iMWJwvgP7VtW8TbG0cPogrXa3j5ihhJ7OyDpekw8glJR2X2L mfP/CcbqqswLGApmHeixzdJjcwvGcHhZyYpen164atsmZgOVNP0CQ0IQ18285gPVP0gT AmE1+dykaU/hYDBtBGRT+GHsHCSt4pE2CGGdaJ5k6qCJ1kl+7TqqvSXFkbUV9g+KG67B GN/qQ8GrGzJFC7w68WxZRyYATaj5xi5IeHeZcopDUIha63Z6uAT0TJrPZfx0tVWECw+H hTHQI4Ixn4lIBIXoTwO/SLoEq+jEGVgSP2+lP3X2LRNrMZtuM6pLTbM3fhDouac+250r anzg== X-Gm-Message-State: AFqh2krPxMhiRtarqRlJTfCrOOUl2QZVVvBr1G2o9RQLAmVqtQ5a/O3u BilGUI975OR4fnWE24gePEqtuAsmu0S6E9wk X-Google-Smtp-Source: AMrXdXvUrWPztaMGzMB2O8DAGmjZLYdFOUG4JdWoVImScN5zfbw1+sOw+sRCIFxR/1gtRVAHAvMQsQ== X-Received: by 2002:a05:6512:210c:b0:4a4:68b7:deda with SMTP id q12-20020a056512210c00b004a468b7dedamr5535427lfr.54.1672152124874; Tue, 27 Dec 2022 06:42:04 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id p7-20020a056512138700b00494643db68fsm2285923lfa.81.2022.12.27.06.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Dec 2022 06:42:04 -0800 (PST) From: Krzysztof Kozlowski To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: cpufreq: cpufreq-qcom-hw: document interrupts Date: Tue, 27 Dec 2022 15:42:02 +0100 Message-Id: <20221227144202.79800-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The Qualcomm Soc cpufreq hardware engine has LMh/thermal throttling interrupts (already present in SM8250 and SM8450 DTS) and Linux driver uses them: sm8250-hdk.dtb: cpufreq@18591000: 'interrupt-names', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+' sm8450-qrd.dtb: cpufreq@17d91000: 'interrupt-names', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml index b69b71d497cc..2494e90a2fda 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml @@ -58,6 +58,17 @@ properties: - const: xo - const: alternate + interrupts: + minItems: 1 + maxItems: 3 + + interrupt-names: + minItems: 1 + items: + - const: dcvsh-irq-0 + - const: dcvsh-irq-1 + - const: dcvsh-irq-2 + '#freq-domain-cells': const: 1