Searched hist:"7 bdcead7a75e3eab5e711c2da78c2a0360e7f2a4" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mt8183-mmsys.h | diff 7bdcead7a75e3eab5e711c2da78c2a0360e7f2a4 Thu Jul 29 02:05:49 CDT 2021 CK Hu <ck.hu@mediatek.com> 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: 440147639ac7 ("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>
|
H A D | mtk-mmsys.h | diff 7bdcead7a75e3eab5e711c2da78c2a0360e7f2a4 Thu Jul 29 02:05:49 CDT 2021 CK Hu <ck.hu@mediatek.com> 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: 440147639ac7 ("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>
|
H A D | mtk-mmsys.c | diff 7bdcead7a75e3eab5e711c2da78c2a0360e7f2a4 Thu Jul 29 02:05:49 CDT 2021 CK Hu <ck.hu@mediatek.com> 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: 440147639ac7 ("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>
|