]> git.baikalelectronics.ru Git - kernel.git/commit
soc: mediatek: add MTK mutex support for MT8186
authorYongqiang Niu <yongqiang.niu@mediatek.com>
Tue, 22 Feb 2022 05:28:02 +0000 (13:28 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 28 Feb 2022 11:19:24 +0000 (12:19 +0100)
commitbc40af52802a83c31b06857b2feec58d2e6995b4
tree70701d904f2b1ececce7dff171ec2fd5d0009ec1
parent8cd5f4040800eb250fe390bc4583171f7c6ddada
soc: mediatek: add MTK mutex support for MT8186

Add MTK mutex support for MT8186 SoC.
We need MTK mutex to control timing of display modules and there
are two display pipelines for MT8186 including internal and external
display.

MTK mutex for internal display:
- Timing source: DSI
- Control modules: OVL0/RDMA0/COLOR0/CCORR/AAL0/GAMMA/POSTMASK0/DITHER

MTK mutex for external display:
- Timing source : DPI
- Control modules: OVL_2L0/RDMA1

Signed-off-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-mutex.c