Hello,
I want to write a driver in userspace for the ETMV570G2DHU Touchdisplay in c++.
I have another question to the lcd controller / display subsystem:
I want to use the lcd_ signals. I understand that I have to write into the display subsystem registers.
I don’t know how I can write into the registers from the display subsystem from an userspace programm.
On my understanding pointers in a userspace programm point to the userspace Memory. Not into the kernelmemory.
I want to write a driver in userspace for the ETMV570G2DHU Touchdisplay in c++ on the BBW. I use ubuntu 13.04 as OS.
For this I should use the display subsystem* / lcd controller from the arm335x.
Can I access the registers from the display subsystem with simple pointers like: #define DSS_IRQSTATUS *0x4805 0040 ?
If not, is >> struct resource *request_region (0x4830E000, 0xFFF, “LCD_Controller”); << the right way?
Thank you for your help.
Markus
- Point 15 in this document: http://www.ti.com/lit/ug/spruf98x/spruf98x.pdf