From a846d198316d9522b7456f4b54779df1cd4f13a5 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Mon, 19 Apr 2021 16:22:11 -0400 Subject: [PATCH] profiles/all-hardware.nix: Add power regulator modules This is used on some allwinner platforms, and is a weak dependency for USB to work. --- nixos/modules/profiles/all-hardware.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/modules/profiles/all-hardware.nix b/nixos/modules/profiles/all-hardware.nix index 78557797ebc..e3ec50f9e78 100644 --- a/nixos/modules/profiles/all-hardware.nix +++ b/nixos/modules/profiles/all-hardware.nix @@ -74,6 +74,11 @@ in "panel-simple" "pwm-bl" + # Power supply drivers, some platforms need them for USB + "axp20x-ac-power" + "axp20x-battery" + "pinctrl-axp209" + # Misc "weak" dependencies "analogix-anx6345" # For DP or eDP (e.g. integrated display) ];