From patchwork Thu Jan 21 14:53:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 367846 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp640604jam; Thu, 21 Jan 2021 06:55:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzART6QQ8bWPQQciOyvQORl50Cx6y4k6pYZj+J0yeBvCGD/MJLXU7LX9qfCGlZ+eKGc2aPG X-Received: by 2002:aa7:c643:: with SMTP id z3mr12100111edr.330.1611240950161; Thu, 21 Jan 2021 06:55:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611240950; cv=none; d=google.com; s=arc-20160816; b=y92+LDlx4LODPlEY2RCoC9FGZyP3MiPObHg0RIK4p4jmvaGq32bMDGH3RtEp/7tNRr lCjwOqUaSz7qFyFFG18MyQFKzHlxR/ZNvwL4+x9282vhhkRlTCS4epi1f1iTfv4rcRS7 zQUjxHXM5XlCWJ9OOcTkiKj0/L8urxdRooi8YY+R4aAISJUBbRBmswcLRHlrOqEOTJ0r uQ8YP5/qn664EXqqcCKrpRf+E9zJlDGiN4Ce/Jnf86PXxYXa1Ay3BkQf5kclhhYldAaY ezKCzQAfcLUIWGX/91W0zsaRFDGOOPR5/bx7/3nY2o8o8iIYWgcTZZ+fU1pQV/gjNalO P46Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Q4wdqxJTegCBCyudkxp306qF0hGkVyYVDvgQVJoeSCk=; b=KiyYGB/P27jZI27qWrV2sAOg0AkWIoz9zxwglT8MlkrAyYrl0IVPte7IaWoyjAlMk0 qzUF0vzbgCQ+1ia2Qv96zeGmQ8Xh7PcPYpFvIruXqzYL3tZcJqY7wzIZH/lFXgrtvHsi NoeQILJWHteE8/Wy7yv0fnhTRT7KtVHRbrFh9QMD2eZzKkiC2p5qzXs5qhfe024UWioz PpLlfRgSLxApTS2TOQuY88Ar2DHLJA7uQctiU72hrnKCNTb7R665TBk1CrhhLe9QwmHS hx1SSPkmm34w8lTsMzbJ1wsmdUqIAN2MwvkvoCmZ8lA8BUrSVu+c04ot2cqM/xxe8i0n HWXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i0TAZnF8; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lf28si1810843ejc.516.2021.01.21.06.55.49; Thu, 21 Jan 2021 06:55:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i0TAZnF8; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731794AbhAUOzc (ORCPT + 15 others); Thu, 21 Jan 2021 09:55:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731610AbhAUOyX (ORCPT ); Thu, 21 Jan 2021 09:54:23 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A125CC06178A for ; Thu, 21 Jan 2021 06:53:18 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id u14so1772452wmq.4 for ; Thu, 21 Jan 2021 06:53:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Q4wdqxJTegCBCyudkxp306qF0hGkVyYVDvgQVJoeSCk=; b=i0TAZnF8mXhOlA8h4KBwAMX6kIijqujfjhv0IlCDx/80JiwI/iVBW/rnEiZDNQrF9x PrQwSWDBO6L4bgJDXqGaQau+AK71C7/x3rbNhVby2SfvNI+nFzUfNZ5MYtIrryREyUeu 1vdYR8vDFWIT938VboG27nf6IhAfshWBgi+bodT+PQh5bx6XqqGuMaJV7Nr38qT8GiVf MmZNLldBCoxLKnT7m4PM+Kv66bd3g0Z2qycOkmjjTwv/OvBHsmIpUh4BIG12FQY50hgQ iICzC75+YJsi0puJMBduKi4qHIp0JD/JcXKTDiXWzWZwVjcTkfU0Mb9bDL1NM4yyz+hf +a4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Q4wdqxJTegCBCyudkxp306qF0hGkVyYVDvgQVJoeSCk=; b=qUunyYjFpP2ZUnDT4FDoz0clYJlxCicKTgDY7+0k56mKaJrKUnDLczJQMYSoP/WyQn stJHfbKORPaEb53nWrVq7BxS5B7BPEzNdLbZhwy2XhA+mMG+k9PJqrhqClxO5iGILhtm Zbmm16nG3MNpO7R21AoODdTALjX/yOcQ2byN9PE+//EVIMRsVJ6PAGmjU1Cp7tVMFY7v P8sDt1Os6sUXSzhR62P7AbWgleCMawFO0sMYH0p4P4LXvDTLOLd40O++5Q8NtRjPQGmF Yt/Ui3ap1kRA7cXpJzU5r3hM3Rhscr++Ew/O78EyhlYKmzo/mKUzmL/D7GVFaiY4h6FN uZPw== X-Gm-Message-State: AOAM5320CGW9CqPnicMQ9IQlA1qTru4j80nH1XOimena0AhcJBGm6/V3 jTK1B/qtLleGtqrkcLduF1T9Qw== X-Received: by 2002:a1c:9844:: with SMTP id a65mr9394986wme.113.1611240797414; Thu, 21 Jan 2021 06:53:17 -0800 (PST) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id a25sm7921770wmb.25.2021.01.21.06.53.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jan 2021 06:53:16 -0800 (PST) From: Georgi Djakov To: devicetree@vger.kernel.org, robh+dt@kernel.org Cc: okukatla@codeaurora.org, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, Georgi Djakov Subject: [PATCH] dt-bindings: interconnect: Fix the expected number of cells Date: Thu, 21 Jan 2021 16:53:20 +0200 Message-Id: <20210121145320.2383-1-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org "make dtbs_check" complains that the number of interconnect-cells for some RPMh platforms is not "const: 1" (as defined in the schema). That's because the interconnect-cells now can be 1 or 2, depending on what is supported by the specific interconnect provider. Let's reflect this in the schema. Fixes: 9a34e7ad2e12 ("dt-bindings: interconnect: Document the support of optional path tag") Signed-off-by: Georgi Djakov --- Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml index f9b150b817d8..799e73cdb90b 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml @@ -73,7 +73,7 @@ properties: - qcom,sm8250-system-noc '#interconnect-cells': - const: 1 + enum: [ 1, 2 ] qcom,bcm-voters: $ref: /schemas/types.yaml#/definitions/phandle-array