리눅스 드라이버 중에 exynos_mipi_dsi.c 라는 소스가 있는데요.
거기서 보면,
static struct mipi_dsim_master_ops master_ops = {
.cmd_read = exynos_mipi_dsi_rd_data,
가 있습니다.
.cmd_read 는 다음과 같이 선언 되어 있는데요..
int (*cmd_read)(struct mipi_dsim_device *dsim,
unsigned int data_id,
unsigned int data0, unsigned int req_size, u8 *rx_buf);
이건, LSI쪽에서 자체적으로 만든것 같은데요.
이걸 HAL 단이나, userspace에서 호출 해서 사용하고 싶은데요.
어떻게 만들어야 할지 잘 모르겠네요.
아시는분 좀 가르쳐 주시겠어요.. ^^
음....이런 경우는 ioctl을 하나 만드시는게 나을 듯 합니다.
정확하게 어떤 cpu 어떤 버전인가요? 대략 ics 버전인 3.0.15인 듯 싶습니다만.....