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: From patchwork Mon May 27 08:34:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13674852 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 A296CC25B74 for ; Mon, 27 May 2024 08:34:30 +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=6b6vBc5cOqo6GOuIAE7D/A1dVtXLl4dzi7tvwHZsw6A=; b=zVZ4Z6G9QA3GOh oCUjONDufRDpxLqWovUFPLDMkL9fNjSVs6vndw9N9xtBopGUEa49MbIwDUqzjhRSBlfVrvpP8dPIr 7WXX+ju2y2m1fibOJV56xjeDQHAwo5UAtRm9Dl4ro9iLebsVaxZU2r1X9iR0uviWlm4e7MFVHznEH 8rThjJ41lh7ahG3PuGodbvFM2P4Nx13CFtiJlv695wO+1l6Vhs3HPuCwYP0YuXcj1EFrY7js1/0sN uc8dadmW8VXGl5yIMECT8EneJ2E7ALB5H2okUxhpp1tiNeE1NTSzQ5B+T0v2Xh3mTo04JTpW67GqW 53cbBoYbW43RbrLSdE8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBVoC-0000000EFKM-1o9M; Mon, 27 May 2024 08:34:20 +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 1sBVo7-0000000EFH4-2bLO for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2024 08:34:17 +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=1716798855; x=1748334855; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=T2u4zEaRlGBpo4Yx+BpIMgm18+yuNbm2IErR00tf+e4=; b=EpRcFOxqfcrdOgGCtKQqvfyzkCQfXBfmsdCjqLiSZr21JtwWmRp69Jc1 +Ue0sFvg/ZN3rtbWzUejhLwdclisRuQG+wlHhB3JouYruGQc/PfkLRVn8 aYxDFq5VLlctm7JBqzlRZuOnmM1KKMd+PwPf0qL8ECMBeptbmHP1IYjjk FIgU5U78gAnHa5Vq47A/Fo2ud2qj98g/JV6qlpCck5tp9H6FSlh/N/4WE 22bqsIYfXgo1dcmZ39jb0IpWGFY89oOlHY7JVzlTBSZRpww0LeZftYjND vZE3ZToY5Qmghbh6nNqJl6lUh+M53oUZ9t7+I5coI97M2/rVzLd2EyckC g==; X-CSE-ConnectionGUID: 8vsgpL6VTwWCVQLLxj0/wA== X-CSE-MsgGUID: RAdqJ1+nT8u3Kz6/TV/Efg== X-IronPort-AV: E=Sophos;i="6.08,192,1712613600"; d="scan'208";a="37075690" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 27 May 2024 10:34:13 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 48DA91637E4; Mon, 27 May 2024 10:34:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1716798849; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=T2u4zEaRlGBpo4Yx+BpIMgm18+yuNbm2IErR00tf+e4=; b=BrBlwXH+vb0bJYpSEVvH44dcHo2m7o4ZlufZo+JWmxaBrttOwlEfpW7KeO9P6LfqaqnfCE tnta6HaB1ohjmBzMEtiRSS82j2RKlNiIRF/WvNZB6wPhSA1R4ckr01I6uQ42p2k8HcAdUv gO30Fols+6nJ5tQcIEoUW7jr+i3+3rlX91fXaill3BZbpOIrWNangmtkoKYOY4ga7jfLt4 yBw/hqlBMOBEYLnF2LK+o4zU26vfR1yplKurEf29Xr/o2tquS7KT/WYewuVuAssgphLxpz WIeXD4BqXBgsW2tv8uE6XEKpzRuUFjQoCuYQTnDD7pHL4pXKGEgSjH1rlv20Qw== 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 2/2] arm64: dts: imx8mp: Add imx8mp-specific irqsteer compatible Date: Mon, 27 May 2024 10:34:02 +0200 Message-Id: <20240527083402.30895-3-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_013416_095213_7D3BB58F X-CRM114-Status: GOOD ( 10.03 ) 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 i.MX8MP irqsteer has power-domain support, so use a dedicated compatible. Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 8eb9f24007d00..fdaf7d5314384 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1996,7 +1996,7 @@ hdmi_blk_ctrl: blk-ctrl@32fc0000 { }; irqsteer_hdmi: interrupt-controller@32fc2000 { - compatible = "fsl,imx-irqsteer"; + compatible = "fsl,imx8mp-irqsteer", "fsl,imx-irqsteer"; reg = <0x32fc2000 0x1000>; interrupts = ; interrupt-controller;