cleanup t31_lite_chinamobile-hdc-51-a6-v11

This commit is contained in:
cronyx
2024-01-15 15:37:14 +03:00
parent 1c86bbb92e
commit ff7d222196
5 changed files with 13 additions and 58 deletions

View File

@@ -91,7 +91,6 @@ BR2_PACKAGE_VTUND_OPENIPC=y
BR2_PACKAGE_YAML_CLI=y BR2_PACKAGE_YAML_CLI=y
BR2_PACKAGE_QUIRC_OPENIPC=y BR2_PACKAGE_QUIRC_OPENIPC=y
# BR2_PACKAGE_AUTONIGHT is not set # BR2_PACKAGE_AUTONIGHT is not set
BR2_PACKAGE_INGENIC_LIBIMP_CONTROL=y
# WiFi # WiFi
BR2_PACKAGE_WIRELESS_TOOLS=y BR2_PACKAGE_WIRELESS_TOOLS=y

View File

@@ -1,6 +0,0 @@
sensor:
name: sc2332
address: 0x30
width: 1920
height: 1080
bus: i2c

View File

@@ -1,14 +0,0 @@
#!/bin/sh
set_gpio() {
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
sleep 1
}
# Generic RTL8188FU
if [ "$1" = "rtl8188fu-generic" ]; then
modprobe 8188fu
exit 0
fi
exit 1

View File

@@ -1,38 +1,11 @@
diff --git a/kernel/sensors/t31/Kbuild b/kernel/sensors/t31/Kbuild --- a/kernel/sensors/t31/Kbuild 2024-01-15 13:08:46.859149669 +0300
index 5f96204..30b34f5 100644 +++ b/kernel/sensors/t31/Kbuild 2024-01-15 13:13:37.850203251 +0300
--- a/kernel/sensors/t31/Kbuild @@ -12,7 +12,7 @@
+++ b/kernel/sensors/t31/Kbuild include $(src)/sensors/$(SOC)/os03b10/Kbuild
@@ -1,19 +1 @@ include $(src)/sensors/$(SOC)/sc200ai/Kbuild
-include $(src)/sensors/$(SOC)/gc2053/Kbuild include $(src)/sensors/$(SOC)/sc2232h/Kbuild
-include $(src)/sensors/$(SOC)/gc2083/Kbuild -#include $(src)/sensors/$(SOC)/sc2332/Kbuild
-include $(src)/sensors/$(SOC)/gc4023/Kbuild
-include $(src)/sensors/$(SOC)/gc4653/Kbuild
-include $(src)/sensors/$(SOC)/imx307/Kbuild
-include $(src)/sensors/$(SOC)/imx327/Kbuild
-include $(src)/sensors/$(SOC)/jxf37/Kbuild
-include $(src)/sensors/$(SOC)/jxh62/Kbuild
-include $(src)/sensors/$(SOC)/jxh63/Kbuild
-include $(src)/sensors/$(SOC)/jxq03/Kbuild
-include $(src)/sensors/$(SOC)/jxq03p/Kbuild
-include $(src)/sensors/$(SOC)/os03b10/Kbuild
-include $(src)/sensors/$(SOC)/sc200ai/Kbuild
-include $(src)/sensors/$(SOC)/sc2232h/Kbuild
-include $(src)/sensors/$(SOC)/sc2335/Kbuild
-include $(src)/sensors/$(SOC)/sc2336/Kbuild
-include $(src)/sensors/$(SOC)/sc3338/Kbuild
-include $(src)/sensors/$(SOC)/sc5235/Kbuild
-include $(src)/sensors/$(SOC)/sc4236/Kbuild
+include $(src)/sensors/$(SOC)/sc2332/Kbuild +include $(src)/sensors/$(SOC)/sc2332/Kbuild
diff --git a/kernel/sensors/t31/sc2332/Kbuild b/kernel/sensors/t31/sc2332/Kbuild include $(src)/sensors/$(SOC)/sc2335/Kbuild
index 12cef4b..9e9672c 100644 include $(src)/sensors/$(SOC)/sc2336/Kbuild
--- a/kernel/sensors/t31/sc2332/Kbuild include $(src)/sensors/$(SOC)/sc3338/Kbuild
+++ b/kernel/sensors/t31/sc2332/Kbuild
@@ -1,7 +1,7 @@
MODULE_NAME := sensor_sc2332_t31
OUT := $(MODULE_NAME)
-DIR=sensors/$(SOC)/sc2332
+DIR=sensors/$(SOC)
SRCS := $(DIR)/sc2332/sc2332.c

View File

@@ -13,6 +13,7 @@ etc/sensor/sc200ai-t31.bin
etc/sensor/sc2232h-t31.bin etc/sensor/sc2232h-t31.bin
etc/sensor/sc2335-t31.bin etc/sensor/sc2335-t31.bin
etc/sensor/sc3335-t31.bin etc/sensor/sc3335-t31.bin
etc/sensor/sc3336-t31.bin
etc/sensor/sc3338-t31.bin etc/sensor/sc3338-t31.bin
etc/sensor/sc4236-t31.bin etc/sensor/sc4236-t31.bin
etc/sensor/sc5235-t31.bin etc/sensor/sc5235-t31.bin
@@ -42,6 +43,7 @@ etc/sensor/sc200ai.yaml
etc/sensor/sc2232.yaml etc/sensor/sc2232.yaml
etc/sensor/sc2232h.yaml etc/sensor/sc2232h.yaml
etc/sensor/sc2335.yaml etc/sensor/sc2335.yaml
etc/sensor/sc2336.yaml
etc/sensor/sc3335.yaml etc/sensor/sc3335.yaml
etc/sensor/sc3338.yaml etc/sensor/sc3338.yaml
etc/sensor/sc4236.yaml etc/sensor/sc4236.yaml
@@ -63,6 +65,7 @@ lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_os03b10_t31.ko
lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc200ai_t31.ko lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc200ai_t31.ko
lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2232h_t31.ko lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2232h_t31.ko
lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2335_t31.ko lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2335_t31.ko
lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2336_t31.ko
lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc3338_t31.ko lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc3338_t31.ko
lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc4236_t31.ko lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc4236_t31.ko
lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc5235_t31.ko lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc5235_t31.ko