clk: qcom: Fix two driver Kconfig dependencies
Subsystems (3)
cover clk: qcom: Fix two driver Kconfig dependencies
This series fixes two Kconfig warnings that I recently saw crop up in my build tests because the dependencies for newly added drivers in 6.8 are not correct.
This is now the fourth set of changes to avoid warnings of this nature for the exact same reason... is there anything that can be done to ensure this does not continue to happen? See
b6bcd1c0c27e ("clk: qcom: fix some Kconfig corner cases") 75d1d3a433f0 ("clk: qcom: Fix SM_GPUCC_8450 dependencies") e8d66d02defd ("clk: qcom: Fix SM_CAMCC_8550 dependencies")
---
Nathan Chancellor (2):
clk: qcom: Fix SC_CAMCC_8280XP dependencies
clk: qcom: Fix SM_GPUCC_8650 dependencies
drivers/clk/qcom/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
---
base-commit: 3066c521be9db14964d78c6c431c97a424468ded
change-id: 20240318-fix-some-qcom-kconfig-deps-cc9be94f63ba
Best regards,
Signature · 1 line
Nathan Chancellor <[email protected]>
PATCH 1/2 clk: qcom: Fix SC_CAMCC_8280XP dependencies
CONFIG_SC_GCC_8280XP depends on ARM64 but it is selected by CONFIG_SC_CAMCC_8280XP, which can be selected on ARM, resulting in a Kconfig warning.
WARNING: unmet direct dependencies detected for SC_GCC_8280XP
Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=y] && (ARM64 || COMPILE_TEST [=n]) Selected by [y]:
- SC_CAMCC_8280XP [=y] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=y]
Add the same dependencies to CONFIG_SC_CAMCC_8280XP to resolve the warning.
--- drivers/clk/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/clk/qcom/Kconfig +1 -0
@@ -474,6 +474,7 @@ config SC_CAMCC_7280 config SC_CAMCC_8280XP tristate "SC8280XP Camera Clock Controller" + depends on ARM64 || COMPILE_TEST select SC_GCC_8280XP help Support for the camera clock controller on Qualcomm Technologies, Inc
Signature · 1 line
2.44.0
Re: [PATCH 1/2] clk: qcom: Fix SC_CAMCC_8280XP dependencies
Quoted 10 lines · Nathan Chancellor
CONFIG_SC_GCC_8280XPdepends on ARM64 but it is selected byCONFIG_SC_CAMCC_8280XP, which can be selected on ARM, resulting in aKconfigwarning.WARNING: unmet direct dependencies detected for
SC_GCC_8280XP
Depends on [n]:COMMON_CLK[=y] &&COMMON_CLK_QCOM[=y] && (ARM64 ||COMPILE_TEST[=n]) Selected by [y]:
-SC_CAMCC_8280XP[=y] &&COMMON_CLK[=y] &&COMMON_CLK_QCOM[=y]
Quoted 8 lines
Add the same dependencies to
CONFIG_SC_CAMCC_8280XPto resolve the warning.Fixes ff93872a9c61 ("clk: qcom: camcc-sc8280xp: Add sc8280xp CAMCC")Signed-off-by Nathan Chancellor <[email protected]>--- drivers/clk/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+)
Signature · 2 lines
With best wishes Dmitry
PATCH 2/2 clk: qcom: Fix SM_GPUCC_8650 dependencies
In reply to Nathan ChancellorCONFIG_SM_GCC_8650 depends on ARM64 but it is selected by CONFIG_SM_GPUCC_8650, which can be selected on ARM, resulting in a Kconfig warning.
WARNING: unmet direct dependencies detected for SM_GCC_8650
Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=y] && (ARM64 || COMPILE_TEST [=n]) Selected by [y]:
- SM_GPUCC_8650 [=y] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=y]
Add the same dependencies to CONFIG_SM_GPUCC_8650 to resolve the warning.
--- drivers/clk/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/clk/qcom/Kconfig +1 -0
@@ -1095,6 +1095,7 @@ config SM_GPUCC_8550 config SM_GPUCC_8650 tristate "SM8650 Graphics Clock Controller" + depends on ARM64 || COMPILE_TEST select SM_GCC_8650 help Support for the graphics clock controller on SM8650 devices.
Signature · 1 line
2.44.0
Re: [PATCH 2/2] clk: qcom: Fix SM_GPUCC_8650 dependencies
Quoted 10 lines · Nathan Chancellor
CONFIG_SM_GCC_8650depends on ARM64 but it is selected byCONFIG_SM_GPUCC_8650, which can be selected on ARM, resulting in aKconfigwarning.WARNING: unmet direct dependencies detected for
SM_GCC_8650
Depends on [n]:COMMON_CLK[=y] &&COMMON_CLK_QCOM[=y] && (ARM64 ||COMPILE_TEST[=n]) Selected by [y]:
-SM_GPUCC_8650[=y] &&COMMON_CLK[=y] &&COMMON_CLK_QCOM[=y]
Quoted 9 lines
Add the same dependencies to
CONFIG_SM_GPUCC_8650to resolve the warning.Fixes 8676fd4f3874 ("clk: qcom: add the SM8650 GPU Clock Controller driver")Signed-off-by Nathan Chancellor <[email protected]>--- drivers/clk/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+)
Signature · 2 lines
With best wishes Dmitry
Quoted 9 lines · Nathan Chancellor
This series fixes two
Kconfigwarnings that I recently saw crop up in my build tests because the dependencies for newly added drivers in 6.8 are not correct.This is now the fourth set of changes to avoid warnings of this nature for the exact same reason... is there anything that can be done to ensure this does not continue to happen? See
[...]
Applied, thanks!
[1/2] clk: qcom: Fix SC_CAMCC_8280XP dependencies
commit: 0e79d702bf7fac2e63fc32a1b4ff307d71db692f
[2/2] clk: qcom: Fix SM_GPUCC_8650 dependencies
commit: 551eb5194bf328652decc5531edd9c65a5d2a17cBest regards,
Signature · 1 line
Bjorn Andersson <[email protected]>