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)
Thu, Jun 27, 4:29 AM
Unknown Object (File)
May 2 2024, 6:02 PM
Unknown Object (File)
May 2 2024, 6:02 PM
Unknown Object (File)
May 2 2024, 6:02 PM
Unknown Object (File)
May 2 2024, 2:29 PM
Unknown Object (File)
Feb 17 2024, 3:13 PM
Unknown Object (File)
Feb 3 2024, 10:40 PM
Unknown Object (File)
Dec 17 2023, 2:04 PM
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.