pengutronix BSP: no touchscreen when applying patch

Luc
Attachment: patch (2.12 KB)
Hi all,

As I want to use SPI, I made a patch to adjust the mach-mini2440.c file see
attachment). My series file contains 1 entry : patch.

After compiling the kernel I have a spidev0.0 device. However the
touchscreen is unusable as well as the framebuffer. Also a wrong lcd
display is selected (wrong resolution). the config in the boorloader is
correct.

During boot there are several messages :

f.e. 't' ignored, touchscreen not compiled in
 

When I compile the same kernel without patch everything works (no spi).
Any idea what I am doing wrong ?

Kind regards
Luc

Juergen Beisert
It seems you are using a plain vanilla kernel, as the code looks like this:

[...]
case 't':
     printk(KERN_INFO "MINI2440: '%c' ignored, "
  "touchscreen not compiled in\n", f);
break;
[...]

So, the touchscreen feature is not implemented.