Update T31 kernel module sinfo and json-c version ()

pull/566/head
Igor Zalatov 2022-11-18 01:07:56 +03:00 committed by GitHub
parent e968bb7752
commit 6b6bddd4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 2 deletions
general/package
ingenic-opensdk/src/kernel/sensor_info
ingenic-osdrv-t31/files/kmod

View File

@ -106,6 +106,7 @@ enum SENSOR_TYPE
SENSOR_TYPE_SC500AI, SENSOR_TYPE_SC500AI,
SENSOR_TYPE_JXQ03, SENSOR_TYPE_JXQ03,
SENSOR_TYPE_JXQ03P, SENSOR_TYPE_JXQ03P,
SENSOR_TYPE_GC2083,
}; };
typedef struct SENSOR_INFO_S typedef struct SENSOR_INFO_S
@ -196,6 +197,7 @@ SENSOR_INFO_T g_sinfo[] =
{"sc500ai"}, {"sc500ai"},
{"jxq03"}, {"jxq03"},
{"jxq03p"}, {"jxq03p"},
{"gc2083"},
}; };
int main(int argc,char **argv) int main(int argc,char **argv)
{ {

View File

@ -171,6 +171,7 @@ enum SENSOR_TYPE
SENSOR_TYPE_SC500AI, SENSOR_TYPE_SC500AI,
SENSOR_TYPE_JXQ03, SENSOR_TYPE_JXQ03,
SENSOR_TYPE_JXQ03P, SENSOR_TYPE_JXQ03P,
SENSOR_TYPE_GC2083,
}; };
SENSOR_INFO_T g_sinfo[] = SENSOR_INFO_T g_sinfo[] =
@ -257,6 +258,7 @@ SENSOR_INFO_T g_sinfo[] =
{"sc500ai", 0x30, "cgu_cim", 24000000, {0xce, 0x1f}, 1, {0x3107, 0x3108}, 2, 2, NULL}, {"sc500ai", 0x30, "cgu_cim", 24000000, {0xce, 0x1f}, 1, {0x3107, 0x3108}, 2, 2, NULL},
{"jxq03", 0x40, "cgu_cim", 24000000, {0x05, 0x07}, 1, {0xa, 0xb}, 1, 2, NULL}, {"jxq03", 0x40, "cgu_cim", 24000000, {0x05, 0x07}, 1, {0xa, 0xb}, 1, 2, NULL},
{"jxq03p", 0x40, "cgu_cim", 24000000, {0x08, 0x43}, 1, {0xa, 0xb}, 1, 2, NULL}, {"jxq03p", 0x40, "cgu_cim", 24000000, {0x08, 0x43}, 1, {0xa, 0xb}, 1, 2, NULL},
{"gc2083", 0x37, "cgu_cim", 24000000, {0x20, 0x83}, 1, {0xf0, 0xf1}, 1, 2, NULL},
}; };
static int8_t g_sensor_id = -1; static int8_t g_sensor_id = -1;

View File

@ -1,7 +1,7 @@
config BR2_PACKAGE_JSONFILTER config BR2_PACKAGE_JSONFILTER
bool "jsonfilter" bool "jsonfilter"
default n default n
select BR2_PACKAGE_JSON_C select BR2_PACKAGE_JSON_C_OPENIPC
select BR2_PACKAGE_LIBUBOX select BR2_PACKAGE_LIBUBOX
help help
jsonfilter - simple JSON parser jsonfilter - simple JSON parser

View File

@ -10,7 +10,7 @@ JSONFILTER_SITE = git://git.openwrt.org/project/jsonpath.git
JSONFILTER_LICENSE = ISC, BSD-3-Clause JSONFILTER_LICENSE = ISC, BSD-3-Clause
JSONFILTER_DEPENDENCIES = \ JSONFILTER_DEPENDENCIES = \
$(if $(BR2_PACKAGE_JSON_C),json-c) \ $(if $(BR2_PACKAGE_JSON_C_OPENIPC),json-c-openipc) \
$(if $(BR2_PACKAGE_LIBUBOX),libubox) $(if $(BR2_PACKAGE_LIBUBOX),libubox)
define JSONFILTER_INSTALL_TARGET_CMDS define JSONFILTER_INSTALL_TARGET_CMDS