aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@linaro.org>2023-11-07 12:41:01 +0000
committerCaleb Connolly <caleb.connolly@linaro.org>2024-01-16 12:26:23 +0000
commit3ead661633293413e9af6d1e20c0a1a362d08ee8 (patch)
tree90abadb47988c06b9a62bf0ab3828fc783edfab8 /arch/arm/Kconfig
parentfac2121a47fe5fe6af45af0f5acfa5b8bd369b52 (diff)
downloadu-boot-3ead661633293413e9af6d1e20c0a1a362d08ee8.zip
u-boot-3ead661633293413e9af6d1e20c0a1a362d08ee8.tar.gz
u-boot-3ead661633293413e9af6d1e20c0a1a362d08ee8.tar.bz2
clk/qcom: handle resets and clocks in one device
Qualcomm's clock controller blocks actually do much more than it says on the tin.. They provide clocks, resets and power domains. Currently, U-Boot requires one to spawn 2 separate devices for controlling clocks and resets, both spanning the same register space. Refactor the code to make it work with just a single DT node, making it compatible with upstream Linux bindings and dropping the dedicated reset driver in favour of including it in the clock driver. Heavily inspired by Renesas code for a similar hw block. [caleb: moved drivers to clk/qcom, added reset driver and adjusted bind logic. Imported qcom,gcc-ipq4019.h from Linux] Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 294ab9d..2eef266 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1077,6 +1077,7 @@ config ARCH_SNAPDRAGON
select DM
select DM_GPIO
select DM_SERIAL
+ select DM_RESET
select GPIO_EXTRA_HEADER
select MSM_SMEM
select OF_CONTROL