ARM: omap4: tuna: 4th Sample USB Mux Support

4th sample hardware uses a pair of FSA3200 switches
instead of a single FUSB63UMX 3-way switch.

Change-Id: Ief12ff5449511b600240408b4c745fbfcfc686eb
Signed-off-by: Adam Hampson <ahampson@sta.samsung.com>
ARM: omap4: tuna: export a uart_sel gpio to switch a uart (AP/CP)

Switching uart function must be implemented for Factory Test.
So export a gpio to sysfs to control a switch value by using
   "/sys/class/sec/uart_switch/UART_SEL/value"

Change-Id: I8cedc2168035196e3a4f1a66b495af010c0f4917
Signed-off-by: Sang-Jun Park <sj2202.park@samsung.com>
ARM: omap4: tuna: add mhl support to board files

Change-Id: I20745f9f8209852cc41755bbcec34a7ba331c72c
Signed-off-by: Erik Gilling <konkers@android.com>
ARM: omap4: tuna: move MLCD_RST pin for sample-1

Change-Id: Idaf5b98d32603c8605ae1fbb981d04e7aa9a6ae6
Signed-off-by: Colin Cross <ccross@android.com>
ARM: omap4: tuna: fix MLCD_RST gpio location

Change-Id: Ia14e8e004fa9a59aff9fc0ebcbbe1e53640871a3
Signed-off-by: Colin Cross <ccross@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>
ARM: omap4: tuna: Add LDI(s6e8aa0) Initial cmd in lcd platform data.

- Add LDI(s6e8aa0) Initial cmd in platform data.
- F8h panel condition set is changed.

Change-Id: I6ffcb7fe191316eabe05d6c0577aaddaa9446178
Signed-off-by: swin.kim <swin.kim@samsung.com>
Signed-off-by: Arve Hjønnevåg <arve@android.com>
ARM: omap4: tuna: Adjust factory_v255_regs

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

Change-Id: I351c1152bbecf0ead893333c949ee11a4acd1c86
Signed-off-by: Arve Hjønnevåg <arve@android.com>
ARM: omap4: tuna: Disable pulldown bits on DSI1 lanes.

change list.
1. Disable pulldown bits on DSI1 lanes for improve mipi signal

Change-Id: Iec43966c22c00dae3f854d41eea0418f806f1e7f
Signed-off-by: swin.kim <swin.kim@samsung.com>
ARM: omap4: tuna: Update oled factory calibration info

Switch to new platform data format and enable use of v87
mtp offset.

Change-Id: Ica55326cb5267be79abb8e7ca7d17741c46939dc
Signed-off-by: Arve Hjønnevåg <arve@android.com>
OMAP4: Tuna: Fix DSI Interleaving CIO Bus Contention Errors

There is a BW crunch while sending the second BTA from the panel
PHY in LP-RX mode) to OMAP, to put back the OMAP-DSI module in HS mode.
Because of a lesser low power clock, the request was NOT completed
on time before VIDEO_MODE start sending short sync packets.
Hence contention errors.

Increased the LP clock as the fix.

Change-Id: I37f86267170aad72c4533e9b709008e7d1afcf7e
Signed-off-by: Mark Tyler <mark.tyler@ti.com>
Signed-off-by: Lajos Molnar <molnar@ti.com>
ARM: omap4: tuna: Remove prelunchbox display support

Change-Id: I68eba77112a251d313c3ea1edf15e8a1b1aa5f29
Signed-off-by: Colin Cross <ccross@android.com>
ARM: omap4: tuna: relocate and resize carveout memories

The ion secure input heap is moved towards the end of the RAM. It needs
to be preceded by the ducati carveout memory, which is also increased
from 101MB to 103MB. IPC will be using this additional 2MB for its IO.
The static pool published to remoteproc will need to include the secure
input heap memory to enable loading a firmware binary that maps the 1D
carveout into the MMU.

Change-Id: I5c633351535d2a7c8888e62f74564b32cd37427e
Signed-off-by: Suman Anna <s-anna@ti.com>
tuna: enable BT wakeup capability via gpio

GPIO_177 should be able to wake OMAP from sleep state when BT
wants to wake it up.

Change-Id: If8e35db436f8b0b79ae1c422c0e029c89ab3ced3
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
OMAP4: tuna: Fix build error when CONFIG_SEC_MODEM=n

Change-Id: I03761808bc4797c5260635d782cb5937358279cd
Signed-off-by: Todd Poynor <toddpoynor@google.com>
ARM: omap4: tuna: Remove prelunchbox and lunchbox hsmmc support

Change-Id: Ie058dd8d881a67f2e1eaa2531c35ef23eda2449d
Signed-off-by: Colin Cross <ccross@android.com>
ARM: omap4: tuna: Remove prelunchbox and lunchbox support

Change-Id: I9257faf0f97c47d0ccb26d00d1a4d11525f89c18
Signed-off-by: Colin Cross <ccross@android.com>
ARM: omap4: tuna: Add names for 5th sample devices

Change-Id: Ieb2acfeb2ee6744d6d302905a97382083e436604
Signed-off-by: Colin Cross <ccross@android.com>
OMAP4: Tuna: Regulator: Add VAUX1/VUSIM/V2V1 regulator init data

  - Add VAUX1 LDO regulator init data.
    Make clear that VAUX1 is always_on and Voltage of VAUX1 is 3.0v.

  - Add VUSIM LDO regulator init data.
    To control VUSIM LDO that is used by lcd panel.

  - Add V2V1 SMPS regulator init data.
    To control V2V1 SMPS that is used by TWL6040.

Change-Id: Id4f0d51c27976f066e7a4ca56d2575c944bbf680
Signed-off-by: Baek.Kyung-Han <wildtaz.baek@samsung.com>