Page MenuHomeFreeBSD

Add touchscreen support to ti_adc driver
ClosedPublic

Authored by gonzo on Apr 5 2016, 6:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 27 2024, 6:11 PM
Unknown Object (File)
Sep 27 2024, 1:49 AM
Unknown Object (File)
Sep 23 2024, 11:38 PM
Unknown Object (File)
Sep 23 2024, 3:30 AM
Unknown Object (File)
Sep 22 2024, 7:23 PM
Unknown Object (File)
Sep 19 2024, 5:23 AM
Unknown Object (File)
Sep 19 2024, 12:31 AM
Unknown Object (File)
Sep 16 2024, 11:01 AM
Subscribers

Details

Summary

Add initial support for touchscreen part of ti_adc driver. It does not report actual values to the userland since we do not have API for that but it would be nice to have support ready when API lands in the tree

Test Plan
  • Enable debug by defining DEBUG_TSC in ti_adc.c
  • Build kernel and boot on Beaglebone Black with 4dcape-43t
  • Check if coordiantes are printed when stylus is used on touchscreen

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

gonzo retitled this revision from to Add touchscreen support to ti_adc driver.
gonzo updated this object.
gonzo edited the test plan for this revision. (Show Details)
gonzo added a reviewer: loos.
gonzo set the repository for this revision to rS FreeBSD src repository - subversion.
loos edited edge metadata.

I can't test the touch screen output (no hardware), but changes seem ok.

Thank you Gonzo.

This revision is now accepted and ready to land.Apr 29 2016, 6:25 PM

Thanks Luiz,

I was more concerned about affecting current ADC functionality. I tried to make this patch as low-impact as possible. I am going to commit it soon, if you notice any change in ADC behaviour please let me know

This revision was automatically updated to reflect the committed changes.