MCU:AM3358
SDK:6.0\
I changed the data frame of touchit213.c for drive my serial touchscreen,and then set the port protocal and device ID in user space. But the return of ioctl(fd,SPIOCSTYPE,&devt) is -1
part of code :
#define SERIO_MD 0x3f
.........
unsigned long devt = SERIO_MD | (SERIO_ANY << 8) | (SERIO_ANY << 16);
ioctl(fd,SPIOCSTYPE,&devt)