From nobody Sat Sep 21 17:16:03 2024 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 9D906C00140 for ; Thu, 18 Aug 2022 06:17:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240832AbiHRGRG (ORCPT ); Thu, 18 Aug 2022 02:17:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239174AbiHRGRD (ORCPT ); Thu, 18 Aug 2022 02:17:03 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23F2A94EEE for ; Wed, 17 Aug 2022 23:17:01 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id e15so917156lfs.0 for ; Wed, 17 Aug 2022 23:17:01 -0700 (PDT) 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; bh=ho+Nb4Kl/C/aIXeakRLVlBshDy8+kHxnGlegszRANBE=; b=HniK3cF6yOKlCinfqd4fC1nP8cvW8vbpSR3UViT4wbZGZ+6LjIgxfCjNomG6n1ZtcR 9u4t4zP68qB1w8AlQwsPu3IEL02mKJny/ZNe4+Cn9jRHhu3Cod0rrHTFy8Imt88ljjHD IDe8wCELy7QoNBYlm6WGXrnIKcCikE52O6U2ekSh9YgnnHj+rMWaquhsREZo4sz5Jz/d D0i9zICO4Up63mCL4Cv7pLb3lZclbtIJjsILnEP+19VBKos43BZZl29T1xbdCO1bB9o7 g1miJ0F7Qbgv1RnamzyjkIQ7m2xvOmxDjBIgPVZH8w7nNnmfbSCb5pbtu7BgU90Ld+hU cluw== 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; bh=ho+Nb4Kl/C/aIXeakRLVlBshDy8+kHxnGlegszRANBE=; b=I+Z9WLJCBY1AXTbMsAjS9UlKVPPtVTw00du107qE7Sxmr+R3NUvvIzdaHfKEuLCd8K X/SlFw7Uao7U0E89fOq9CzTWBmukM6h4LzYCqLTeeBf+wnPRrmyBzzxBngnLNEWmOGOF AlXEIIuZWey2rqas5r0ShfNgK6hH5JxyiNkVpipOfO0W2gnqGWfw5wEIBuscgURyJ9mJ 8KNodI9xvxA56dYvZ80azjQtUTeHZqOJFRYnie4v0poKGYjby0VG3cx9BE8N7E6GEITJ ng2xuPpuV05ZxL8AdcxDdJnGUeT7HU41RS+rPhXlWayWnAvN2FqeZ+h8VDMcf1Bw2Mua rtyA== X-Gm-Message-State: ACgBeo0XRGGdBiKeB8L4uvMEzc3o2CJTz6+8r8NZSkylAXWDuAxgxEfl RucyotQ9vmqMsPz5hh/HOHsDsQ== X-Google-Smtp-Source: AA6agR4Hie8Ptl9watzP9q3wSRaT1DJ6LQ5bGSYAymhnHao4U9kBrUHbr6CC3vfKu5GI47yddxEqpQ== X-Received: by 2002:a05:6512:3e07:b0:48b:131:616 with SMTP id i7-20020a0565123e0700b0048b01310616mr544949lfv.475.1660803419504; Wed, 17 Aug 2022 23:16:59 -0700 (PDT) Received: from krzk-bin.. (d15l54bxv1k5c31plwt-4.rev.dnainternet.fi. [2001:14bb:ae:539c:671:aa32:2bd5:8994]) by smtp.gmail.com with ESMTPSA id k4-20020ac257c4000000b0047f71771969sm93282lfo.113.2022.08.17.23.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 23:16:58 -0700 (PDT) From: Krzysztof Kozlowski To: Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Andy Gross , Bjorn Andersson , Konrad Dybcio , Matthias Brugger , Peng Fan , Jia-Wei Chang , Johnson Wang , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH v2] dt-bindings: interconnect: restrict opp-table to objects Date: Thu, 18 Aug 2022 09:16:53 +0300 Message-Id: <20220818061653.9524-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Simple 'opp-table:true' accepts a boolean property as opp-table, so restrict it to object to properly enforce real OPP table nodes. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Correct typo in msg. --- .../devicetree/bindings/interconnect/fsl,imx8m-noc.yaml | 3 ++- .../devicetree/bindings/interconnect/mediatek,cci.yaml | 3 ++- .../devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.y= aml b/Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.yaml index fa4f7685ab2b..f7a5e31c506e 100644 --- a/Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.yaml +++ b/Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.yaml @@ -47,7 +47,8 @@ properties: maxItems: 1 =20 operating-points-v2: true - opp-table: true + opp-table: + type: object =20 fsl,ddrc: $ref: "/schemas/types.yaml#/definitions/phandle" diff --git a/Documentation/devicetree/bindings/interconnect/mediatek,cci.ya= ml b/Documentation/devicetree/bindings/interconnect/mediatek,cci.yaml index 449c7c988229..58611ba2a0f4 100644 --- a/Documentation/devicetree/bindings/interconnect/mediatek,cci.yaml +++ b/Documentation/devicetree/bindings/interconnect/mediatek,cci.yaml @@ -36,7 +36,8 @@ properties: - const: intermediate =20 operating-points-v2: true - opp-table: true + opp-table: + type: object =20 proc-supply: description: diff --git a/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bw= mon.yaml b/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmo= n.yaml index c2e697f6e6cf..a4743386c4c1 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml @@ -35,7 +35,8 @@ properties: maxItems: 1 =20 operating-points-v2: true - opp-table: true + opp-table: + type: object =20 reg: # BWMON v4 (currently described) and BWMON v5 use one register address --=20 2.34.1