]> 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)
commit6b6389330e953e6cc756356f03a6f34db6157c2f
tree883f97a2d1dd029cb9862c8465c63a5c93a3c1f3
parent9d35bdef4971109ba5ad65376b4a742f0b17d9fb
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