soc: mediatek: mtk-mmsys: Restore MT8167 routing masks lost during merge
PATCH RESEND v2 1/1 soc: mediatek: mtk-mmsys: Restore MT8167 routing masks lost during merge
The original patch that was sent to the mailing lists included the values for the route masks, but they got lost during merge: add back the full register masks where missing.
Fixes 060f7875bd23 ("soc: mediatek: mmsys: Add support for MT8167 SoC")
Signed-off-by Luca Leonardo Scorcia <[email protected]>
Reviewed-by AngeloGioacchino Del Regno <[email protected]>
---
Link to the original patch from 2020:
https://lore.kernel.org/all/[email protected]/
drivers/soc/mediatek/mt8167-mmsys.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
drivers/soc/mediatek/mt8167-mmsys.h +8 -3
@@ -10,24 +10,29 @@#define MT8167_DISP_REG_CONFIG_DISP_RDMA0_SOUT_SEL_IN 0x06c#define MT8167_DITHER_MOUT_EN_RDMA0 0x1 +#define MT8167_DITHER_MOUT_EN_MASK 0x7 +#define MT8167_RDMA0_SOUT_DSI0 0x2 +#define MT8167_RDMA0_SOUT_MASK 0x3 +#define MT8167_DSI0_SEL_IN_RDMA0 0x1 +#define MT8167_DSI0_SEL_IN_MASK 0x3static const struct mtk_mmsys_routes mt8167_mmsys_routing_table[] = {MMSYS_ROUTE (OVL0 ,COLOR0 ,MT8167_DISP_REG_CONFIG_DISP_OVL0_MOUT_EN ,OVL0_MOUT_EN_COLOR0 ,OVL0_MOUT_EN_COLOR0 ),MMSYS_ROUTE (DITHER0 ,RDMA0 , -MT8167_DISP_REG_CONFIG_DISP_DITHER_MOUT_EN ,MT8167_DITHER_MOUT_EN_RDMA0 , +MT8167_DISP_REG_CONFIG_DISP_DITHER_MOUT_EN ,MT8167_DITHER_MOUT_EN_MASK ,MT8167_DITHER_MOUT_EN_RDMA0 ),MMSYS_ROUTE (OVL0 ,COLOR0 ,MT8167_DISP_REG_CONFIG_DISP_COLOR0_SEL_IN ,COLOR0_SEL_IN_OVL0 ,COLOR0_SEL_IN_OVL0 ),MMSYS_ROUTE (RDMA0 ,DSI0 , -MT8167_DISP_REG_CONFIG_DISP_DSI0_SEL_IN ,MT8167_DSI0_SEL_IN_RDMA0 , +MT8167_DISP_REG_CONFIG_DISP_DSI0_SEL_IN ,MT8167_DSI0_SEL_IN_MASK ,MT8167_DSI0_SEL_IN_RDMA0 ),MMSYS_ROUTE (RDMA0 ,DSI0 , -MT8167_DISP_REG_CONFIG_DISP_RDMA0_SOUT_SEL_IN ,MT8167_RDMA0_SOUT_DSI0 , +MT8167_DISP_REG_CONFIG_DISP_RDMA0_SOUT_SEL_IN ,MT8167_RDMA0_SOUT_MASK ,MT8167_RDMA0_SOUT_DSI0 ), };
Signature · 1 line
2.43.0
Quoted 5 lines · Luca Leonardo Scorcia
The original patch that was sent to the mailing lists included the values for the route masks, but they got lost during merge: add back the full register masks where missing.
Applied to v7.1-next/soc, thanks!
[1/1] soc: mediatek: mtk-mmsys: Restore MT8167 routing masks lost during merge
commit: 7d462de9f65b002b439b1b168bf3b5579b0de48b
Cheers,
Angelo