forked from OERV-BSP/u-boot
Port Linux's gcc-qcs615.c driver to U-Boot for basic bring-up. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Aswin Murugan <aswin.murugan@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250521035324.1182833-4-aswin.murugan@oss.qualcomm.com Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
157 lines
4.6 KiB
Plaintext
157 lines
4.6 KiB
Plaintext
if ARCH_SNAPDRAGON || ARCH_IPQ40XX
|
|
|
|
config CLK_QCOM
|
|
bool
|
|
depends on CLK && DM_RESET && POWER_DOMAIN
|
|
def_bool n
|
|
|
|
menu "Qualcomm clock drivers"
|
|
|
|
config CLK_QCOM_APQ8016
|
|
bool "Qualcomm APQ8016 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon APQ8016 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_APQ8096
|
|
bool "Qualcomm APQ8096 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon APQ8096 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_IPQ4019
|
|
bool "Qualcomm IPQ4019 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon IPQ4019 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_IPQ5424
|
|
bool "Qualcomm IPQ5424 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Qualcomm IPQ5424 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_IPQ9574
|
|
bool "Qualcomm IPQ9574 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon IPQ9574 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_QCM2290
|
|
bool "Qualcomm QCM2290 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon QCM2290 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_QCS404
|
|
bool "Qualcomm QCS404 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon QCS404 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_QCS615
|
|
bool "Qualcomm QCS615 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon QCS615 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_QCS8300
|
|
bool "Qualcomm QCS8300 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon QCS8300 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_SA8775P
|
|
bool "Qualcomm SA8775 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon SA8775 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_SDM845
|
|
bool "Qualcomm SDM845 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon 845 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_SM6115
|
|
bool "Qualcomm SM6115 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon SM6115 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_SM8150
|
|
bool "Qualcomm SM8150 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon 8150 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_SM8250
|
|
bool "Qualcomm SM8250 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon SM8250 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_SM8550
|
|
bool "Qualcomm SM8550 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon SM8550 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_SM8650
|
|
bool "Qualcomm SM8650 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon SM8650 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_SC7280
|
|
bool "Qualcomm SC7280 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon SC7280 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
config CLK_QCOM_X1E80100
|
|
bool "Qualcomm X1E80100 GCC"
|
|
select CLK_QCOM
|
|
help
|
|
Say Y here to enable support for the Global Clock Controller
|
|
on the Snapdragon X1E80100 SoC. This driver supports the clocks
|
|
and resets exposed by the GCC hardware block.
|
|
|
|
endmenu
|
|
|
|
endif
|