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: 12783966 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 050BBC433EF for ; Thu, 17 Mar 2022 12:15:49 +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=PzweAZ2Hroun2hpISom6ovV850kvbqdklvEOwfun7gw=; b=HO0U4GrG4xkj4O rtY0KpxGPNQ/zGjSieCQVqTBlcMAnPqFHo+5Gg+GIUcxEbPIClmpWgVHwJ2Ul3IlH4zDJ8U2I7xaG Ee7ex/O+RQr6rm9htvQ1TEXN6etYKQqtopkzfUe/a5NhWOoHjiyYUB33xHi+fpInL2hXKP6A8rPiJ 2c2Thj7/jON0l23sPkNpnEYEhY6ZuGVm7ZgEbyFAoCGrJ+eWF3ClhYy38/3jeflXzl414k9IiShzK OqnYvvXRZEiXvjbwYk8b9NoiEeYtiK6l1cawUPMe3GRaMVdyr/XSF7SQWxhhXn3uxga9rv7d7AJMZ TMEvpGOvnr+VfMHOB01A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUp0o-00FzRd-CM; Thu, 17 Mar 2022 12:13:53 +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 1nUolf-00Ft7g-6c for linux-arm-kernel@lists.infradead.org; Thu, 17 Mar 2022 11:58:13 +0000 Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.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 B795A3FFD3 for ; Thu, 17 Mar 2022 11:58:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647518284; bh=LNamuvhrzviKyHuQ4L0rCxs+G11+opr3Fg5u/5wPXa8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JpxtCaqZQvYxwRscQHiiZVlWhBbSA2zqKHCSzZ6vQWxDYX+phkeW7y4/xTanrQpul 3XzNBtJpKj33+AkKbkwKOoCe8/lNu4DPxjtlaUtV2pSr/qc2nxl4JG7RLrn3av5Kyu 7vC8MalvNAIvAOZ0OzJwzERQZgH9VOTCEMJzOrjRb+8EOLF44wnHIuSi+r1+Kc1oKC 0Zk5mT9d2jEPS8MBHvGpDgAfyOqOzaU3DqwUo1UtrTZ6gZDgdDfL+grSOLu/pITJ2H ZgUEgZO/hBTj35oeG4tIIBhYGvLSdLCVZGZePezYlkvtWJnt5mPeyRT+r0y9HqiKps 8us6qtB3ONvuA== Received: by mail-ej1-f72.google.com with SMTP id x2-20020a1709065ac200b006d9b316257fso2800076ejs.12 for ; Thu, 17 Mar 2022 04:58:04 -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=PRB49UC/veLV+hV110GEXLfT/o6KfVrIGeq0VSsCGOGTIImaMc76YaqF4G7CsOSOkw yXYzDPhyRXu1dpf1AjFvzPiZO4soRi8EPiJXdFCL1CXMNIW0+6xkTK64vr5X5qAcpSiS ukOMHe6ztQ6bTwnIObajJqJyQacP0Y+oI6kH3eb+hYHp0eB15kajjZM2uMYOzBoy7Ix8 0sjf5x+ZmPi5y3Sx0OTsp1ecCpWmJiueUfGGmrySdFrhMW4cg4BtEo2zBAbJxZn+kfhx NT2HFDyc8nWcmqW+tStLx+c3MdRHL85zoabh+48vSjHQ2oD3Il0G74Jh72Pz8X3R9s3j p03w== X-Gm-Message-State: AOAM531lijmXHET0xSIHhNdCBWfiT8PoI9HD150iZJDH76G1vMRFguFp gUKT6uVaG+6jtqqk/KIr6YFqZsQqYJch+Kdr/QD+4F/ZGk5x804jAr0C3NCS1KBBzJxU55AY3rj Y1NkRWxiEqX9hnbYKZpAHxXaNcochajkqIO2Ab3pjo4YtHtPovTPc X-Received: by 2002:adf:ee06:0:b0:203:d69f:ee6a with SMTP id y6-20020adfee06000000b00203d69fee6amr3573321wrn.376.1647518272279; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220317_045811_415970_A519567B X-CRM114-Status: GOOD ( 11.82 ) 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 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: - |