Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1268871 > unrolled thread
| Started by | Eddie Huang <eddie.huang@mediatek.com> |
|---|---|
| First post | 2015-11-13 12:00 +0100 |
| Last post | 2015-11-13 17:00 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] soc: Mediatek: Enable SCPSYS power domain driver by default Eddie Huang <eddie.huang@mediatek.com> - 2015-11-13 12:00 +0100
Re: [PATCH] soc: Mediatek: Enable SCPSYS power domain driver by default Kevin Hilman <khilman@kernel.org> - 2015-11-13 17:00 +0100
| From | Eddie Huang <eddie.huang@mediatek.com> |
|---|---|
| Date | 2015-11-13 12:00 +0100 |
| Subject | [PATCH] soc: Mediatek: Enable SCPSYS power domain driver by default |
| Message-ID | <qukfh-5kp-51@gated-at.bofh.it> |
If enable Mediatek 8173 SoC, it should also enable power domain driver. Otherwise access clk subsystem register will fail. Signed-off-by: Eddie Huang <eddie.huang@mediatek.com> --- MT8173 clk driver is enabled by default, but power domain driver is not. If MM subsystem power on, mm_sel topckgen mux is off, then access any MM subsystem register will cause system hang. Enable SCPSYS driver to make sure both MM subsystem power and mm_sel to on/off together to avoid system hang. This patch fix current linux-next mt8173-evb boot to shell fail problem. --- drivers/soc/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig index 9d50682..0a4ea80 100644 --- a/drivers/soc/mediatek/Kconfig +++ b/drivers/soc/mediatek/Kconfig @@ -23,6 +23,7 @@ config MTK_PMIC_WRAP config MTK_SCPSYS bool "MediaTek SCPSYS Support" depends on ARCH_MEDIATEK || COMPILE_TEST + default ARM64 && ARCH_MEDIATEK select REGMAP select MTK_INFRACFG select PM_GENERIC_DOMAINS if PM -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Kevin Hilman <khilman@kernel.org> |
|---|---|
| Date | 2015-11-13 17:00 +0100 |
| Message-ID | <quoVz-8kr-9@gated-at.bofh.it> |
| In reply to | #1268871 |
Eddie Huang <eddie.huang@mediatek.com> writes: > If enable Mediatek 8173 SoC, it should also enable power domain > driver. Otherwise access clk subsystem register will fail. > > Signed-off-by: Eddie Huang <eddie.huang@mediatek.com> Tested-by: Kevin Hilman <khilman@linaro.org> This gets the mt8173-evb booting again with arm-soc/for-next and mainline for me. I'll let Matthias queue this up and send it with any other fixes for v4.4-rc1. Thanks for the fix, Kevin P.S. it's curious that nobody caught this basic boot failure before. Is nobody else testing mainline on this board? or maybe not using the upstream defconfig? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web