linux/drivers/soc/mediatek
CK Hu 7bdcead7a7 soc: mmsys: mediatek: add mask to mmsys routes
SOUT has many bits and need to be cleared before set new value.
Write only could do the clear, but for MOUT, it clears bits that
should not be cleared. So use a mask to reset only the needed bits.

this fixes HDMI issues on MT7623/BPI-R2 since 5.13

Fixes: 440147639a ("soc: mediatek: mmsys: Use an array for setting the routing registers")
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Reviewed-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20210729070549.5514-1-linux@fw-web.de
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2021-08-04 19:05:46 +02:00
..
Kconfig soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS 2020-12-10 15:33:56 +01:00
Makefile soc / drm: mediatek: Move mtk mutex driver to soc folder 2021-02-04 22:55:46 +08:00
mt8167-mmsys.h soc: mediatek: mmsys: Add support for MT8167 SoC 2021-04-06 12:57:10 +02:00
mt8167-pm-domains.h soc: mediatek: pm-domains: Add a power domain names for mt8167 2021-04-01 11:36:04 +02:00
mt8173-pm-domains.h soc: mediatek: pm-domains: Add domain_supply cap for mfg_async PD 2021-07-12 12:26:29 +02:00
mt8183-mmsys.h soc: mmsys: mediatek: add mask to mmsys routes 2021-08-04 19:05:46 +02:00
mt8183-pm-domains.h soc: mediatek: pm-domains: Add a power domain names for mt8183 2021-04-01 11:36:04 +02:00
mt8192-pm-domains.h soc: mediatek: pm-domains: Add a power domain names for mt8192 2021-04-01 11:36:04 +02:00
mtk-cmdq-helper.c soc: mediatek: cmdq: Remove cmdq_pkt_flush() 2021-01-31 12:35:46 +01:00
mtk-devapc.c soc: mediatek: add missing MODULE_DEVICE_TABLE 2021-05-12 18:29:37 +02:00
mtk-infracfg.c soc: mediatek: pm_domains: Make bus protection generic 2020-11-27 12:04:42 +01:00
mtk-mmsys.c soc: mmsys: mediatek: add mask to mmsys routes 2021-08-04 19:05:46 +02:00
mtk-mmsys.h soc: mmsys: mediatek: add mask to mmsys routes 2021-08-04 19:05:46 +02:00
mtk-mutex.c soc: mediatek: Make symbol 'mtk_mutex_driver' static 2021-04-01 11:27:54 +02:00
mtk-pm-domains.c soc: mtk-pm-domains: Fix the clock prepared issue 2021-06-02 13:53:31 +02:00
mtk-pm-domains.h soc: mediatek: pm-domains: Use correct mask for bus_prot_clr 2021-07-12 12:26:28 +02:00
mtk-pmic-wrap.c soc: mediatek: pwrap: add pwrap driver for MT8195 SoC 2021-06-03 19:41:26 +02:00
mtk-scpsys.c soc: mediatek: Check if power domains can be powered on at boot time 2020-10-26 10:45:04 +01:00