From patchwork Thu Aug 18 06:16:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12946777 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 17CA0C00140 for ; Thu, 18 Aug 2022 06:18:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=p8BDJUwbxZAQcSqwYBSzyTysWCDZk97qjs4+Wx+41zY=; b=ynrldzQXRidDaX LQQRIupBGqpCJun28cTiYShP+Solb2/lwbVB/A2+a653HHeumGRRuaeONmwCgqLxVgx+g3OgVqX8u rxyY4m3jweMz9PG/tHQ+7qoRmnKN1He0AHbNIzvuEo1aQ705sk1gQ4vjXvvx27FnCVHJbU+gd5KQ5 /EBkvg1GYzH8In76p8VaIVXB4e376GGGvkj0tgVmx3uTG45V9l4dCQGGApLU2aG1UDvphumiEVO8H 7uCKsajC3fx0qLVWAWkVC9ZN+fSA0m+aUq8SFV5zMcFHu3VEbbnTTb7d7DND8rh2xbNK4qOZesFpk 40XzP/dV1ELSpVABAHnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOYq1-00GtFF-9C; Thu, 18 Aug 2022 06:17:05 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOYpy-00Gt5y-2Q for linux-arm-kernel@lists.infradead.org; Thu, 18 Aug 2022 06:17:03 +0000 Received: by mail-lf1-x12b.google.com with SMTP id d14so835355lfl.13 for ; Wed, 17 Aug 2022 23:17:00 -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=QVL0ThxMYXoHUcdw/zHz14FiK0kTlit0w54KTm7EHcb0ZSStasZw4vJLYtHbQTY1WQ 4Cmt/FAhjQLQufaRichAPx5BFjp9RfmqkewhJFCkh2oGDZ8GJYHzvX3NQNL+kcgXdm0s 8Bjfmikh+3GH8aHncezHE0ZnJqajmdw3IOAdpQVLV9sJItfFfhp8eqwxU2aGc584ag3j rjCqvWjzYd9FXl0j3MbZfLqoDgCGk7Tu7cAoaIWWME7HnFkuJxcC0TYj+DiD/o6QNwlD eeNyeSnkCgJSCPAYBW2qfOYJ3+2+yOcTVFYEcvj7NTKfrPYBZ7MCUfYKasxuKLpKCFbi 98tQ== X-Gm-Message-State: ACgBeo177g1jJxdiXB9gw4Rpgq8fs8KWdex4xXoHgIH0uW0/xuSZUpqw iE3vdF5CbX8uqcuoCohHTo3Z6Q== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220817_231702_157121_18EBB24C X-CRM114-Status: GOOD ( 11.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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.yaml 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 operating-points-v2: true - opp-table: true + opp-table: + type: object fsl,ddrc: $ref: "/schemas/types.yaml#/definitions/phandle" diff --git a/Documentation/devicetree/bindings/interconnect/mediatek,cci.yaml 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 operating-points-v2: true - opp-table: true + opp-table: + type: object proc-supply: description: diff --git a/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml b/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.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 operating-points-v2: true - opp-table: true + opp-table: + type: object reg: # BWMON v4 (currently described) and BWMON v5 use one register address