From patchwork Wed Sep 4 11:41:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13790697 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 09B97CD37B4 for ; Wed, 4 Sep 2024 12:05:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=50GjDQI+pSoabi61OIfDuJqzJLB8xHBCP1mouzolrew=; b=YwQ8MVRR9V+3aURqBYswUtACTw ogdTKoSgln2sWTVkre4FYRN94qsqFVHy9SJAunor1e001CsUlGBYoNK51PLBw9hs+mZR5R0y/sSf7 uzxJI6UAKeDgnYacRB2FPS9mOkwh5pMQq1Y3bpn02omS/yQ5UNv9y1+VHbhfuiVDcs96gWgIVFi8S wlxeRaU3UAvDKV7aqwjsJ1/jBrh4Qd45vWWrLctRkz88RUNO5togQ8HVcLPQfaPbz7GN0tTyN6R64 nZ6HD9arwxSs1D5Y191P5wl/xZ+NhxbtsGOdPeW7Z3+Odkby8hWCMq3ajgtCneaapHP19uGTm97Xr OQnOcRAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slokn-00000004GsH-2jDk; Wed, 04 Sep 2024 12:04:54 +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 1sloOD-00000004COo-0Zhs for linux-arm-kernel@lists.infradead.org; Wed, 04 Sep 2024 11:41:34 +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=1725450093; x=1756986093; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=50GjDQI+pSoabi61OIfDuJqzJLB8xHBCP1mouzolrew=; b=iiMVQ5/tk8OzUuqYCF9XSf4IFZ+4WX4RutzTD+OXCXE6WAluNd7BJREg O+Om4Al38Z3R+BWYLoZCrO7qeGk0HsIdy4SMAEN/HKoTWlR9sdl7qWzSK sYI526RdO+kaqlfIIfjcD1ipf/rbvvslTg5Zqi2CGUGJwm6ykSZhSj2+2 jlhNb01ntHD3BUC4gq3HOz4wL9yCpI3IkWCnweU+unnXzl47JeiX1L8Xs xAx3YVKaELtmQl7GXQLzCYWvoNWkEXTSdfZILb3av2B2guBX+7RK19eYC a+S1ycpKgcchtlQCr21Vya+v0AE9ENx+x1HX93nmHt2bUreHSQGL3u95P g==; X-CSE-ConnectionGUID: JQjU9ZnQQjqTOhRyZOcAYA== X-CSE-MsgGUID: LIQJAjhURkKkdd2QoQWWzA== X-IronPort-AV: E=Sophos;i="6.10,201,1719871200"; d="scan'208";a="38761777" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 04 Sep 2024 13:41:29 +0200 X-CheckPoint: {66D84768-2C-5FF8EC80-F6CEE9F8} X-MAIL-CPID: BC999EBFB5F1F2B338A0722EB8ED215C_0 X-Control-Analysis: str=0001.0A782F23.66D84769.0046,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id DB3A916A860; Wed, 4 Sep 2024 13:41:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1725450084; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=50GjDQI+pSoabi61OIfDuJqzJLB8xHBCP1mouzolrew=; b=qJkqOIJn1syPvvXoeTk5pIGXjxI8FyJNctdZYYV/jQ29aVA3HT0JaGNwHsIja+rEJ10JYv nFGZYNXoTXWEVzT82JQLvOSx+5QlP+oM6iN076CJtkyT3YLjYsW1l44S/RJ8o6g/bRmuQQ SkorVNapiTfjUr6TbmtJ1MRWJ1/BiyfgEVmi3FT1GUxMrZSlSIn33JzHY3VWfDCecvyh58 74coOcbysdWYtqlrZ0KjWgL6NVRyaM+rrFT/ndu70aTr4Iut6+yzi6lUEsUbKPHRSeTjl9 pPV3p52Dpd66++fmq3o+bED9+VcOoDu2ac928qkb7OFQHtLAUzPjumekCZIzGQ== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shijie Qin , Ming Qian , Zhou Peng Cc: Alexander Stein , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/1] arm64: dts: imx8-ss-vpu: Fix imx8qm VPU IRQs Date: Wed, 4 Sep 2024 13:41:03 +0200 Message-Id: <20240904114104.1841269-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 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-20240904_044133_645939_8888AF8A X-CRM114-Status: GOOD ( 11.28 ) 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 imx8-ss-vpu only contained imx8qxp IRQ numbers, only mu2_m0 uses the correct imx8qm IRQ number, as imx8qxp lacks this MU. Fix this by providing imx8qm IRQ numbers in the main imx8-ss-vpu.dtsi and override the IRQ numbers in SoC-specific imx8qxp-ss-vpu.dtsi, similar to reg property for VPU core devices. Fixes: 0d9968d98467d ("arm64: dts: freescale: imx8q: add imx vpu codec entries") Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8-ss-vpu.dtsi | 4 ++-- arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-vpu.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-vpu.dtsi index c6540768bdb92..87211c18d65a9 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-vpu.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-vpu.dtsi @@ -15,7 +15,7 @@ vpu: vpu@2c000000 { mu_m0: mailbox@2d000000 { compatible = "fsl,imx6sx-mu"; reg = <0x2d000000 0x20000>; - interrupts = ; + interrupts = ; #mbox-cells = <2>; power-domains = <&pd IMX_SC_R_VPU_MU_0>; status = "disabled"; @@ -24,7 +24,7 @@ mu_m0: mailbox@2d000000 { mu1_m0: mailbox@2d020000 { compatible = "fsl,imx6sx-mu"; reg = <0x2d020000 0x20000>; - interrupts = ; + interrupts = ; #mbox-cells = <2>; power-domains = <&pd IMX_SC_R_VPU_MU_1>; status = "disabled"; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi index 7894a3ab26d6b..f81937b5fb720 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi @@ -5,6 +5,14 @@ * Author: Alexander Stein */ +&mu_m0 { + interrupts = ; +}; + +&mu1_m0 { + interrupts = ; +}; + &vpu_core0 { reg = <0x2d040000 0x10000>; };