From patchwork Mon May 27 08:34:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13674853 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 4F520C25B74 for ; Mon, 27 May 2024 08:34:34 +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=mj05Q6iH2yw1m1HcAVGPWPB/E/aZyeo9Gebo+B+/zKk=; b=qgBwXlgPXIWzqY h657RYFVLfL/UI9pShz5y35O7LDUNcRmvk5pYy2pZRuOAhfTqVSTaPNf78sCQbmPKioaK1u53i0Yt vbyrJVs/m+e/tUT7aJUX2RggreccJvk59Pa0vX9mTBIpC5j2eRK+bAxPPKCcEGs0CqdNbgZQSvYc1 mlj9ZhcI2tipzbht/ytB/Dqdhx+vtZ0QmBLNSw9/ts2gfp45VceIhH341MdjnpCfypjbbJi1Jh+/N kdrLL8+PEP9ty44ye7+p94hSx2N+uN71zd2jpeitDE/qw7h6jx150+9W6FwQ05HogrUFMpZPDFHdu kXiVNOTTNYTxidFlXWFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBVoB-0000000EFJf-2O4P; Mon, 27 May 2024 08:34:19 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBVo2-0000000EFF8-2Bwr for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2024 08:34:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1716798850; x=1748334850; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=14a5RxSRpaQNqSYabsn0c0LCDLx+Q2lxEk6Fc22o0Eg=; b=nLmUUSP+OHJHNyzPOljeycYKY0FI1BNV3qo/azdr3j4rns+Ik1cfDtdM ElLzV6KLAm+7rXefYBt5QLJuA5N5bkFpwLB5s1Gyauw53NVMfiUpdpPKH M4aScwvbwqmBHw3HvikHxsr1B1N1IUuinJ0ExkCbmWX5nS1FMoqmaBpnZ ufmpIlJPYDOqg1zKwQhtQFarEBgdMEeEXn/YkpIXmweJQ4R4sg8q162at Hxt6y4BSl8s3SN8G0SGDtlB5titfAne0ZRxIgc9/aW/OubI4UwAZJpqMp 32Hoh2X+jaZTBBgRcWNjh5Bukjiuc8a+87N8jKpaFsPrsX9X+k2hr+Ox/ g==; X-CSE-ConnectionGUID: bMGbv8CMTZSVwQDCl9fnJw== X-CSE-MsgGUID: JBQtOhVMQ3SQs+pueUFKPA== X-IronPort-AV: E=Sophos;i="6.08,192,1712613600"; d="scan'208";a="37075684" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 27 May 2024 10:34:08 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 520C31637E4; Mon, 27 May 2024 10:34:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1716798844; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=14a5RxSRpaQNqSYabsn0c0LCDLx+Q2lxEk6Fc22o0Eg=; b=GXF8+aJFKUqz09WtmlnjIfEehEfD7jaS+EsXcEhJQ8xrE4FKEoEE5Twdm/NbMYTn4VQXc/ p8ZXzR6qORO+gThKDFHLERDXGbk0kLRJOW7NSuuGWoksyJzAwF0ER9a3BY90FUi0SMs4hQ YU+JUEJrhTStf6SyxLZx4ssvVfAWxLavu+JOA5+LR5iWcwpBsevnY+FLHvIVrTs7068CHE j432a0dACZ+GS3y08TEAiQZ6mdGYepU0GHMytT6PQv+bwr/i1NkSL+KFTiE9SSDqkZLhDw +b2H7r16RZBhyaOIbcg0MEbSx0pWxHxkoGzw6X7MEKqXZL4oRuIzquVwJhqWtQ== From: Alexander Stein To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Lucas Stach Cc: Alexander Stein , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 1/2] dt-bindings: interrupt-controller: fsl,irqsteer: Add imx8mp/imx8qxp support Date: Mon, 27 May 2024 10:34:01 +0200 Message-Id: <20240527083402.30895-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240527083402.30895-1-alexander.stein@ew.tq-group.com> References: <20240527083402.30895-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240527_013410_956843_A6454D80 X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. 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 Some SoC like i.MX8MP or i.MX8QXP use a power-domain for this IP. Add SoC-specific compatibles, which also requires a power-domain. Signed-off-by: Alexander Stein Reviewed-by: Conor Dooley --- .../interrupt-controller/fsl,irqsteer.yaml | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml index 20ad4ad82ad64..924995191404b 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml @@ -14,7 +14,10 @@ properties: oneOf: - const: fsl,imx-irqsteer - items: - - const: fsl,imx8m-irqsteer + - enum: + - fsl,imx8m-irqsteer + - fsl,imx8mp-irqsteer + - fsl,imx8qxp-irqsteer - const: fsl,imx-irqsteer reg: @@ -42,6 +45,9 @@ properties: clock-names: const: ipg + power-domains: + maxItems: 1 + interrupt-controller: true "#interrupt-cells": @@ -70,6 +76,21 @@ required: - fsl,channel - fsl,num-irqs +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,imx8mp-irqsteer + - fsl,imx8qxp-irqsteer + then: + required: + - power-domains + else: + properties: + power-domains: false + additionalProperties: false examples: