Thread (21 messages) 21 messages, 5 authors, 2018-08-02

Re: [PATCH v8 2/4] dt-bindings: mailbox: imx-mu: add generic MU channel support

From: Jassi Brar <jassisinghbrar@gmail.com>
Date: 2018-08-01 09:58:02
Also in: linux-arm-kernel

On Wed, Aug 1, 2018 at 2:28 PM, A.s. Dong [off-list ref] wrote:
Hi Jassi,
quoted
quoted
+               The doorbell channels should be used with shared memory and
protocol
quoted
+               level acknowledgment if needed.
+
I would avoid this. People might get notions that they have to use shmem
with doorbell -- a trivial protocol might mean doing some fixed action (like
reset) whenever the doorbell rings.
That's right.
i.MX8 using the general purpose interrupt for peripherals. No shmem needed.
e.g. RTC, Watchdog and ON/OFF interrupt.

BTW, this means the peripheral will use mailbox doorbell channels to handle
Interrupts. Is there such user case in kernel we can refer to?
I don't find any publicly in kernel.
It should be simple though. Acquire the RX channel, and populate the
rx_callback() with the "interrupt" handler.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help