From patchwork Thu Mar 17 11:56:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12783936 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 A3ACCC433F5 for ; Thu, 17 Mar 2022 12:02:01 +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: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=mGUWrOVranT9VXk+3JSVu/ky3YiSHwKk7W/sIdyRfa0=; b=znwc3srANrIeI4 Q8SDYeg7/K0JS05tHaRvK/kcPbQyOiPdl/aWR/1qp+MsnYAiWdo3XMqKLTGKRQkm5SJ9aC6rGe4xg 5lklYnZLfkk/8FXLBVOYRm6bTpPAQJM94LQOAj4SDwevUHs1FCOMSCUkIpkgTx88Xu1Ptwhhf1hGL 5XwXFhA+XbnwMT9vwIEd7K9FopJ+jIiI9z37vKoEvZp3tq1gDF/rrLCwFIc8032bjvz6zMHWMG1Ax BWitaCM+rNWOqqoCRY25nlxz9DZGO0BeUDcQyUjSyZRLLBWx1c+TcBKz1BvT7ZaEE+NXAkUN82McV mBXOTFvBgAQvqtHfN3UQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUons-00FuMp-MG; Thu, 17 Mar 2022 12:00:29 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUol5-00FshA-2P for linux-arm-kernel@lists.infradead.org; Thu, 17 Mar 2022 11:57:38 +0000 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id BC5E53F5F3 for ; Thu, 17 Mar 2022 11:57:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647518253; bh=HVRdo0a9Zp5ow/1mp1AbDSb5pnZ9OyDrT3JP+Xnx0c8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=o2Myfdqda1ht42ob/185ihNANRolha7l0O6teM6y3Dv0qx6W4zj539iJagEBffJ7s v36xPgBKWsatQbFLnRumn8i2NMC4JBhqM83Sr08AnVjZ1Due3NqY7B/m7Rs3vYdk0l vBLdHxzVoMgnJnnzoejkzfzn6Z3AGpaYk4ueSNDA03xFvwZ/z4F1QP+aWYW9XqAnwN PUW3gWeW/79UZHZm2gx3hi7hqs3xGck424x4x/T491YcdtqjNVw42qBxAzEY71zN1a pfE4yEHi+tm+YbcXWZJorZ2R7p26k60S0v0FpmzgKUyYWUgVLG8+f03AtJgtNSVGWU BnZ+MzXdlSzxg== Received: by mail-wm1-f70.google.com with SMTP id o10-20020a1c4d0a000000b0038c6e5fcbaeso1727307wmh.9 for ; Thu, 17 Mar 2022 04:57:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HVRdo0a9Zp5ow/1mp1AbDSb5pnZ9OyDrT3JP+Xnx0c8=; b=1B+ANLiLI4GDcZklui1Oyc4h6NU5WTpCb5rsMEjDtS2DHAvFfeOK8fudGmKkLWomT8 GfSlQ5j4EyPJX4YNgznrwVhtzwT7tCaNa2J9a+45DK6NcvcZylrgePMenPU24XmSxqK4 Mqb93xYcCwZWhzjcJBJUtwKD6W4slJTG7hYa5DUSd4gLWqUStL+t56stS68D39ymCDuQ WP6EiUGt4jLwofzjroakDYRoWLOq58isUFw7nZ+UczxlkML/PVHsqi03E5m6BNGT0rsy j4N7/ImTUd9gkP6Xb4DqtEA4YYnwWDD5K5cU86+xzF7CMp8mvAkSJPT5P7VXpBjUgTi/ 0CqQ== X-Gm-Message-State: AOAM530TYqFhb35pLteGR/J+SOa0N1tIMuafRMt0/xC2UV+D3JcZ1+di SEq+dmLG1gQyQDndMLo4EbHOfAEtTSU7UNtw5wwLlurhHHFfPdb6uEqn3kIEd4cxW84HIPDOhev NMkH3WQ7FYNq9qooSHwMx5pQq6ZHC6e/npfU8ANf5NOkYiGS9VeDW X-Received: by 2002:a05:600c:3ac7:b0:38b:f9c6:27b8 with SMTP id d7-20020a05600c3ac700b0038bf9c627b8mr3514918wms.75.1647518253405; Thu, 17 Mar 2022 04:57:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3/O+rMez/BwQ/7F1CSUo1QHlpo1ME2REeH/FIItXP6CKvP9B/nZFl1eiLRHNeDKPj7C+b9g== X-Received: by 2002:a05:600c:3ac7:b0:38b:f9c6:27b8 with SMTP id d7-20020a05600c3ac700b0038bf9c627b8mr3514901wms.75.1647518253208; Thu, 17 Mar 2022 04:57:33 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id r65-20020a1c4444000000b0038c48dd23b9sm5824900wma.5.2022.03.17.04.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 04:57:32 -0700 (PDT) From: Krzysztof Kozlowski To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Linus Walleij , Imre Kaloz , Krzysztof Halasa , Michael Walle , Mark-PK Tsai , Daniel Palmer , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Palmer Dabbelt , Paul Walmsley , Nishanth Menon , Tero Kristo , Santosh Shilimkar , Neil Armstrong , Dinh Nguyen , Cristian Ciocaltea , Joakim Zhang , Lucas Stach , Paul Cercueil , Jiaxun Yang , Claudiu Beznea , Jason Cooper , Paul Burton , Thomas Bogendoerfer , Birger Koblitz , Bert Vermeulen , John Crispin , Geert Uytterhoeven , Sagar Kadam , Suman Anna , Lokesh Vutla , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, openbmc@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-oxnas@groups.io Cc: Krzysztof Kozlowski Subject: [PATCH 09/18] dt-bindings: irqchip: loongson: include generic schema Date: Thu, 17 Mar 2022 12:56:56 +0100 Message-Id: <20220317115705.450427-8-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220317115542.450032-1-krzysztof.kozlowski@canonical.com> References: <20220317115542.450032-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220317_045735_302761_16A8D5E3 X-CRM114-Status: GOOD ( 11.86 ) 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 Include generic interrupt-controller.yaml and msi-controller.yaml schema, which enforces node naming and other generic properties. Signed-off-by: Krzysztof Kozlowski --- .../bindings/interrupt-controller/loongson,htvec.yaml | 5 ++++- .../bindings/interrupt-controller/loongson,pch-msi.yaml | 5 ++++- .../bindings/interrupt-controller/loongson,pch-pic.yaml | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,htvec.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,htvec.yaml index 87a74558204f..d58cbc852b09 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/loongson,htvec.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,htvec.yaml @@ -13,6 +13,9 @@ description: This interrupt controller is found in the Loongson-3 family of chips for receiving vectorized interrupts from PCH's interrupt controller. +allOf: + - $ref: /schemas/interrupt-controller.yaml# + properties: compatible: const: loongson,htvec-1.0 @@ -37,7 +40,7 @@ required: - interrupt-controller - '#interrupt-cells' -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml index 1f6fd73d4624..9b6d69066e54 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml @@ -14,6 +14,9 @@ description: transforming interrupts from PCIe MSI into HyperTransport vectorized interrupts. +allOf: + - $ref: msi-controller.yaml# + properties: compatible: const: loongson,pch-msi-1.0 @@ -46,7 +49,7 @@ required: - loongson,msi-base-vec - loongson,msi-num-vecs -additionalProperties: true #fixme +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-pic.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-pic.yaml index fdd6a38a31db..0c7bee42946a 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-pic.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-pic.yaml @@ -14,6 +14,9 @@ description: transforming interrupts from on-chip devices into HyperTransport vectorized interrupts. +allOf: + - $ref: /schemas/interrupt-controller.yaml# + properties: compatible: const: loongson,pch-pic-1.0 @@ -41,7 +44,7 @@ required: - interrupt-controller - '#interrupt-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |