mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 11:08:06 +04:00
Package the Rockchip DRM driver with VOP, VOP2, eDP, DP, HDMI, HDMI QP, MIPI DSI and MIPI DSI2 support, the Rocket NPU driver, the Samsung HDPTX and DCPHY and the Innosilicon CSI DPHY, the RKVDEC and RGA V4L2 drivers, the Synopsys HDMI receiver, the I2S, I2S/TDM and S/PDIF ASoC drivers and the DFI DDR monitor, so that every device in the rk3588 device tree has its driver available. The DFI DDR monitor is a devfreq event driver, so PM_DEVFREQ_EVENT is set in the target configuration, which is what lets the driver build as a module and be installed on a released image. The remaining new symbols are recorded as disabled defaults in the generic configuration, where a kernel module package can enable the one it needs. The per-SoC V4L2 mem2mem drivers go there as well: they have no recorded value anywhere, so kconfig stops to ask for them on any target whose ARCH symbol matches once kmod-video-mem2mem opens the mem2mem menu. The DRM driver and the HDMI PHY are marked for /etc/modules-boot.d, as procd loads those before preinit runs. Loaded from /etc/modules.d instead, /dev/dri stays empty until the overlay is mounted, which on a Rock 5B is several seconds in and too late for anything drawing to the screen during boot. Signed-off-by: Daniel Golle <daniel@makrotopia.org>