ARM: omap4: tuna: enable pm-debug

Allows to have a check on pm state of each PM domain

% cat /d/pm_debug/count
fuse_pwrdm (OFF),OFF:1,RET:0,
always_on_core_pwrdm (OFF),OFF:1,RET:0,
l4per_pwrdm (ON),OFF:0,RET:0,
l3init_pwrdm (ON),OFF:0,RET:0,
cam_pwrdm (OFF),OFF:6,RET:0,
ivahd_pwrdm (RET),OFF:1,RET:3,
mpu_pwrdm (ON),OFF:0,RET:4767,
cpu1_pwrdm (OFF),OFF:2,RET:0,
cpu0_pwrdm (ON),OFF:4767,RET:0,
tesla_pwrdm (OFF),OFF:1,RET:0,
dss_pwrdm (ON),OFF:0,RET:4,
abe_pwrdm (ON),OFF:1,RET:6,
gfx_pwrdm (OFF),OFF:17,RET:0,
core_pwrdm (ON),OFF:0,RET:0,

Key is to see core_pwrdm go to ret and off, which seems to be broken
on mainline today

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
ARM: omap4: tuna: GPS initialization and MUX setting

GPS: AP_AGPS_TSYNC, nRST, PWR_EN
create the "sec" class
create the "gps_dev" device

Signed-off-by: sj0822.lee <sj0822.lee@samsung.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
ARM: omap4: tuna: Mux Setting for GPS_UART_SEL

Add GPS_UART_SEL pin to control between GPS and modem for using UART1

Signed-off-by: sj0822.lee <sj0822.lee@samsung.com>
Change-Id: Ic9f39a5c428d22a0f0f6917f45b40995019a045a
Signed-off-by: Mike Lockwood <lockwood@android.com>
OMAP4: Tuna: Enable SmartReflex

Change-Id: Ia738dea99160c8300421b9d8c05a4374903c6119
Signed-off-by: Todd Poynor <toddpoynor@google.com>
ARM: OMAP4: tuna: update power map for 4430 Tunas

The default TI configurations for 4430 uses OMAP4430+TWL6030.
on Tuna device, we need to have a configuration for OMAP4430+TPS+TWL
inline with what is present on 4460+TPS+TWL device.

Since pre-lunchboxes(4430) are no longer supported, we drop
the check for these and enable the map if 4430 device is detected.

Change-Id: Ic82ad411719c841af34b39ba8812d16c8a32e978
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
ARM: omap4: tuna: enable smartreflex on init

Change-Id: I5099374c47c6bd1f4a47633f1eb4a0dabfa1e789
Signed-off-by: Colin Cross <ccross@android.com>
ARM: omap: tuna: add soc info attribute group

Creates soc info files for userspace consumption:

$ cat /sys/board_properties/soc/family
OMAP4460

$ cat /sys/board_properties/soc/revision
ES1.0

$ cat /sys/board_properties/soc/type
EMU

Change-Id: I9b1139d59fa869868b607c2a8cbe7672ddc400ce
Signed-off-by: Dima Zavin <dima@android.com>

Conflicts:
	arch/arm/mach-omap2/board-tuna.c
ARM: configs: Add ION to tuna_defconfig

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
ARM: omap2: tuna: Add ion support to tuna board file

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Revert "ARM: omap4: tuna: enable smartreflex on init"

This reverts commit d749b23f17c330b383ac1f36303cb61fc9f0dd61.
OMAP: DSS: panel-s6e8aa0: Port brightness code from Nexus-S

Change-Id: I2b32bb9ace5b3be5f78e0fdd4de3696b92dd3b8c
Signed-off-by: Arve Hjønnevåg <arve@android.com>
ARM: omap4: tuna: Add gamma-table

Based on Nexus-S gamma table for now.

Change-Id: I0d3d488d8cd47c0be9dbf4b7e95adaf9ccfdf7cf
Signed-off-by: Arve Hjønnevåg <arve@android.com>
LCD : modify defconfig for support backlight driver.

changlist.
1. Remove DSS_DPI driver.
2. Add BACKLIGHT_CLASS driver.

Change-Id: I9651f7ca34b8a4f2da91cc12d2b9bc6630693d3c
Signed-off-by: swin.kim <swin.kim@samsung.com>
board-tuna: Add Samsung DDR organisation and timings.

Tuna board memory configuartion is as below

The memory organisation is as below :
	EMIF1 - CS0 -	4 Gb
	EMIF2 - CS0 -	4 Gb
	--------------------
	TOTAL -		8 Gb

Change-Id: I3517ab2f52ce0452bbb9fdd011ef6bb2bca56bbd
Signed-off-by: Ambresh K <ambresh@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>

Conflicts:
	arch/arm/mach-omap2/board-tuna.h
ARM: omap4: tuna: enable smartreflex on init

Change-Id: I73139128a82dd1b2eae852d0b851914881d51234
Signed-off-by: Colin Cross <ccross@android.com>
ARM: omap: tuna: Create random wlan MAC for Toro devices (temporarily)

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
ARM: omap4: tuna: update pmic maps to 443x instead of 44xx

omap_*_pmic_update checks that the new mask does not match an
existing mask.  44xx is a superset of the 446x mask being replaced,
which triggers the warning.  Use 443x instead.

Change-Id: Iedc70f9c2e5ec57cc8aac1837bed072131476ed4
Signed-off-by: Colin Cross <ccross@android.com>
ARM: omap4: tuna: print more detailed board revision information

Adds a text description of the HW revision and the CPU type to
the log message at boot.

Change-Id: I6c8f3c13ce89174a8a318c487d90e0428c8d10af
Signed-off-by: Colin Cross <ccross@android.com>
OMAP4: tuna: Enable OTG VBUS wakelock

Change-Id: Ibfcc817a099adc7f5bd5d2771724cbfec5fba129
Signed-off-by: Todd Poynor <toddpoynor@google.com>
ARM: omap: tuna: Switch wlan to CFG80211 and built-in driver

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>