diff options
author | K900 <me@0upti.me> | 2023-06-20 14:47:42 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2023-06-20 15:24:42 +0300 |
commit | b79dc4496b2a21e4bc09287e7a58bab99f00f5e9 (patch) | |
tree | 8880485873c198d95b98108160ab2c7944d45f97 /pkgs/os-specific | |
parent | 9b6474dd6cf92e3a48eec24e126564f8c9c3901f (diff) | |
download | nixpkgs-b79dc4496b2a21e4bc09287e7a58bab99f00f5e9.tar nixpkgs-b79dc4496b2a21e4bc09287e7a58bab99f00f5e9.tar.gz nixpkgs-b79dc4496b2a21e4bc09287e7a58bab99f00f5e9.tar.bz2 nixpkgs-b79dc4496b2a21e4bc09287e7a58bab99f00f5e9.tar.lz nixpkgs-b79dc4496b2a21e4bc09287e7a58bab99f00f5e9.tar.xz nixpkgs-b79dc4496b2a21e4bc09287e7a58bab99f00f5e9.tar.zst nixpkgs-b79dc4496b2a21e4bc09287e7a58bab99f00f5e9.zip |
kernel/common-config: enable CONFIG_PMIC_OPREGION and friends for Bay Trail
If you have one of these, know that at least nixpkgs still cares about you.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 654a8dd1868..090205b0dc0 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -92,6 +92,21 @@ let X86_AMD_PSTATE = whenAtLeast "5.17" yes; # Intel DPTF (Dynamic Platform and Thermal Framework) Support ACPI_DPTF = whenAtLeast "5.10" yes; + + # Required to bring up some Bay Trail devices properly + I2C = yes; + I2C_DESIGNWARE_PLATFORM = yes; + PMIC_OPREGION = whenAtLeast "5.10" yes; + INTEL_SOC_PMIC = whenAtLeast "5.10" yes; + BYTCRC_PMIC_OPREGION = whenAtLeast "5.10" yes; + CHTCRC_PMIC_OPREGION = whenAtLeast "5.10" yes; + XPOWER_PMIC_OPREGION = whenAtLeast "5.10" yes; + BXT_WC_PMIC_OPREGION = whenAtLeast "5.10" yes; + INTEL_SOC_PMIC_CHTWC = whenAtLeast "5.10" yes; + CHT_WC_PMIC_OPREGION = whenAtLeast "5.10" yes; + INTEL_SOC_PMIC_CHTDC_TI = whenAtLeast "5.10" yes; + CHT_DC_TI_PMIC_OPREGION = whenAtLeast "5.10" yes; + TPS68470_PMIC_OPREGION = whenAtLeast "5.10" yes; }; external-firmware = { |