Merge "modules.list.msm.pineapple: Add gcc clock module"

This commit is contained in:
qctecmdr 2022-04-29 12:52:57 -07:00 committed by Gerrit - the friendly Code Review server
commit aec4ceae3c
6 changed files with 4289 additions and 0 deletions

View File

@ -13,3 +13,4 @@ CONFIG_QCOM_SCM=m
# CONFIG_QCOM_SCM_DOWNLOAD_MODE_DEFAULT is not set
CONFIG_REGULATOR_STUB=m
CONFIG_SCSI_UFS_QCOM=m
CONFIG_SM_GCC_PINEAPPLE=m

View File

@ -642,6 +642,14 @@ config SM_GCC_8450
Say Y if you want to use peripheral devices such as UART,
SPI, I2C, USB, SD/UFS, PCIe etc.
config SM_GCC_PINEAPPLE
tristate "Pineapple Global Clock Controller"
help
Support for the global clock controller on Qualcomm Technologies, Inc
Pineapple devices.
Say Y if you want to use peripheral devices such as UART,
SPI, I2C, USB, SD/UFS, PCIe etc.
config SM_GPUCC_8150
tristate "SM8150 Graphics Clock Controller"
select SM_GCC_8150

View File

@ -99,6 +99,7 @@ obj-$(CONFIG_SM_GCC_8150) += gcc-sm8150.o
obj-$(CONFIG_SM_GCC_8250) += gcc-sm8250.o
obj-$(CONFIG_SM_GCC_8350) += gcc-sm8350.o
obj-$(CONFIG_SM_GCC_8450) += gcc-sm8450.o
obj-$(CONFIG_SM_GCC_PINEAPPLE) += gcc-pineapple.o
obj-$(CONFIG_SM_GPUCC_8150) += gpucc-sm8150.o
obj-$(CONFIG_SM_GPUCC_8250) += gpucc-sm8250.o
obj-$(CONFIG_SM_VIDEOCC_8150) += videocc-sm8150.o

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. */
/* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved. */
#ifndef __DRIVERS_CLK_QCOM_VDD_LEVEL_H
#define __DRIVERS_CLK_QCOM_VDD_LEVEL_H
@ -17,6 +18,7 @@ enum vdd_levels {
VDD_LOW_L1, /* SVS_L1 */
VDD_NOMINAL, /* NOM */
VDD_HIGH, /* TURBO */
VDD_HIGH_L1, /* TURBO_L1 */
VDD_NUM,
};
@ -30,6 +32,7 @@ static int vdd_corner[] = {
[VDD_LOW_L1] = RPMH_REGULATOR_LEVEL_SVS_L1,
[VDD_NOMINAL] = RPMH_REGULATOR_LEVEL_NOM,
[VDD_HIGH] = RPMH_REGULATOR_LEVEL_TURBO,
[VDD_HIGH_L1] = RPMH_REGULATOR_LEVEL_TURBO_L1,
};
#endif

View File

@ -4,6 +4,7 @@ pinctrl-msm.ko
pinctrl-pineapple.ko
clk-qcom.ko
clk-dummy.ko
gcc-pineapple.ko
stub-regulator.ko
phy-qcom-ufs.ko
phy-qcom-ufs-qrbtc-sdm845.ko