Files
android_kernel_samsung_sm86…/raydium/tpselftest_30.h
gary-rad-ic 1754154171 touch: add Raydium I2C touchscreen driver
add support to enable Raydium RM6D030 I2C touchscreen driver
Signed-off-by: gary-rad-ic <gary.wu@rad-ic.com>
Git-commit: 014e8a5066b2b04cacaf83fdae80abd840c2f5f6
Git-repo: https://github.com/gary-rad-ic/wearable-touch-driver/tree/RM6D030

Change-Id: Icd877f7f6787c5da14347240f08522b886581b1b
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-07 22:54:18 -07:00

55 строки
2.5 KiB
C

/* tpselftest_30.h
*
* Raydium TouchScreen driver.
*
* Copyright (c) 2021 Raydium tech Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#define RAD_SELFTEST_30 0x3202
unsigned char u8_test_info_30[16] = {
0x03, 0x02, 0x02, 0x06, 0x5D, 0x00, 0x00, 0xAC,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
signed char i8_ft_test_thd_30[36] = {
0x00, 0x00, 0x7F, 0xFE, 0x22, 0x07, 0x00, 0x00, 0x00, 0x00, 0x85, 0xFF,
0x00, 0x00, 0x00, 0x00, 0x84, 0x00, 0x7C, 0xFF, 0x17, 0x00, 0x23, 0x00,
0x2C, 0x00, 0x2C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
unsigned char u8_test_para_30[48] = {
0x14, 0x05, 0x64, 0x0A, 0x5A, 0x14, 0x50, 0x15, 0x12, 0x00, 0x03, 0x1E,
0x00, 0x03, 0x64, 0x15, 0x12, 0x02, 0x00, 0x00, 0x10, 0xA1, 0x00, 0x02,
0x08, 0x20, 0x02, 0x28, 0x46, 0x00, 0x00, 0x00, 0x40, 0x08, 0x02, 0x00,
0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x00, 0x01, 0x02, 0x02, 0x40, 0x01
};
unsigned char u8_raw_data_3_cc_30[96] = {
0xAB, 0x02, 0xCF, 0x02, 0x97, 0x02, 0x00, 0x00, 0xBD, 0x02, 0x8D, 0x02,
0xAF, 0x02, 0x00, 0x00, 0x82, 0x02, 0xA5, 0x02, 0x61, 0x02, 0x00, 0x00,
0x61, 0x02, 0xFC, 0x02, 0xBC, 0x02, 0x00, 0x00, 0x6B, 0x02, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xA5, 0x02, 0xD1, 0x02, 0x90, 0x02, 0x00, 0x00, 0xBD, 0x02, 0x87, 0x02,
0xAE, 0x02, 0x00, 0x00, 0x75, 0x02, 0xA1, 0x02, 0x51, 0x02, 0x00, 0x00,
0x5F, 0x02, 0xBF, 0x02, 0x87, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
unsigned char u8_raw_uc_cc_30[96] = {
0x7F, 0x02, 0x93, 0x02, 0x5D, 0x02, 0x00, 0x00, 0x83, 0x02, 0x55, 0x02,
0x79, 0x02, 0x00, 0x00, 0x51, 0x02, 0x79, 0x02, 0x39, 0x02, 0x00, 0x00,
0x3D, 0x02, 0xCB, 0x02, 0x8F, 0x02, 0x00, 0x00, 0x4D, 0x02, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x79, 0x02, 0x95, 0x02, 0x55, 0x02, 0x00, 0x00, 0x83, 0x02, 0x51, 0x02,
0x7B, 0x02, 0x00, 0x00, 0x45, 0x02, 0x75, 0x02, 0x2B, 0x02, 0x00, 0x00,
0x3B, 0x02, 0x95, 0x02, 0x65, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};