Skip to contentSkip to conversation

TSC2004 driver

DISCUSSION Michael Welling 4 participants 7 messages Aug 5, 2014 – Aug 6, 2014 HID

lore
Share & tools
lore
#0 lore raw

The TSC2004 driver has yet to appear in the mainline kernel. We have been using the driver referenced here as provided by TI:

https://www.mail-archive.com/[email protected]/msg22018.html

Are there any plans of supporting this device in the mainline kernel?

Mysteriously a device tree entry was found in the following file:
arch/arm/boot/dts/omap4-var-som-om44.dtsi

This is obviously pointing to an out of tree driver that is not easily obtained.

Suggestions?

#1 lore raw

Hi Michael,

Quoted 6 lines · Michael Welling

The TSC2004 driver has yet to appear in the mainline kernel. We have been using the driver referenced here as provided by TI:

https://www.mail-archive.com/[email protected]/msg22018.html

Are there any plans of supporting this device in the mainline kernel?

I still believe that support for TSC2004 should be added 5to tsc2007, they are too much alike to be separate drivers.

Quoted 8 lines

Mysteriously a device tree entry was found in the following file:
arch/arm/boot/dts/omap4-var-som-om44.dtsi

This is obviously pointing to an out of tree driver that is not easily obtained.

Suggestions?

Thanks.

Signature · 1 line
Dmitry
#2 lore raw
Quoted 6 lines · Dmitry Torokhov

Hi Michael,

Quoted 3 lines · Michael Welling

The TSC2004 driver has yet to appear in the mainline kernel. We have been using the driver referenced here as provided by TI:

Quoted 6 lines
Quoted 3 lines

https://www.mail-archive.com/[email protected]/msg22018.html

Are there any plans of supporting this device in the mainline kernel?

I still believe that support for TSC2004 should be added 5to tsc2007, they are too much alike to be separate drivers.

I tried to add tsc2004 support to the tsc2007 driver but I didn't really get it to work properly because the tsc2007 interrupt handling differs from what tsc2004 needs.

I think it would be better to add tsc2004 support to the tsc2005 driver. They only difference between those two chips is the interface (i2c vs spi). If regmap was added to tsc2005 I think it should be easy to support tsc2004.

Quoted 6 lines
Quoted 6 lines

Mysteriously a device tree entry was found in the following file:
arch/arm/boot/dts/omap4-var-som-om44.dtsi

This is obviously pointing to an out of tree driver that is not easily obtained.

I have patches that add tsc2004 support to the tsc2007 driver, but I really can't recommend them. The interrupt handling is broken so for each touch event the chip needs to be software reset...

The driver you posted a link to above also has flaw btw.

regards
Joachim Eastwood

Quoted 10 lines
Quoted 1 line

Suggestions?

Thanks.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 9 lines · Joachim Eastwood
Quoted 8 lines · Dmitry Torokhov

Hi Michael,

Quoted 5 lines · Michael Welling

The TSC2004 driver has yet to appear in the mainline kernel. We have been using the driver referenced here as provided by TI:

https://www.mail-archive.com/[email protected]/msg22018.html

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Are there any plans of supporting this device in the mainline kernel?

I still believe that support for TSC2004 should be added 5to tsc2007, they are too much alike to be separate drivers.

I tried to add tsc2004 support to the tsc2007 driver but I didn't really get it to work properly because the tsc2007 interrupt handling differs from what tsc2004 needs.

OK.

Quoted 5 lines

I think it would be better to add tsc2004 support to the tsc2005 driver. They only difference between those two chips is the interface (i2c vs spi). If regmap was added to tsc2005 I think it should be easy to support tsc2004.

That would also be acceptable.

Thanks.

Signature · 1 line
Dmitry
#4 lore raw
Quoted 22 lines · Dmitry Torokhov
Quoted 9 lines · Joachim Eastwood
Quoted 8 lines · Dmitry Torokhov

Hi Michael,

Quoted 5 lines · Michael Welling

The TSC2004 driver has yet to appear in the mainline kernel. We have been using the driver referenced here as provided by TI:

https://www.mail-archive.com/[email protected]/msg22018.html

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Are there any plans of supporting this device in the mainline kernel?

I still believe that support for TSC2004 should be added 5to tsc2007, they are too much alike to be separate drivers.

I tried to add tsc2004 support to the tsc2007 driver but I didn't really get it to work properly because the tsc2007 interrupt handling differs from what tsc2004 needs.

OK.

Quoted 1 line
Quoted 6 lines
Quoted 4 lines

I think it would be better to add tsc2004 support to the tsc2005 driver. They only difference between those two chips is the interface (i2c vs spi). If regmap was added to tsc2005 I think it should be easy to support tsc2004.

That would also be acceptable.

The tsc2005 still needs devicetree conversion, so it is at least 2 patches away from where I can use it.

I have missed the window for my companies OE release so I doubt I will have time to code
in all or any of this.

I am in the process of routing a AM335x SoM which obsoletes this AM3517 one so my resources will be elsewhere.

Quoted 5 lines

Thanks.

--
Dmitry

#6 lore raw
Quoted 9 lines · Sebastian Reichel

Hi,

Quoted 2 lines · Michael Welling

The tsc2005 still needs devicetree conversion, so it is at least 2 patches away from where I can use it.

TSC2005 DT support has been added in 3.16:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a38cfebb56898633687ab337fd53710e63a0aedd

Sorry for the misinformation.

If someone else is volunteering to do the regmap support let me know.

Quoted 2 lines

-- Sebastian