Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp612001ybz; Wed, 15 Apr 2020 15:07:54 -0700 (PDT) X-Google-Smtp-Source: APiQypLDhn17xqMKRn7tYLaYQHB4pQCFTntzs6HoJjtKyXb2oaMPjl3KHfYmAxmomUyVw0MqVctL X-Received: by 2002:a17:906:1f55:: with SMTP id d21mr7041893ejk.320.1586988474651; Wed, 15 Apr 2020 15:07:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586988474; cv=none; d=google.com; s=arc-20160816; b=JJs4AJqqSdX154F5iCYgEDY1b31+NtSvNz5u2X3h0B8KxCH9IxgYTpC1QxqQkka/S2 uLpoSbt9E4gvyxP6f9cgzv9Zm3Sx9VzeyYPkyriEE4mcy5v8SLKBlM08jeTsdssxVT0Y 1PoYEPslZXjEHB4Qm2/H7zR8sJNLtjoA4qnrldt/nIuyi89SqXzAlhy9OQqMbzzM/AIe TiAfVQZWo0OC2Rrwjnrm+4sjfUFkxaOg0K0uG9NxgnFgQxQjjdVDdO+NUgjihKzp+t9N sQ3/qPLd+/icmptGnK64srDECYU611nMaxxrO1EFFdK6lKwyo9Z5scmJnK0qpeNy5yWI ZkyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=BOFfKaxpSS9m4Vz0rN0WCSCay4giA/2EXV+XtdS2K9Q=; b=hjvoC5nzf02a0Uu3FuORtak9ByK9bIu+48H//TGHL1rdTFZIr1cFcGBEzUnhN3CeeG d3neZnw/bUadatUxnIzQKyHyuZGY0zy5NY3Mh/pyWT18YfwUc+ijut/kLLPApf5JhzRD qZTrbY1LX1lkEGs8AgA00UAOq/xKQNdDuQdAgKzEACL406PZYmXmVg+ek7tIu5yFx/YO IxBT2KlDp7/CYK8wTXidM1ujota/Gof/9G5V4FpOO5XXkh2ozFoMLAaSnGZfCX2zUBbF bGYWII8piXp3xQC5jJI5U75DpC0GBUCuowf7t2imvlG+h/rLRh7Hq43a83v8iPOjwcBX v+fA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si8972783ejr.273.2020.04.15.15.07.30; Wed, 15 Apr 2020 15:07:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440940AbgDOFuT (ORCPT + 99 others); Wed, 15 Apr 2020 01:50:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2393456AbgDOFuO (ORCPT ); Wed, 15 Apr 2020 01:50:14 -0400 X-Greylist: delayed 63 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 14 Apr 2020 22:50:14 PDT Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 106BCC061A0E for ; Tue, 14 Apr 2020 22:50:14 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jOaw6-0006zO-9o; Wed, 15 Apr 2020 07:50:10 +0200 Received: from ore by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jOaw5-0004qL-Sh; Wed, 15 Apr 2020 07:50:09 +0200 Date: Wed, 15 Apr 2020 07:50:09 +0200 From: Oleksij Rempel To: peng.fan@nxp.com Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, robh+dt@kernel.org, jaswinder.singh@linaro.org, linux@rempel-privat.de, devicetree@vger.kernel.org, Anson.Huang@nxp.com, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/2] arm64: dts: imx8qxp: support scu mailbox channel Message-ID: <20200415055009.uxkzy4j3l24dvvyv@pengutronix.de> References: <1586870668-32630-1-git-send-email-peng.fan@nxp.com> <1586870668-32630-2-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hrp2dftdgxv3jd5n" Content-Disposition: inline In-Reply-To: <1586870668-32630-2-git-send-email-peng.fan@nxp.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 07:49:46 up 151 days, 21:08, 164 users, load average: 0.08, 0.03, 0.01 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --hrp2dftdgxv3jd5n Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 14, 2020 at 09:24:28PM +0800, peng.fan@nxp.com wrote: > From: Peng Fan >=20 > With mailbox driver support i.MX8 SCU MU channel, we could > use it to avoid trigger interrupts for each TR/RR registers > in one MU, instead, only one RX interrupt for a recv and > one TX interrupt for a send. >=20 > Signed-off-by: Peng Fan Reviewed-by: Oleksij Rempel > --- >=20 > Note: > This patch needs https://patchwork.kernel.org/patch/11446659/ > The other three patches in the patchset has been in linux-next >=20 > arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 18 ++++++------------ > 1 file changed, 6 insertions(+), 12 deletions(-) >=20 > diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot= /dts/freescale/imx8qxp.dtsi > index e8ffb7590656..d1c3c98e4b39 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > @@ -141,17 +141,11 @@ > =20 > scu { > compatible =3D "fsl,imx-scu"; > - mbox-names =3D "tx0", "tx1", "tx2", "tx3", > - "rx0", "rx1", "rx2", "rx3", > + mbox-names =3D "tx0", > + "rx0", > "gip3"; > mboxes =3D <&lsio_mu1 0 0 > - &lsio_mu1 0 1 > - &lsio_mu1 0 2 > - &lsio_mu1 0 3 > &lsio_mu1 1 0 > - &lsio_mu1 1 1 > - &lsio_mu1 1 2 > - &lsio_mu1 1 3 > &lsio_mu1 3 3>; > =20 > clk: clock-controller { > @@ -548,14 +542,14 @@ > }; > =20 > lsio_mu1: mailbox@5d1c0000 { > - compatible =3D "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; > + compatible =3D "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; > reg =3D <0x5d1c0000 0x10000>; > interrupts =3D ; > #mbox-cells =3D <2>; > }; > =20 > lsio_mu2: mailbox@5d1d0000 { > - compatible =3D "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; > + compatible =3D "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; > reg =3D <0x5d1d0000 0x10000>; > interrupts =3D ; > #mbox-cells =3D <2>; > @@ -563,7 +557,7 @@ > }; > =20 > lsio_mu3: mailbox@5d1e0000 { > - compatible =3D "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; > + compatible =3D "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; > reg =3D <0x5d1e0000 0x10000>; > interrupts =3D ; > #mbox-cells =3D <2>; > @@ -571,7 +565,7 @@ > }; > =20 > lsio_mu4: mailbox@5d1f0000 { > - compatible =3D "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; > + compatible =3D "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; > reg =3D <0x5d1f0000 0x10000>; > interrupts =3D ; > #mbox-cells =3D <2>; > --=20 > 2.16.4 >=20 >=20 >=20 --=20 Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --hrp2dftdgxv3jd5n Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEERBNZvwSgvmcMY/T74omh9DUaUbMFAl6WoJEACgkQ4omh9DUa UbMo2Q//VYhP/UGwmjOZJrG++dp/xo/uq550cWXhFlBWJ6DU4JoFl7Hxynr+YtPW BvTr8huLL8PchbLwHUFtUF92vPbIBrtW0t6wzCkn0oAlfuV03b9+jB7rX2DFfAIc 4nm/+kk5ez6PCUNT0JMjgUFHKeeRtfVcy6qvIGTCYSj+Tvg2//2oukcWtUmLE9CN XKLEfEPtDi63ihkhVkzYsWgzA7X5aLQPxrKc9+CopxOltx3dsrm4AoMR2XIZM8Vp x1obhnTSbU1en/Jga1woTaNbks1nhLRnHgi328D0DbpBh10r4tYQKj/eBnEfpacu fI3teKrvU8Qjr0XinVsdW5+asXEdOePM6Ufonje/8VdJ01G8rG4npORlqxaTb4mU 9wGHk0R4wERpuZhRShwhpui3h5WyeHuWz1+8b0B02+Vhw1RuSUv9WNt4B+xe7NbQ oD831atJNNVSbjOWqW41SnPMQPJZRhwdvFwVhK/ib5TGvLSGqnMMtZ0AQhnpdLqD u1CBQWVtCSMs0yU9W1b2b+8pWp+O6h/Nlg2XgL51xe19wP2s7xDgHAmJLmHo+c+7 n9P4xka4BV9n44bmBNq6P3EoJegv7cW1VWmYWhfCWfHdTAxedvX/iZgq2AINPo1X wSp+DdgtYvFL/NlzH+kCR5FopdZj5hU869wcdL+n3MNS6zzcKMg= =56Tk -----END PGP SIGNATURE----- --hrp2dftdgxv3jd5n--