# Modules to include in the initramfs (one name per line, '#' = comment).
# Needed for USB networking + telnet debug-shell now, and touchscreen-based
# FDE unlock later.

# Touchscreen (Goodix GT9916 on SPI SE4) - for on-screen unlock
spi-geni-qcom
goodix-berlin-core
goodix-berlin-spi

# USB keyboard (via &usb_1 host mode + a hub). CONFIG_HID/CONFIG_USB_HID
# are built-in, but CONFIG_HID_GENERIC=m is not -- without it, usbcore
# enumerates the keyboard fine (visible in dmesg) but no input device is
# ever created, so no keypress does anything. 2026-09-22: keyboard showed
# as "connected" but keys didn't work, this was the missing piece.
hid-generic

# USB gadget path. dwc3 + dwc3-qcom are built-in; the eUSB2 PHY and its
# PMIC repeater are modules and MUST be in the initramfs, otherwise
# usb@a600000 sits on -EPROBE_DEFER forever and no UDC appears.
# NOTE: in kernel 7.2 the SNPS eUSB2 PHY driver is 'phy-snps-eusb2'
# (CONFIG_PHY_SNPS_EUSB2), not the old 'phy-qcom-snps-eusb2'.
phy-snps-eusb2
phy-qcom-eusb2-repeater

# Root filesystem lives on UFS (1d84000.ufshc) inside the dynamic 'super'
# partition. ufs-qcom and its QMP PHY are modules in this config, so without
# them here the initramfs never sees a root device and the kernel panics with
# "VFS: Unable to mount root fs on unknown-block(0,0)". qcom_ice is ufs-qcom's
# only modules.dep dependency; listed explicitly rather than relying on
# mkinitfs to pull it in.
ufs-qcom
qcom_ice
phy-qcom-qmp-ufs

# Panel / DRM are not wired up yet:
#   panel driver for Novatek NT37705 (1080x2400 DSC cmd, reset TLMM133)
#   msm  (once &mdss / &mdss_dsi0 are enabled in the .dts)
