From ef8349799fc6dabf7f79b05b64ef58e07fd794fe Mon Sep 17 00:00:00 2001 From: Thorsten Maerz Date: Fri, 31 Jan 2025 17:23:25 +0100 Subject: [PATCH] disable unusable v4l2 devices Removes /dev/video[012] and /dev/media[01] --- .../archive/rockchip64-6.12/dt/rk3328-mksklipad50.dts | 11 +++++++++++ .../02-rk3328-mksklipad50-add-uboot-dts.patch | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/patch/kernel/archive/rockchip64-6.12/dt/rk3328-mksklipad50.dts b/patch/kernel/archive/rockchip64-6.12/dt/rk3328-mksklipad50.dts index 32a6182b06..4b0c6c6529 100644 --- a/patch/kernel/archive/rockchip64-6.12/dt/rk3328-mksklipad50.dts +++ b/patch/kernel/archive/rockchip64-6.12/dt/rk3328-mksklipad50.dts @@ -607,3 +607,14 @@ status = "okay"; }; +&vpu { + status = "disabled"; +}; + +&vdec { + status = "disabled"; +}; + +&rga { + status = "disabled"; +}; diff --git a/patch/u-boot/u-boot-rockchip64/board_mksklipad50/02-rk3328-mksklipad50-add-uboot-dts.patch b/patch/u-boot/u-boot-rockchip64/board_mksklipad50/02-rk3328-mksklipad50-add-uboot-dts.patch index 6e66c2565c..20d61c3f3c 100644 --- a/patch/u-boot/u-boot-rockchip64/board_mksklipad50/02-rk3328-mksklipad50-add-uboot-dts.patch +++ b/patch/u-boot/u-boot-rockchip64/board_mksklipad50/02-rk3328-mksklipad50-add-uboot-dts.patch @@ -7,7 +7,7 @@ Subject: feat: Add u-boot dts for MKSKLIPAD50 board diff --git a/arch/arm/dts/rk3328-mksklipad50.dts b/arch/arm/dts/rk3328-mksklipad50.dts --- a/arch/arm/dts/rk3328-mksklipad50.dts 1970-01-01 01:00:00.000000000 +0100 +++ b/arch/arm/dts/rk3328-mksklipad50.dts 2025-01-31 10:35:20.328782652 +0100 -@@ -0,0 +1,565 @@ +@@ -0,0 +1,569 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Based on rk3328-roc-cc.dtb from original MKS-Klipad50 image @@ -573,3 +573,7 @@ diff --git a/arch/arm/dts/rk3328-mksklipad50.dts b/arch/arm/dts/rk3328-mksklipad + status = "okay"; +}; + ++&vpu { ++ status = "disabled"; ++}; ++