linux-stable/drivers/soc/mediatek
Bilal Wasim fb6d1d3b25 soc: mediatek: pm-domains: Use correct mask for bus_prot_clr
When "bus_prot_reg_update" is true, the driver should use
INFRA_TOPAXI_PROTECTEN for both setting and clearing the bus
protection. However, the driver does not use this mask for
clearing bus protection which causes failure when booting
the imgtec gpu.

Corrected and tested with mt8173 chromebook.

Signed-off-by: Bilal Wasim <Bilal.Wasim@imgtec.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20210701114012.RESEND.1.I27436c29c3bede46dcf86df696f48683662d1ec1@changeid
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2021-07-12 12:26:28 +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 a meaningful power domain name 2021-04-01 11:36:04 +02:00
mt8183-mmsys.h soc: mediatek: mmsys: Add mt8183 mmsys routing table 2021-03-31 13:52:52 +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: mediatek: mmsys: Add support for MT8167 SoC 2021-04-06 12:57:10 +02:00
mtk-mmsys.h soc: mediatek: mmsys: Use an array for setting the routing registers 2021-03-30 11:07:31 +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