mirror_ubuntu-kernels/include/linux/soc/mediatek
Moudy Ho d0804085c5 soc: mediatek: mutex: add common interface for modules setting
In order to allow multiple modules to operate MUTEX hardware through
a common interfrace, two flexible indexes "mtk_mutex_mod_index" and
"mtk_mutex_sof_index" need to be added to replace original component
ID so that like DDP and MDP can add their own MOD table or SOF
settings independently.

In addition, 2 generic interface "mtk_mutex_write_mod" and
"mtk_mutex_write_sof" have been added, which is expected to replace
the "mtk_mutex_add_comp" and "mtk_mutex_remove_comp" pair originally
dedicated to DDP in the future.

Signed-off-by: Moudy Ho <moudy.ho@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://lore.kernel.org/r/20220610063424.7800-2-moudy.ho@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2022-06-17 15:51:51 +02:00
..
infracfg.h soc: mediatek: mtk-infracfg: Disable ACP on MT8192 2022-03-01 08:21:28 +01:00
mtk_sip_svc.h scsi: soc: mediatek: add header for SiP service interface 2020-01-02 21:57:44 -05:00
mtk_wed.h net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED) 2022-04-06 14:08:49 +01:00
mtk-cmdq.h soc: mediatek: cmdq: Use mailbox rx_callback instead of cmdq_task_cb 2022-04-20 14:14:59 +02:00
mtk-mmsys.h soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 2022-04-22 14:38:53 +02:00
mtk-mutex.h soc: mediatek: mutex: add common interface for modules setting 2022-06-17 15:51:51 +02:00