Skip to content

Commit 148fef3

Browse files
committed
Fix kernel builds for trogdor-wormdingler
1 parent a077415 commit 148fef3

File tree

5 files changed

+27
-29
lines changed

5 files changed

+27
-29
lines changed

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kernel-configs/aarch64.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
linux.kconfig = lib.mkIf pkgs.stdenv.hostPlatform.isAarch64 (
44
with lib.kernel;
55
{
6+
ARM64_AMU_EXTN = yes;
67
ARM64_ERRATUM_1024718 = yes;
78
ARM64_ERRATUM_1165522 = yes;
89
ARM64_ERRATUM_1286807 = yes;
@@ -42,6 +43,7 @@
4243
IIO = unset;
4344
MAILBOX = yes;
4445
MFD_SYSCON = yes;
46+
MMC_SDHCI_PLTFM = yes;
4547
MTD = yes;
4648
MTD_BLOCK = yes;
4749
NVMEM = yes;
@@ -66,7 +68,6 @@
6668
SPMI = yes;
6769
SRAM = unset;
6870
SUSPEND = yes;
69-
ARM64_AMU_EXTN = yes;
7071
}
7172
);
7273
}

kernel-configs/chromebook.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
HID_VIVALDI = yes;
1818
I2C_CROS_EC_TUNNEL = yes;
1919
KEYBOARD_CROS_EC = yes;
20-
MMC = yes;
21-
MMC_BLOCK = yes;
2220
TCG_TIS_I2C_CR50 = yes;
2321
TCG_TIS_SPI = yes;
2422
TCG_TIS_SPI_CR50 = yes;

kernel-configs/generic.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ in
6969
KEYS = yes;
7070
LSM = freeform "integrity";
7171
LTO_NONE = yes;
72+
MMC = yes;
73+
MMC_BLOCK = yes;
74+
MMC_SDHCI = yes;
7275
MMU = yes;
7376
MODULE_SIG_FORMAT = yes;
7477
MSDOS_FS = yes;

kernel-configs/platform.nix

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,28 @@
3232
PINCTRL_ALDERLAKE = yes;
3333
};
3434
"qualcomm" = {
35+
# PHY_ATH79_USB = yes;
36+
# QCOM_SPMI_ADC5 = unset;
37+
# QCOM_SPMI_ADC_TM5 = unset;
38+
# QCOM_SPMI_TEMP_ALARM = unset;
3539
ARCH_QCOM = yes;
3640
ARM_QCOM_CPUFREQ_HW = unset;
3741
ARM_SMMU_QCOM = yes;
3842
BACKLIGHT_QCOM_WLED = unset;
3943
COMMON_CLK_QCOM = yes;
4044
CRYPTO_DEV_QCOM_RNG = yes;
41-
HWSPINLOCK = unset;
42-
HWSPINLOCK_QCOM = unset;
45+
HWSPINLOCK = yes;
46+
HWSPINLOCK_QCOM = yes;
47+
HW_RANDOM = yes;
4348
I2C_QCOM_CCI = yes;
4449
I2C_QCOM_GENI = yes;
4550
I2C_QUP = yes;
46-
INTERCONNECT = unset;
47-
INTERCONNECT_QCOM = unset;
51+
INTERCONNECT = yes;
52+
INTERCONNECT_QCOM = yes;
4853
INTERCONNECT_QCOM_SC7180 = yes;
49-
LEDS_QCOM_FLASH = unset;
54+
MFD_SPMI_PMIC = yes;
5055
MMC_SDHCI_MSM = yes;
5156
NVMEM_QCOM_QFPROM = yes;
52-
PHY_ATH79_USB = yes;
5357
PHY_QCOM_APQ8064_SATA = unset;
5458
PHY_QCOM_EDP = unset;
5559
PHY_QCOM_EUSB2_REPEATER = yes;
@@ -66,16 +70,16 @@
6670
PHY_QCOM_QUSB2 = unset;
6771
PHY_QCOM_SGMII_ETH = unset;
6872
PHY_QCOM_SNPS_EUSB2 = unset;
69-
PHY_QCOM_USB_HS = unset;
70-
PHY_QCOM_USB_HSIC = unset;
71-
PHY_QCOM_USB_HS_28NM = unset;
73+
PHY_QCOM_USB_HS = yes;
74+
PHY_QCOM_USB_HSIC = yes;
75+
PHY_QCOM_USB_HS_28NM = yes;
7276
PHY_QCOM_USB_SNPS_FEMTO_V2 = unset;
77+
USB_ULPI_BUS = yes;
7378
PHY_QCOM_USB_SS = unset;
7479
PINCTRL_MSM = yes;
7580
PINCTRL_QCOM_SPMI_PMIC = unset;
7681
PINCTRL_SC7180 = yes;
7782
POWER_RESET_QCOM_PON = yes;
78-
PWM_CROS_EC = unset;
7983
QCOM_AOSS_QMP = yes;
8084
QCOM_APCS_IPC = yes;
8185
QCOM_APR = yes;
@@ -93,29 +97,21 @@
9397
QCOM_ICC_BWMON = yes;
9498
QCOM_IOMMU = yes;
9599
QCOM_IPCC = yes;
96-
QCOM_L2_PMU = yes;
97-
QCOM_L3_PMU = yes;
98100
QCOM_LLCC = yes;
99101
QCOM_MPM = unset;
100102
QCOM_OCMEM = unset;
101103
QCOM_PDC = unset;
102-
QCOM_PIL_INFO = yes;
103104
QCOM_PMIC_GLINK = yes;
105+
QCOM_Q6V5_PAS = yes;
104106
QCOM_RMTFS_MEM = yes;
105-
QCOM_RPMH = unset;
106-
QCOM_RPMHPD = unset;
107-
QCOM_RPMPD = unset;
108-
QCOM_RPROC_COMMON = yes;
107+
QCOM_RPMH = yes;
108+
QCOM_RPMHPD = yes;
109+
QCOM_RPMPD = yes;
109110
QCOM_SMD_RPM = yes;
110111
QCOM_SMEM = yes;
111112
QCOM_SMP2P = yes;
112113
QCOM_SMSM = yes;
113114
QCOM_SPM = yes;
114-
QCOM_SPMI_ADC5 = unset;
115-
QCOM_SPMI_ADC_TM5 = unset;
116-
QCOM_SPMI_TEMP_ALARM = unset;
117-
QCOM_STATS = yes;
118-
QCOM_TSENS = yes;
119115
QCOM_WCNSS_CTRL = yes;
120116
QCOM_WDT = yes;
121117
REGULATOR_QCOM_RPMH = yes;
@@ -140,7 +136,7 @@
140136
SPI_QCOM_QSPI = yes;
141137
SPMI_MSM_PMIC_ARB = unset;
142138
USB_DWC3_QCOM = yes;
143-
USB_ONBOARD_HUB = yes;
139+
USB_ONBOARD_DEV = yes;
144140
};
145141
"mediatek" = {
146142
ARCH_MEDIATEK = yes;

0 commit comments

Comments
 (0)