91 lines
3.0 KiB
C
91 lines
3.0 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2019 MediaTek Inc.
|
|
*/
|
|
|
|
#ifndef _GT1X_CONFIG_H_
|
|
#define _GT1X_CONFIG_H_
|
|
|
|
/***************************PART2:TODO define**********************************/
|
|
/* TODO: puts the config info corresponded to your TP here, the following is
|
|
* just a sample config, send this config should cause the chip can not
|
|
* work normally
|
|
*/
|
|
|
|
/* TODO define your config for Sensor_ID == 0 here, if needed */
|
|
|
|
|
|
#define GTP_CFG_GROUP0 {\
|
|
0x20, 0xD0, 0x02, 0x00, 0x05, 0x05, 0x05, 0x00, 0x01, 0x49, \
|
|
0x00, 0x05, 0x50, 0x3C, 0x53, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
|
0x00, 0x00, 0x00, 0x00, 0xC8, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
|
0x00, 0x00, 0x53, 0x00, 0x1E, 0x00, 0x19, 0x84, 0x00, 0x00, \
|
|
0x00, 0x00, 0x00, 0x64, 0x1E, 0x28, 0x8A, 0x2A, 0x0C, 0x32, \
|
|
0x34, 0x0F, 0x0A, 0x00, 0x00, 0x51, 0x02, 0x03, 0x27, 0x00, \
|
|
0x00, 0x1E, 0x5A, 0x80, 0x14, 0x02, 0x00, 0x00, 0x00, 0xCE, \
|
|
0x28, 0xA8, 0x32, 0x90, 0x3C, 0x80, 0x46, 0x74, 0x50, 0x6C, \
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x40, 0x30, \
|
|
0xCC, 0xCC, 0x27, 0x00, 0x00, 0x00, 0x02, 0x0F, 0x32, 0x03, \
|
|
0x00, 0x00, 0x21, 0x64, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
|
0x01, 0x08, 0x02, 0x09, 0x03, 0x0A, 0x04, 0x0B, 0x05, 0x0C, \
|
|
0x06, 0x0D, 0xFF, 0xFF, 0x13, 0x12, 0x11, 0x10, 0x0F, 0x0E, \
|
|
0x0D, 0x0C, 0x0B, 0x0A, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, \
|
|
0x06, 0x07, 0x08, 0x09, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, \
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
|
0x00, 0x00, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xFF, 0xFF, 0x86, \
|
|
0x22, 0x02, 0x00, 0x00, 0x3B, 0x00, 0x0F, 0x00, 0x00, 0x00, \
|
|
0x50, 0x3C, 0x50, 0x00, 0x00, 0x0F, 0xED, 0xFE, 0x01, \
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 0 here, if needed */
|
|
#define GTP_CFG_GROUP0_CHARGER {\
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 1 here, if needed */
|
|
#define GTP_CFG_GROUP1 {\
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 1 here, if needed */
|
|
#define GTP_CFG_GROUP1_CHARGER {\
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 2 here, if needed */
|
|
#define GTP_CFG_GROUP2 {\
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 2 here, if needed */
|
|
#define GTP_CFG_GROUP2_CHARGER {\
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 3 here, if needed */
|
|
#define GTP_CFG_GROUP3 {\
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 3 here, if needed */
|
|
#define GTP_CFG_GROUP3_CHARGER {\
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 4 here, if needed */
|
|
#define GTP_CFG_GROUP4 {\
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 4 here, if needed */
|
|
#define GTP_CFG_GROUP4_CHARGER {\
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 5 here, if needed */
|
|
#define GTP_CFG_GROUP5 {\
|
|
}
|
|
|
|
/* TODO define your config for Sensor_ID == 5 here, if needed */
|
|
#define GTP_CFG_GROUP5_CHARGER {\
|
|
}
|
|
|
|
|
|
#endif /* _GT1X_CONFIG_H_ */
|