From 57a5305948f397cf60fc73c5276988deb4fb376a Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 19 Nov 2025 08:55:23 -0600 Subject: dragonboard820c: Stop disabling device tree relocation Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini Link: https://patch.msgid.link/20251119145523.843230-1-trini@konsulko.com Signed-off-by: Casey Connolly --- include/configs/dragonboard820c.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/configs/dragonboard820c.h b/include/configs/dragonboard820c.h index c6d9182ccc9..8e408d8aec3 100644 --- a/include/configs/dragonboard820c.h +++ b/include/configs/dragonboard820c.h @@ -27,7 +27,6 @@ #define CFG_EXTRA_ENV_SETTINGS \ "loadaddr=0x95000000\0" \ - "fdt_high=0xffffffffffffffff\0" \ "initrd_high=0xffffffffffffffff\0" \ "linux_image=uImage\0" \ "kernel_addr_r=0x95000000\0"\ -- cgit v1.2.3 From dc1cd6ed4b369aff26a10ecec2f65459fef043e9 Mon Sep 17 00:00:00 2001 From: Casey Connolly Date: Thu, 8 Jan 2026 21:28:46 +0100 Subject: soc/qcom: rpmh: add RPMh read Implement support for RPMh reads, these allow reading out the current votes for RPMh controlled resources such as regulators and interconnects. Link: https://patch.msgid.link/20260108-rpmh-regulator-fixes-v1-4-d1b5b300b665@linaro.org Signed-off-by: Casey Connolly --- include/soc/qcom/rpmh.h | 4 +++- include/soc/qcom/tcs.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/soc/qcom/rpmh.h b/include/soc/qcom/rpmh.h index 3421fbf1ee3..40812a315bc 100644 --- a/include/soc/qcom/rpmh.h +++ b/include/soc/qcom/rpmh.h @@ -13,12 +13,14 @@ #if IS_ENABLED(CONFIG_QCOM_RPMH) int rpmh_write(const struct udevice *dev, enum rpmh_state state, const struct tcs_cmd *cmd, u32 n); - +int rpmh_read(const struct udevice *dev, enum rpmh_state state, struct tcs_cmd *cmd); #else static inline int rpmh_write(const struct device *dev, enum rpmh_state state, const struct tcs_cmd *cmd, u32 n) { return -ENODEV; } +static inline int rpmh_read(const struct udevice *dev, struct tcs_cmd *cmd) +{ return -ENODEV; } #endif /* CONFIG_QCOM_RPMH */ diff --git a/include/soc/qcom/tcs.h b/include/soc/qcom/tcs.h index 3acca067c72..22bafe2598a 100644 --- a/include/soc/qcom/tcs.h +++ b/include/soc/qcom/tcs.h @@ -55,6 +55,7 @@ struct tcs_cmd { */ struct tcs_request { enum rpmh_state state; + bool is_read; u32 wait_for_compl; u32 num_cmds; struct tcs_cmd *cmds; -- cgit v1.2.3