]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: cmdq: add multi-gce clocks support for mt8195
authorjason-jh.lin <jason-jh.lin@mediatek.com>
Tue, 31 Aug 2021 07:09:03 +0000 (15:09 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Wed, 1 Sep 2021 03:57:45 +0000 (22:57 -0500)
commitf2293740ce828dbb39e8ecf3c5536480bda2487d
tree883f97a2d1dd029cb9862c8465c63a5c93a3c1f3
parent7320cd886dff2161b0f54cd1dc66d0b0a65ff833
mailbox: cmdq: add multi-gce clocks support for mt8195

For the design of GCE hardware event signal transportation,
evnet rx will send the event signal to all GCE event merges
after receiving the event signal from the other hardware.

Because GCE event merges need to response to event rx, their
clocks must be enabled at that time.

To make sure all the gce clock is enabled while receiving the
hardware event, each cmdq mailbox should enable or disable
the others gce clk at the same time.

Signed-off-by: jason-jh.lin <jason-jh.lin@mediatek.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/mtk-cmdq-mailbox.c