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: 552768 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 05F74C433EF for ; Thu, 17 Mar 2022 11:57:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233221AbiCQL6x (ORCPT ); Thu, 17 Mar 2022 07:58:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233214AbiCQL6v (ORCPT ); Thu, 17 Mar 2022 07:58:51 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 271EE1E7440 for ; Thu, 17 Mar 2022 04:57:35 -0700 (PDT) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (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 ECDF03FE41 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-f72.google.com with SMTP id f19-20020a7bcd13000000b0038c01defd5aso2018887wmj.7 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=HvIQyxzaCLygC+m7g4or085v5AUHlPerU8sOJ4YiQ4Yb6OO44D1HqqrvcJBRVo6cFp t1GhWIyzXxjKTVFxJJANJ0Jxz3g0yfZRbL28AAqCPij6bSJ7NLDz2HuJqiIwgzCMMQo+ 18F797xxk334rltx015YLlsZb03LWJ907OmbP36XWeTBtBF8rEayyCd7T2FVT0Mfa1aO pFAeZ7iXL6W9wTq6AyjzBbUs0cJ9engJMc1lOpTozq8DjmRzz/l+H9iiETsNxxY3Uas+ W2CYi4kkWRoZyE3sZLdF1xvMth7bkSa5rlIio1pPGOlA38JbJtro7nJe7aYkIxIfpBr1 8vbA== X-Gm-Message-State: AOAM5312Yd1eRpEOFoZcReySGOuSe5J9uQRkudg3A/zwmj/XOYnMCTCb rHE0fFM1ZVIgVtSrIPJLTsmTcYi7FiikbI7GxoIqA1vJgu4Mcp4R1xgDZ61pL/a2FM7UVpcszoh HJGyYY7lbMvqld3WI7HPbVqb+rQd0o2ITCfirvOw= X-Received: by 2002:a05:600c:3ac7:b0:38b:f9c6:27b8 with SMTP id d7-20020a05600c3ac700b0038bf9c627b8mr3514929wms.75.1647518253407; 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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: - |