From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60B32C432BE for ; Thu, 19 Aug 2021 18:42:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 456A8610A5 for ; Thu, 19 Aug 2021 18:42:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233364AbhHSSnT (ORCPT ); Thu, 19 Aug 2021 14:43:19 -0400 Received: from mail-ot1-f43.google.com ([209.85.210.43]:33537 "EHLO mail-ot1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbhHSSnS (ORCPT ); Thu, 19 Aug 2021 14:43:18 -0400 Received: by mail-ot1-f43.google.com with SMTP id 61-20020a9d0d430000b02903eabfc221a9so9971962oti.0 for ; Thu, 19 Aug 2021 11:42:42 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=TZWKwStN6MATtB/XLi53g0TP+9a8Dyy8oUdRFDMDmo4=; b=PSHR53QYsCrDVF2nl/Y3h3YYE+MpTA9VPTfor5NiUuWKxDv3OjPrzZxOY41QisH4N1 4AqRkwCvXuKIAQosH1g2TF4HThhlJabWQymp/TfSzQG8chC57QX5MCigJ8YncUQ2Q2a6 aYRet8dtT6zXPHkU8Y9kgGngIgo3qwikqHxdvbb29nwm9HRZVkggfwXveWylThFDzUC+ xL69FRtdddsgx9XRvII2XqyTOwSqdQejHbj7/rJpNUAb3GMM5Hjl1GEr1mLdaPzm1+0r deC0IXpkpUBLj6cb6JAlcOBwr4tBSY1Zv4SrUn5c2rG40eg0nXCBN8K2hEb2OGrpHOux ij0w== X-Gm-Message-State: AOAM531MPiDerFmMfOzCoMm/k+3ySKlrFOEd6FmFwbjPgHmCnZ7NmD5d 71I80ui24hWpIfa454W5FA== X-Google-Smtp-Source: ABdhPJyzJxJXBQmPLuzTOEurKWojo7fyc1PMzZDD2OVWbc/4PeL/pdbkZOeQAiTR43O+O+UFLPO+Fg== X-Received: by 2002:a05:6830:44a8:: with SMTP id r40mr13162082otv.222.1629398562017; Thu, 19 Aug 2021 11:42:42 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id v19sm796485oic.31.2021.08.19.11.42.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Aug 2021 11:42:41 -0700 (PDT) From: Rob Herring To: Andre Przywara , Sudeep Holla , Linus Walleij Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/5] dt-bindings: arm,vexpress-juno: Fix 'motherboard' node name Date: Thu, 19 Aug 2021 13:42:35 -0500 Message-Id: <20210819184239.1192395-2-robh@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210819184239.1192395-1-robh@kernel.org> References: <20210819184239.1192395-1-robh@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Commit 9d0a36ddcc52 ("arm64: dts: fvp/juno: Fix bus node names") changed 'motherboard' to 'motherboard-bus', but didn't update the schema. In the mean time, the simple-bus schema started requiring child nodes to have a unit-address. Update the schema to address both of these issues. Cc: Andre Przywara Cc: Sudeep Holla Cc: Linus Walleij Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/arm,vexpress-juno.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml index 55ef656d1192..530a808e518a 100644 --- a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml +++ b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml @@ -154,9 +154,9 @@ patternProperties: description: Static Memory Bus (SMB) node, if this exists it describes the connection between the motherboard and any tiles. Sometimes the compatible is placed directly under this node, sometimes it is placed - in a subnode named "motherboard". Sometimes the compatible includes + in a subnode named "motherboard-bus". Sometimes the compatible includes "arm,vexpress,v2?-p1" sometimes (on software models) is is just - "simple-bus". If the compatible is placed in the "motherboard" node, + "simple-bus". If the compatible is placed in the "motherboard-bus" node, it is stricter and always has two compatibles. type: object $ref: '/schemas/simple-bus.yaml' @@ -170,7 +170,9 @@ patternProperties: - arm,vexpress,v2p-p1 - const: simple-bus - const: simple-bus - motherboard: + + patternProperties: + '^motherboard-bus@': type: object description: The motherboard description provides a single "motherboard" node using 2 address cells corresponding to the Static Memory Bus -- 2.30.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E22F8C4338F for ; Thu, 19 Aug 2021 18:45:20 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A9CC6610A3 for ; Thu, 19 Aug 2021 18:45:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A9CC6610A3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:References:In-Reply-To: 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: List-Owner; bh=2hBSFzVgAaCyQ8LxdHdXJ5kzOwRZmuKe97q7/qD1ml4=; b=0vRoedSLA6XFra tR/NM0WQD6mndNd7Ztcy/dLEqHrXwi/FBneEJ8bAU/iCdQxtyqZ1VYOg8u9EMHvqXlS2qMoKMalzu Nl6kXDu2Qp6yga5Gcaer85lORxuX3jSiMgOg3vfaKdsDvtaSZyMcusxcEF09w2jnY0OtOZmTz2fk8 LRTvXAJivhcB86EDq9npt9xyCYQmtK/hVwdXjEBSRMigWylll2PzZtSDYr3uUg7IR0wT2DIFgEC9j dqNN6KXtykb/ZX3PgD1DQ0ZcxyL2QTRAtMXLhtP7IIFoDFV0vG1pQrsQMhc8PBqDO6dtdTmDKz9TU 5W1oZCUdIIOka7jZdsHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGn0B-009G9b-Td; Thu, 19 Aug 2021 18:42:56 +0000 Received: from mail-ot1-f53.google.com ([209.85.210.53]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGmzy-009G79-TX for linux-arm-kernel@lists.infradead.org; Thu, 19 Aug 2021 18:42:44 +0000 Received: by mail-ot1-f53.google.com with SMTP id k12-20020a056830150c00b0051abe7f680bso4859752otp.1 for ; Thu, 19 Aug 2021 11:42:42 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=TZWKwStN6MATtB/XLi53g0TP+9a8Dyy8oUdRFDMDmo4=; b=NDonUYYnJvmBa7OiaXF5eivRh9kC6LhFOepeepo0C4WOShZP9eQSDRxYwI2fwWu0Nu 1c5v8QE/LLpCuB1qXsdTWG/0hx4KGXQ0EPXpfTXAcQdrpjTJVvFXmZzFykp+OAk6yWj4 9XqrxUkyW4RHUxFyq4omJaozdQbFWFqtLkh/hcFP2cv0zDQJatYyqOCM7RvcfdkZ0e7b NyZ7SD9t0nTct7QIGgJqO/8b4zVs9DcPSzziDfgR6lH7z3onqSoDNPj4Hwj10wOfgt9f 71cENl3Psz7UQPwl64jlAPowiCb+xpFSsKme4Wz4BvFxuLT575rV85oAwZlCs1oxva7D OJNw== X-Gm-Message-State: AOAM530Bvrzpmckf8W4xVw7dfWesIO36wJG7mbk3OgDn8ylc4ZcMJ1eX 6qozBBNbUo8BiyKM/dcJmA== X-Google-Smtp-Source: ABdhPJyzJxJXBQmPLuzTOEurKWojo7fyc1PMzZDD2OVWbc/4PeL/pdbkZOeQAiTR43O+O+UFLPO+Fg== X-Received: by 2002:a05:6830:44a8:: with SMTP id r40mr13162082otv.222.1629398562017; Thu, 19 Aug 2021 11:42:42 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id v19sm796485oic.31.2021.08.19.11.42.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Aug 2021 11:42:41 -0700 (PDT) From: Rob Herring To: Andre Przywara , Sudeep Holla , Linus Walleij Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/5] dt-bindings: arm, vexpress-juno: Fix 'motherboard' node name Date: Thu, 19 Aug 2021 13:42:35 -0500 Message-Id: <20210819184239.1192395-2-robh@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210819184239.1192395-1-robh@kernel.org> References: <20210819184239.1192395-1-robh@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210819_114242_994008_5885CED2 X-CRM114-Status: GOOD ( 13.58 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Commit 9d0a36ddcc52 ("arm64: dts: fvp/juno: Fix bus node names") changed 'motherboard' to 'motherboard-bus', but didn't update the schema. In the mean time, the simple-bus schema started requiring child nodes to have a unit-address. Update the schema to address both of these issues. Cc: Andre Przywara Cc: Sudeep Holla Cc: Linus Walleij Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/arm,vexpress-juno.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml index 55ef656d1192..530a808e518a 100644 --- a/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml +++ b/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml @@ -154,9 +154,9 @@ patternProperties: description: Static Memory Bus (SMB) node, if this exists it describes the connection between the motherboard and any tiles. Sometimes the compatible is placed directly under this node, sometimes it is placed - in a subnode named "motherboard". Sometimes the compatible includes + in a subnode named "motherboard-bus". Sometimes the compatible includes "arm,vexpress,v2?-p1" sometimes (on software models) is is just - "simple-bus". If the compatible is placed in the "motherboard" node, + "simple-bus". If the compatible is placed in the "motherboard-bus" node, it is stricter and always has two compatibles. type: object $ref: '/schemas/simple-bus.yaml' @@ -170,7 +170,9 @@ patternProperties: - arm,vexpress,v2p-p1 - const: simple-bus - const: simple-bus - motherboard: + + patternProperties: + '^motherboard-bus@': type: object description: The motherboard description provides a single "motherboard" node using 2 address cells corresponding to the Static Memory Bus -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel