From patchwork Thu Mar 17 11:57:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 552335 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 77CBDC433EF for ; Thu, 17 Mar 2022 11:58:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233276AbiCQMAD (ORCPT ); Thu, 17 Mar 2022 08:00:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233272AbiCQL70 (ORCPT ); Thu, 17 Mar 2022 07:59:26 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D957170DAF for ; Thu, 17 Mar 2022 04:58:04 -0700 (PDT) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.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-0.canonical.com (Postfix) with ESMTPS id 819AB3F60E for ; Thu, 17 Mar 2022 11:58:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647518283; bh=LNamuvhrzviKyHuQ4L0rCxs+G11+opr3Fg5u/5wPXa8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lJlTqjQGK3frrGP4pCucsve2WbpHqn8FUTC6mykdWg2ludE9MuTRg7EC9jDn8gKs8 aWK2kNtCPtlaSJil36txqdRWV4B4HSAw33OJfBKjCcPSN9ROV7adnLNa8n8bSVJay6 OoLyS9Hz4vM6z+FAWAbX23vVJ7mQ84AgvksvI5thUjXwJPcYlrZboqTdVtamsWirYC xxYnULrTX9Q3VqU54sO/h9JsNCstEK330DUVhPtug8T33iZbkNFXAIZffg26Cp5Xtl QsrmkBav4fpyMld21uE9//X0d8u5cH4SMa7EIad3v0KELD3IuBqD1DEeyocC3lT9My Sb8+joyzpJ0Jg== Received: by mail-ed1-f70.google.com with SMTP id cm27-20020a0564020c9b00b004137effc24bso2989293edb.10 for ; Thu, 17 Mar 2022 04:58:03 -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=LNamuvhrzviKyHuQ4L0rCxs+G11+opr3Fg5u/5wPXa8=; b=b0Pr19x1tEfvU7COwI+Y/59ULAHN1t5BU5Z/bTPAgtPXpXexHLLyJ46yk664QOWOw+ cNgHIlvml0pzq2POLjZ7Lb2lZ8i73ecLMpLP6gS7R72n8Zvhw+HVPXTzWbGvollpLzw+ jIQMfBp/1VmG0MVloCbzrm0CWOFLqKFC7Bq7P1KZYpzGhW70N+zKcrbAo8Ax/LaO1Uxa zbA8kSeCB5HmjDCcYGb7Rnrp1vMdqM5cmo1sbEUaIoeqZEcgZCzYM6AjnYR1jWhLzXom pJvKdp6F1I+hkdpumTNJY+UZYsjjKGkpbdE5aoh8L78FE5I4pLYy4qkLQ20VskHb138O eUjw== X-Gm-Message-State: AOAM532vsD23nmGn1mtdymp7SbNYpBZYYVxjJNN6fgBAzoBf7VBZxD+P 7hOrHVYTYtc+wK7xETH2t7FN/hzwkwc+85fM+vJEacEq7VBVZ3uq98YGleuR3XLOr2kwigvv4UX fFHaQpuG69+NYdiEro0JAWxqVL+mZ3cjsrj1z9Hs= X-Received: by 2002:adf:ee06:0:b0:203:d69f:ee6a with SMTP id y6-20020adfee06000000b00203d69fee6amr3573315wrn.376.1647518272278; Thu, 17 Mar 2022 04:57:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmlGAG4WbY9Y9ECnGHhG7nICuH9qeB/Pd7q3rLG8W4tmsHHiqlovZiXlafy2xr1sXRMtPxDw== X-Received: by 2002:adf:ee06:0:b0:203:d69f:ee6a with SMTP id y6-20020adfee06000000b00203d69fee6amr3573270wrn.376.1647518272033; Thu, 17 Mar 2022 04:57:52 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 04:57:51 -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 16/18] dt-bindings: irqchip: renesas: include generic schema Date: Thu, 17 Mar 2022 12:57:03 +0100 Message-Id: <20220317115705.450427-15-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 schema, which enforces node naming and other generic properties. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Geert Uytterhoeven --- .../renesas,intc-irqpin.yaml | 28 ++++++++++--------- .../interrupt-controller/renesas,irqc.yaml | 5 +++- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.yaml b/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.yaml index f4aae56c6469..2a55581e0f4f 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqpin.yaml @@ -65,19 +65,21 @@ required: - '#interrupt-cells' - interrupts -if: - properties: - compatible: - contains: - enum: - - renesas,intc-irqpin-r8a7740 - - renesas,intc-irqpin-sh73a0 -then: - required: - - clocks - - power-domains - -additionalProperties: false +allOf: + - $ref: /schemas/interrupt-controller.yaml# + - if: + properties: + compatible: + contains: + enum: + - renesas,intc-irqpin-r8a7740 + - renesas,intc-irqpin-sh73a0 + then: + required: + - clocks + - power-domains + +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml index 620f01775e42..ab827bd8590f 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml @@ -9,6 +9,9 @@ title: DT bindings for the R-Mobile/R-Car/RZ/G interrupt controller maintainers: - Geert Uytterhoeven +allOf: + - $ref: /schemas/interrupt-controller.yaml# + properties: compatible: items: @@ -70,7 +73,7 @@ required: - interrupts - clocks -additionalProperties: false +unevaluatedProperties: false examples: - |