This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Platform data for ADS7843 in linux

Other Parts Discussed in Thread: ADS7843, ADS7846

Hi,

I am interfacing  ADS7843  (TOUCH SCREEN CONTROLLER) with  Waveshare electronics 4.3 inch LCD (480x272) & AM335x custom board, with linux running.

But i am unable to understand what platform data should i pass in the "struct ads7846_platform_data".

for example :

the platform data for LCD panel TX09D70VM1CCA (240x320) is

static struct ads7846_platform_data ads_info = {
     .model = 7843,
     .x_min = 150,
     .x_max = 3830,
     .y_min = 190,
     .y_max = 3830,
     .vref_delay_usecs = 100,
     .x_plate_ohms = 450,
     .y_plate_ohms = 250,
     .pressure_max = 15000,
     .debounce_max = 1,
     .debounce_rep = 0,
     .debounce_tol = (~0),

      ....
 };

I need help on how should i calculate the above values using my LCD..!

regards

Nitesh