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

Update driver/input/ist415 #6579

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ewoodev
Copy link
Contributor

@ewoodev ewoodev commented Dec 13, 2024

No description provided.

@ewoodev ewoodev force-pushed the WORK-241212_ist415_restructure branch 2 times, most recently from d55e839 to e0dbdc9 Compare December 16, 2024 01:52
#
###########################################################################
############################################################################
# apps/system/lcd_tune/Makefile
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you update file path?

@ewoodev ewoodev force-pushed the WORK-241212_ist415_restructure branch 2 times, most recently from bc713c0 to e4f6122 Compare December 23, 2024 05:15
@ewoodev ewoodev changed the title [DONOTMERGE] [temporary]Apply touch codes and lcd tuning Update driver/input/ist415 code Dec 23, 2024
@ewoodev ewoodev force-pushed the WORK-241212_ist415_restructure branch from e4f6122 to e9599b7 Compare December 23, 2024 05:36
@ewoodev ewoodev changed the title Update driver/input/ist415 code Update driver/input/ist415 Dec 23, 2024

/****************************************************************************
* Private Functions
****************************************************************************/

/****************************************************************************
* Name: ist415_irq_handler_work
Copy link
Contributor

Choose a reason for hiding this comment

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

function name different

os/drivers/input/ist415.c Outdated Show resolved Hide resolved
os/drivers/input/ist415.c Outdated Show resolved Hide resolved
os/drivers/input/ist415.c Outdated Show resolved Hide resolved
* Name: ist415_power_mode
****************************************************************************/

void ist415_power_mode(struct ist415_dev_s *dev, uint8_t data)
Copy link
Contributor

Choose a reason for hiding this comment

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

static functions if not used elsewhere

}
break;
#endif
#ifdef CONFIG_TOUCH_CALLBACK
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is TSIOC_DISABLE and enable inside touch_Callback condition only

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The apps is already having controllability, the app can don't read touch.
So if CONFIG_TOUCH_CALLBACK is disable, we don't need to provide enable and disable

@ewoodev ewoodev force-pushed the WORK-241212_ist415_restructure branch from e9599b7 to f590e53 Compare December 23, 2024 07:22
os/drivers/input/ist415_update.c Outdated Show resolved Hide resolved
os/drivers/input/ist415_update.c Outdated Show resolved Hide resolved
os/drivers/input/ist415_misc.c Outdated Show resolved Hide resolved
@ewoodev ewoodev force-pushed the WORK-241212_ist415_restructure branch 3 times, most recently from 7ce9898 to ae8ca79 Compare December 23, 2024 09:23
The init of audio or touch have read resource fs.
Therefore, Add mount resource before audio and touch init.

Signed-off-by: eunwoo.nam <[email protected]>
Enable CONFIG_EXAMPLES_SIMPLE_FILE_TRANSFER
Enable CONFIG_EXAMPLES_WIFIMANAGER_TEST

Signed-off-by: eunwoo.nam <[email protected]>
@ewoodev ewoodev force-pushed the WORK-241212_ist415_restructure branch 5 times, most recently from 50a8fdb to adc7b58 Compare December 24, 2024 07:59
Update ist415 touchscreen.

- Apply audo calibration
- Recive debugging data
- Recive IC ready
- Update firmware
- PLAM Large detection
- IC alive and IC state Check
- Forced release touch point

Signed-off-by: eunwoo.nam <[email protected]>

drivers/input: Add alive checking timer

Add timer which it periodically check the status of the ist415 chipset
and reset it in case there is any issue.

Signed-off-by: eunwoo.nam <[email protected]>

drivers/input/ist415: Add debug log level cmd of touch coordinate log.

The touch coordinates should be managed at a debug level, allowing them
to be turned on only when necessary.

Therefore, Apply debug log level of touch coordinate logs

Signed-off-by: eunwoo.nam <[email protected]>

oahjpaohjtpo

Signed-off-by: eunwoo.nam <[email protected]>

apthojapth

Signed-off-by: eunwoo.nam <[email protected]>
Since, if "--help" come, touch IC specific cmd help message dosen't print.

Therefore, to printing help message of IC specific cmd, Add calling ioctl in help.

And, Remove the message of IC cmd from the app so that each driver can display a specific help message.

Signed-off-by: eunwoo.nam <[email protected]>
Change reading /dev/touch0 type to "struct touch_point_s" and reading size to (struct touch_point_s x n)

And remove un-used callback feature.

Therefore, update read type and size

Signed-off-by: eunwoo.nam <[email protected]>
Add CONFIG_TOUCH_BUFSIZE=30
Add CONFIG_IST415_WORKPRIORITY=201

Signed-off-by: eunwoo.nam <[email protected]>
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.

3 participants