GTA04 boot fixes.

With this config and dts, I can boot gta04 and get a serial
console login and access to mmc device.
Some things work, some don't.

Signed-off-by: NeilBrown <neilb@suse.de>
gta04: add GPIO key for 'incoming' message from Option Modem

Signed-off-by: NeilBrown <neilb@suse.de>
gta04: fix 'aux' gpio key.

It should be ACTIVE_HIGH

Also add pinctrl config.

Signed-off-by: NeilBrown <neilb@suse.de>
GTA04.dts: add bma180 accelerometer

Signed-off-by: NeilBrown <neilb@suse.de>
gta04: fix mmc1.

Does not have an aux supply, and must be non-removable.

Otherwise it is removed during suspend and filesystem gets confused.

Signed-off-by: NeilBrown <neilb@suse.de>
gta04: enable mmc2 for wifi.

This requres vaux4.

Reset line isn't used yet, so wifi isn't reliable.
But it does work once per boot.

Signed-off-by: NeilBrown <neilb@suse.de>
gta04.dts: add basic sound support.

With this, music can be played.  There is room for refinement.

Signed-off-by: NeilBrown <neilb@suse.de>
gta04: enable power-off using twl4030.

Signed-off-by: NeilBrown <neilb@suse.de>
twl4030: add dts support for power button.

Signed-off-by: NeilBrown <neilb@suse.de>
twl4030_charger: add devicetree support and add to gta04.

Signed-off-by: NeilBrown <neilb@suse.de>
tsc2007 - add device-tree support.

Signed-off-by: NeilBrown <neilb@suse.de>
Import driver for tpo_fd028tec1 display panel.

Signed-off-by: NeilBrown <neilb@suse.de>
tpo-td028ttec1 panel driver

fix typo in platform_data struct name.

Signed-off-by: NeilBrown <neilb@suse.de>
tpo,td028ttec1 - add basic DT support

Signed-off-by: NeilBrown <neilb@suse.de>
gta04: create minimal 'board' file to initialise display.

omapdss display cannot yet be initiialised using devicetree,
so we need a minimal board file - based on the generic omap3 version.

Signed-off-by: NeilBrown <neilb@suse.de>
regulator: check for devicetree early.

We need to set has_full_constraints much earlier than we
do when devicetree is used, or checks for regulators can
easily fail instead of being delayed.

Signed-off-by: NeilBrown <neilb@suse.de>
Regulator HACK for omapdss power supply.

With device tree, the powered device declars where the supply comes from.
With platform-data, the regulator declares what it will supply.

So if the regulator is using device tree (as twl-regulator does)
but the powered device does not (as omapdss) there is nowhere
to declare the relationship.

So add a hack for a regulator to be able to specify one device that it
supplies when using devicetree.

Signed-off-by: NeilBrown <neilb@suse.de>
pwm: omap: Add PWM support using dual-mode timers

This patch is based on an earlier patch by Grant Erickson
which provided PWM devices using the 'legacy' interface.

This driver instead uses the new framework interface.

Platform data must be provided to identify which dmtimer to use.

Lots of cleanup and inprovements thanks to Thierry Reding
and Jon Hunter.

Cc: Grant Erickson <marathon96@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
pwm-omap:  fix an include file.

This is horrible!!! I wonder what I should do.

Signed-off-by: NeilBrown <neilb@suse.de>
pwm-omap: DT support plus some bug fixes.

This makes the backlight work on GTA04.

Signed-off-by: NeilBrown <neilb@suse.de>