summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorCaleb Connolly <[email protected]>2024-04-03 14:07:39 +0200
committerCaleb Connolly <[email protected]>2024-04-04 17:46:46 +0200
commit8670cb405ebeccb448c4d556f5dd2bf302fa61e4 (patch)
tree1beec87705111136ce44f29011463c43a1646c9f /drivers/serial
parent968f512e6c9f678e52fdcb8c81ec9b7539e5ee3d (diff)
mach-snapdragon: disable power-domains for pre-reloc drivers
Some devices like the UART and clock controller reference an RPM(h) power domain. We don't support this device in U-Boot, so add DM_FLAG_DEFAULT_PD_CTRL_OFF to tell DM core not to try and enable the power domain. Reviewed-by: Sumit Garg <[email protected]> Signed-off-by: Caleb Connolly <[email protected]>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_msm_geni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_msm_geni.c b/drivers/serial/serial_msm_geni.c
index e5c3dcffc1c..4aa0bc8c72b 100644
--- a/drivers/serial/serial_msm_geni.c
+++ b/drivers/serial/serial_msm_geni.c
@@ -603,7 +603,7 @@ U_BOOT_DRIVER(serial_msm_geni) = {
.priv_auto = sizeof(struct msm_serial_data),
.probe = msm_serial_probe,
.ops = &msm_serial_ops,
- .flags = DM_FLAG_PRE_RELOC,
+ .flags = DM_FLAG_PRE_RELOC | DM_FLAG_DEFAULT_PD_CTRL_OFF,
};
#ifdef CONFIG_DEBUG_UART_MSM_GENI