2009-07-27 03:21:22     TSC 2007 in 2009-trunk

Document created by Aaronwu Employee on Aug 16, 2013
Version 1Show Document
  • View in full screen mode

2009-07-27 03:21:22     TSC 2007 in 2009-trunk

Patrick Hotz (GERMANY)

Message: 78061   

 

Hi,

 

we are using a TSC2007 touchscreen-contoller and now we want to use the driver from trunk to test this device.

 

I have enabled the I2C in kernel config and the touchscreen tsc2007 driver also.

The problem i have is that on bootup i can´t see that the driver is starting.

 

Is there anything i have to copy into my board-config-file or is there any howto i can use?

 

 

 

Thanks,

Patrick

TranslateQuoteReplyEditDelete

 

 

2009-07-27 03:32:49     TSC 2007 in 2009-trunk

Michael Hennerich (GERMANY)

Message: 78062    >did you add info to

struct i2c_board_info __initdata bfin_i2c_board_info[]

 

?

 

-Michael

QuoteReplyEditDelete

 

 

2009-07-27 08:19:54     Re: TSC 2007 in 2009-trunk

Patrick Hotz (GERMANY)

Message: 78084   

 

Hi

 

the struct i have copied into my boardfile.

But there is no example fot the tsc2007

 

 

 

Patrick

TranslateQuoteReplyEditDelete

 

 

2009-07-27 08:36:22     Re: TSC 2007 in 2009-trunk

Robin Getz (UNITED STATES)

Message: 78085   

 

Patrick:

 

Change your hardware to the ADI touchscreen controllers - there are lots of examples for those.

 

-Robin

QuoteReplyEditDelete

 

 

2009-07-27 08:51:53     Re: TSC 2007 in 2009-trunk

Patrick Hotz (GERMANY)

Message: 78087   

 

Hi,

 

the driver is included in 2009trunk, so i think somebody is able to get it running....

I can´t change the hardware because its given.

 

 

 

Patrick

TranslateQuoteReplyEditDelete

 

 

2009-07-27 09:42:57     Re: TSC 2007 in 2009-trunk

Patrick Hotz (GERMANY)

Message: 78090   

 

Hi,

 

 

 

i think i work forward with the driver.

Now i can see that the driver is loading but i have the problen that i get following error: "platform data is required"

 

Does somebody know where this data is stored?

I know that i have to set platform_data = ?????.

 

 

 

Patrick

TranslateQuoteReplyEditDelete

 

 

2009-07-27 09:55:18     Re: TSC 2007 in 2009-trunk

Michael Hennerich (GERMANY)

Message: 78091    Check include/linux/i2c/tsc2007.h

QuoteReplyEditDelete

 

 

2009-07-27 10:03:16     Re: TSC 2007 in 2009-trunk

Robin Getz (UNITED STATES)

Message: 78092   

 

Patrick:

 

ARM is included in the 2009 trunk - but you will not get help for it here.

 

We support drivers we write - if there is a driver included in the linux source tree that we didn't write - you might be better off asking the author.

 

-Robin

QuoteReplyEditDelete

 

 

2009-07-27 10:12:56     Re: TSC 2007 in 2009-trunk

Patrick Hotz (GERMANY)

Message: 78094   

 

Hi,

 

i donz get it running.

 

I have tried this:

 

....

.platform_data = (void *)&tsc2007_platform_data,

.....

 

Is that right what i have to fill in?

I´m new in driver.....

 

 

 

Patrick

TranslateQuoteReplyEditDelete

 

 

2009-07-27 13:19:11     Re: TSC 2007 in 2009-trunk

Mike Frysinger (UNITED STATES)

Message: 78099   

 

there are a few different ways configuration settings can be passed from the board resources to the driver.  the exact requirements depend on the driver.

Attachments

    Outcomes