Letux Kernel

Issue 186: Pass GPIO numbers for TD028TTEC1 driver from board file initialization

Reported by Nikolaus Schaller, Nov 28, 2010

Currently, the GPIO assignment is hard-coded in the driver source. 
This makes it quite inflexible (we need different versions for 
Beagle / Panda / GTA04).

Rather, there should be some extended struct that is initialized in 
omap3-beagle.c etc. to the GPIO numbers and passed down to the 
driver. In the same way as e.g. the PENIRQ GPIO is passed to the 
TSC2007 driver.

Comment 1 by Nikolaus Schaller, Nov 28, 2010

Without this change, probability is low that we get the driver 

Comment 2 by Nikolaus Schaller, Dec 7, 2011

The correct way to do this would be to define a SPI/McBSP port in 
the board-file and have the display panel driver use a generic 
jbt**** driver. I.e. this driver hierarchy:

TD028TTEC1 -> JBT**** -> SPI

Comment 3 by Nikolaus Schaller, Jul 28, 2013

Labels: Milestone:3.10

Comment 4 by Marek Belisko, Jul 29, 2013

GPIO spi assignment is passed as platform data to panel driver.

Related commits : 
Status: Fixed

Created: 13 years 6 months ago by Nikolaus Schaller

Updated: 10 years 10 months ago

Status: Fixed

Followed by: 1 person