add overlay to enable v4l2 devices

Overlay for testing purposes:
Maybe it is possible to use hardware video-encoding on that chip.
This commit is contained in:
Thorsten Maerz
2025-01-31 17:24:04 +01:00
committed by Igor
parent ef8349799f
commit 4fdeca5aab
3 changed files with 24 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-rk3328-i2c0.dtbo \
rockchip-rk3328-i2s1-pcm5102.dtbo \
rockchip-rk3328-mksklipad50-enable-rtc-end1.dtbo \
rockchip-rk3328-mksklipad50-enable-v4l2.dtbo \
rockchip-rk3328-mkspi-disable-lcd-spi.dtbo \
rockchip-rk3328-opp-1.4ghz.dtbo \
rockchip-rk3328-opp-1.5ghz.dtbo \

View File

@@ -24,6 +24,11 @@ testing the rtc.
The rtc still tends to stall sometimes. In the original makerbase
image, the rtc was completely unusable though.
### mksklipad-enable-v4l2
Enables the video4linux devices /dev/video[012] /dev/media[01]
Not sure, if they are of any use.
### mkspi-disable-lcd-spi
DTBO to disable spi_for_{lcd,touch} when enabling uart1

View File

@@ -0,0 +1,18 @@
/dts-v1/;
/plugin/;
// disable /dev/video1 + /dev/media0
&vpu {
status = "okay";
};
// disable /dev/video2 + /dev/media1
&vdec {
status = "okay";
};
// disable /dev/video0
&rga {
status = "okay";
};