[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEnQRZBJTCMYXwBz9pDVGD+7-gE_Jba-5kwXYC8qOPkEBiVT=g@mail.gmail.com>
Date: Fri, 2 Aug 2019 06:54:27 +0300
From: Daniel Baluta <daniel.baluta@...il.com>
To: Richard Zhu <hongxing.zhu@....com>
Cc: jassisinghbrar@...il.com, Oleksij Rempel <o.rempel@...gutronix.de>,
Aisheng Dong <aisheng.dong@....com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v3] mailbox: imx: add support for imx v1 mu
One more thing. See below:
On Wed, Jul 31, 2019 at 12:14 PM Richard Zhu <hongxing.zhu@....com> wrote:
<snip>
> -/* Control Register */
> -#define IMX_MU_xCR 0x24
> /* General Purpose Interrupt Enable */
> #define IMX_MU_xCR_GIEn(x) BIT(28 + (3 - (x)))
> /* Receive Interrupt Enable */
> @@ -44,6 +36,13 @@ enum imx_mu_chan_type {
> IMX_MU_TYPE_RXDB, /* Rx doorbell */
> };
>
> +struct imx_mu_dcfg {
Can you rename this into imx_mu_regs ?
> + u32 xTR[4]; /* Transmit Registers */
> + u32 xRR[4]; /* Receive Registers */
> + u32 xSR; /* Status Register */
> + u32 xCR; /* Control Register */
> +};
Powered by blists - more mailing lists