From 6a8352bb4e4bfcf67fa23c49d2e0d14684ffe2e6 Mon Sep 17 00:00:00 2001 From: Dmitry Sinyavin Date: Sun, 30 Aug 2026 10:53:40 +0200 Subject: [PATCH] serial: msm: select PM_OPP Commit 173ebdedcd84 ("serial: msm: Use OPP table for DVFS support") made the MSM serial driver unconditionally configure the core clock through the OPP framework during probe. When CONFIG_PM_OPP is disabled, devm_pm_opp_set_clkname() is a stub that returns -EOPNOTSUPP, so every MSM serial port fails to probe. Select PM_OPP to keep minimal configurations functional. Fixes: 173ebdedcd84 ("serial: msm: Use OPP table for DVFS support") Signed-off-by: Dmitry Sinyavin Link: https://patch.msgid.link/20260830085340.2542624-1-sinyavin@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index cf7dba473b20..bf680d22199b 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -904,6 +904,7 @@ config SERIAL_JSM config SERIAL_MSM tristate "MSM on-chip serial port support" depends on ARCH_QCOM || COMPILE_TEST + select PM_OPP select SERIAL_CORE config SERIAL_MSM_CONSOLE