reverted any GTA04 specific changes of tsc2007.h and tsc2007.c so that they match mainline

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
tsc2007: add pre-calibration, flipping and rotation

This patch adds new parameters that allow to address typical hardware
design differences: touch screens may be wired or oriented differently
(portrait or landscape). And usually the active area of the touch is a
little larger than the active area of the LCD. This results in the touch
coordinates that have some significant deviation from LCD coordinates.
Usually this is addressed in user space by a calibration tool (e.g. tslib
or xinput-calibrator) but some systems don't have these tools or require
that the screen is already roughly calibrated (e.g. Replicant) to operate
the device until a better calibration can be done. And, some systems
react very strangely if the touch event stream reports coordinates
outside of the active area.

This makes it necessry to be able to configure:
1. swapping x and y wires (coordinate values)
2. flipping of x (left - right) or y (top - bottom) or even both
3. define an active area so that an uncalibrated screen already
roughly matches the LCD to be useful.
4. clip reported coordinates to the active area.

If none of the new paramters is defined (in DT) or set in a board file,
the driver behaves the same as without this patch.

Author (1&2): H. Nikolaus Schaller <hns@goldelico.com>
Author (3&4): Paul Kocialkowski <contact@paulk.fr>

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
GTA04 DT: fixed typo in handling pinctrl for BMA180, backlight and penirq
and added/fixed new touch scaling/rotation/swapping parameters as defined
by tsc2007.c extensions.

Tested on: GTA04A4 (Letux2804), Letux3704, Letux7004

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
GTA04 DT: update for pyra

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
added separate device trees for different panels.

This makes it easier to switch:
cp /boot/omap5-pyra+$panel.dtb /boot/omap5-pyra.dtb
sync
poweroff

then switch panel
and reboot

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>

Conflicts:
	arch/arm/boot/dts/Makefile
Pyra: added helpful scripts for the Pyra

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
DT: fixed bug in makefile for Pyra DT

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Pyra: fixed detection of Pyra for some scripts

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>