From patchwork Tue May 28 07:11:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13676212 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 F2DECC25B7E for ; Tue, 28 May 2024 07:12:17 +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=89yRL5276Hy3uTs/ZPmLmzCLO39Y9tPYHXZkB3cQz40=; b=stH4vygbXIGcg3 oUmCAvliieqbhq6yYnb9sXAUcENNit6NYFmCcqHwxqo7+Y5KXQsFowkN7x4WT1IEMMmJGkCi/QvMI 6nUEANW0140UWzOszJJlr1eV9WumJhxwsM9t1mLcgCMUVZE1QQpUOUH+laOHQE4xF3AeT0SX3ic21 mLAXAsMS26HSr4Qp71n787QS0qXOcWP+l3pExPm9W/VEYlcEP1dq483VCEb2vNo8NhxB9VOXbAZkl Wxt4t/1uDi3sd1EnJMp0NycNTr7Ufvb3smOgbPHd2eRGClZwMfJEpakTgTF1RqAiBuV+fV6HCsn+H 3/f5lgytEOGD/U9bD80w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBr09-0000000HHWt-14BW; Tue, 28 May 2024 07:12:05 +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 1sBr01-0000000HHUZ-0B9s for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2024 07:11:58 +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=1716880317; x=1748416317; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dHKIs/KoK2vU5Vx0u2qFk5vGdrktdeEflK3UPvVVUsg=; b=eRnjEcaJoXo/rYp9jd0VtW+VKJ0rsYn/76Ei/uE4G34tRD+vgB/pXrQJ h9YdQAloIn48HeS19rZnpkZLLpfmOGq1oD3kyIAjglbt1zpyV7t3LGcSb WQWEkNIDFthB1UF63VzC1IBuu3Vxc8H9myzZcDE3ypFOe4zk+6IIvqyPH +IJP9OH6Zo/9sIsVjbW/AQGeKPYHl/DoT5KpwIBF8AEkeJ92RLkP+nWAp YabU3wYfZItlRC/4l0FMciFnI1RraMsqkxwGg1Zs5nylfI7FqtN+DhjF9 Od3TFvKIFn2Nkevtpsqf98UTzopzv2tWWabDBYIfvQvyUot3mZ4SkElYy w==; X-CSE-ConnectionGUID: ZN0Rvt3yQa+vyBonDSWnLQ== X-CSE-MsgGUID: 6ROlfigfQbmWuUvnB2TSUg== X-IronPort-AV: E=Sophos;i="6.08,194,1712613600"; d="scan'208";a="37094739" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 28 May 2024 09:11:55 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4F9FA1641FA; Tue, 28 May 2024 09:11:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1716880311; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=dHKIs/KoK2vU5Vx0u2qFk5vGdrktdeEflK3UPvVVUsg=; b=V+4VRrueizZhPW5Uq0k6hT3bRdJ9fFRyKH+Y3dYMGAeCNel8NW6qTT/9a3sTplPsHvaDnT jAC27dz5eDXRTr2+BOqfjBE/HdHcaEKwVjD0qTJGvct1aOaP9b9jHoqaWXlHA3iDHN/cHJ 62iIlA2iSeCy1eMcKd5Ub3srYGMTpcODgUrfQ0jHkCNiidUUBp1Cw9Hb01FIQSs3M4g9RV bzDc2C718GXngwkMNSc0hPMCPZL7f9XSZq70eOAPcqTtSzqi0kGOFx//bnm7odr5X6fpM/ 4YoRMmvaAd5jBc2gA6NtBG1ZZSwOVhrEVIty3E9w9M4g65NsE8pHVTo2jp5xNQ== 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, Conor Dooley Subject: [PATCH v5 1/2] dt-bindings: interrupt-controller: fsl,irqsteer: Add imx8mp/imx8qxp support Date: Tue, 28 May 2024 09:11:40 +0200 Message-Id: <20240528071141.92003-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240528071141.92003-1-alexander.stein@ew.tq-group.com> References: <20240528071141.92003-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-20240528_001157_435724_8C4BDC7E X-CRM114-Status: UNSURE ( 9.17 ) 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..aae676ba30edc 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: