Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/: Add support for CM Test and Jitter test with their respective APIs #6690

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abhinav-s235
Copy link
Contributor

@abhinav-s235 abhinav-s235 commented Feb 19, 2025

  • Modify existing ist415_cmd() function to support both the tests.
  • Develop corresponding APIs to perform these tests.

@abhinav-s235 abhinav-s235 force-pushed the touch_selftest branch 2 times, most recently from 0142f6d to de93d06 Compare February 20, 2025 09:24
Comment on lines 335 to 348
case TSIOC_CMTEST:
if (priv->ops && priv->ops->touch_cmtest) {
ret = priv->ops->touch_cmtest(priv, (int *)arg);
} else {
ret = -EINVAL;
}
break;
case TSIOC_JITTERTEST:
if (priv->ops && priv->ops->touch_jittertest) {
ret = priv->ops->touch_jittertest(priv, (int *)arg);
} else {
ret = -EINVAL;
}
break;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already has TSIOC_CMD, How about use TSIOC_CMD??
is it common function for touchscreen?, if not, Please use CMD

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inorder to use TSIOC_CMD we have to send hardcoded command from test application to distinguish it from other commands because in product_factory branch functions cm_test() and cm_jitter_test() do not accept command from terminal.

- Modify existing ist415_cmd() function to support both the tests.
- Develop corresponding APIs to perform these tests.
@abhinav-s235 abhinav-s235 changed the title os/: Add IOCTL support for CM Test and Jitter test with their respective APIs os/: Add support for CM Test and Jitter test with their respective APIs Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants