mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
hook-functions: Add power modules
Add power-related drivers for MODULES=most, based on dracut's
90kernel-modules script. These were added in dracut commit e752d42de9c3
("modules: kernel: add phy and power modules to generic initrd"), which
states they are needed for the NextThing C.H.I.P. and some Exynos
devices. The commit also adds PHY drivers, which we already add.
The power drivers include the axp20x_usb_power we already explicitly
add, so we can fold that into the general case now.
Link: e752d42de9
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
This commit is contained in:
parent
82c266ddf0
commit
6269d10cc3
@ -695,10 +695,6 @@ auto_add_modules()
|
||||
modules="$modules =drivers/usb/musb"
|
||||
modules="$modules =drivers/usb/renesas_usbhs"
|
||||
modules="$modules =drivers/usb/typec/tcpm"
|
||||
# Add the axp20x_usb_power power supply driver,
|
||||
# required to initialize the USB host controllers
|
||||
# on a number of armhf systems
|
||||
modules="$modules axp20x_usb_power"
|
||||
# Add onboard_usb_hub so it can be probed before
|
||||
# mounts, otherwise it might reset power to a
|
||||
# USB disk already mounted as root
|
||||
@ -742,6 +738,7 @@ auto_add_modules()
|
||||
modules="$modules =drivers/nvmem"
|
||||
modules="$modules =drivers/pci/controller"
|
||||
modules="$modules =drivers/phy"
|
||||
modules="$modules =drivers/power"
|
||||
modules="$modules =drivers/pinctrl"
|
||||
modules="$modules =drivers/regulator"
|
||||
modules="$modules =drivers/reset"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user