OMAP4: Tuna: Regulator: Register VDD3 and VMEM

VDD3(VCORE3) and VMEM are SMPS on TWL6030 and registering it with regulator
framework, ensures that VMEM & VDD3 are gated appropriately.

Note:
VDD3 & VMEM are not connected on Tuna(OMAP4430/4460 variants).

Change-Id: Id25cbf52fb51d559996d4070a1f7ed21d0167851
Signed-off-by: Girish S G <girishsg@ti.com>
Signed-off-by: Ambresh K <ambresh@ti.com>
OMAP4: Tuna: Regulator: Keep VANA always ON.

VANA supplies internal phoenix analog blocks such as GPADC, Gas gauge and
other analog circuitries and should be kept ON.

Change-Id: Ie714e68799ccf332a83e69e93ee6d391417d9836
Signed-off-by: Girish S G <girishsg@ti.com>
Signed-off-by: Ambresh K <ambresh@ti.com>
OMAP4: Tuna: Regulator: enable full constraints

As of now, the unused regulators are not getting disabled. Only those
regulators are disabled which are properly handled by drivers.

Calling regulator_has_full_constraints() will cause the regulator core
to disable all regulators whose use count is zero and except those
regulators which are configured as always_on=true, specified during
registration.

Change-Id: I788ec363fb89fb699adb43647cad53342aa743fb
Signed-off-by: Ambresh K <ambresh@ti.com>
Signed-off-by: Girish S Ghongdemath <girishsg@ti.com>
ARM: omap4: tuna: HSPA sample 4 reports itself as rev3 not rev4.

Change-Id: I5a02666aa8300cacd2c116c68507fe41092d4943
Signed-off-by: Arve Hjønnevåg <arve@android.com>
modem_if: usb_link: Use level-triggered IRQs

* Use level-triggered irqs as it is required to wake up from suspend
* Only request the irq when the modem is enumerated in normal mode, it
  is not needed otherwise.

Change-Id: Ie58d9a67aa34fad15287299f37b50bbf0a9b20c7
Signed-off-by: Benoit Goby <benoit@android.com>
misc: inv_mpu: add interface to get offset regs.

yamaha compass has internal offset register we need to persist. This change
allows access to those registers.

Change-Id: I93034b3a478bfddfc8b71d9cb95e6d7d565838b1
Signed-off-by: Kevin Powell <kpowell@invensense.com>
OMAP: DSS: panel-s6e8aa0: Speed up brightness update

Use dsi_vc_dcs_write_nosync when writing gamma registers since
the folowing write to 0xF7 will block anyway.

Change-Id: I45b81fe1b1c1666faf36350a220f5037a66f3ec0
Signed-off-by: Arve Hjønnevåg <arve@android.com>
ARM: omap4: tuna: CLK32KG is used by GPS, leave it on

Change-Id: Id5cbdb6c2be697f06d6f861ffbaf4c67080563ac
Signed-off-by: Colin Cross <ccross@android.com>
Merge branch 'android-omap-3.0' into android-omap-tuna-3.0
OMAP4: Tuna: Single step ramp for twl6040 earphone

Use a single step ramp for twl6040 earphone output. This strategy
gives better results in term of pop noise reduction.

Change-Id: Ib4902dae657fcaa69be86d55d24cc611b1f30086
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
ARM: omap4: tuna: Set  LTE_HOST_WAKEUP GPIO  to wakeup source GPIO.

 * In AP deep sleep mode, LTE should wake up AP by using LTE_HOST_WAKEUP.
 * Set  LTE_HOST_WAKEUP(OMAP_GPIO_CMC2AP_INT2) GPIO by enabling OMAP_PIN_OFF_WAKEUPENABLE bit .

Change-Id: I64550021386d70c5dd23f6e15c974440644c2b48
Signed-off-by: dongjinseo <dejay.seo@samsung.com>
modem_if: usb_link: enable_irq_wake regarding LTE2AP wakeup

 * In AP deep sleep mode, LTE should wakeup AP by using
 irq_host_wakeup interrupt handler.
 * enable_irq_wake at probe.

Change-Id: Iae3b4e7ff7a2b93bdaee4a631a364a5138f5f668
Signed-off-by: dongjinseo <dejay.seo@samsung.com>
ARM: tuna: modems: Enable wakeup from cdma modem

Change-Id: Ic54cfd7f2bbaab0c15d017bc61d28ab30bb282ec
Signed-off-by: Benoit Goby <benoit@android.com>
OMAP: DSS: panel-s6e8aa0: Remove v0 and v255 gamma_adj_points

Change-Id: I22c4a39bfae421d933eae7b88e2bbedcc06b13d3
Signed-off-by: Arve Hjønnevåg <arve@android.com>
OMAP: DSS: panel-s6e8aa0: Add two stage gamma table

Replace color_mult with a brightness to modified-brightness table.
This allows use of more than one factory calibration point.

Change-Id: I3b91a598010bbfddbe8499c66d38407aa553a1a2
Signed-off-by: Arve Hjønnevåg <arve@android.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>
Merge branch 'android-omap-3.0' into android-omap-tuna-3.0

Conflicts:
	arch/arm/mach-omap2/opp4xxx_data.c

Change-Id: Id3f8e2584ace95c848ba24c29fde09a428c4d5ee
Revert "ARM: tuna: modems: Enable wakeup from cdma modem"

This reverts commit f856f9ce7dce8a14502a221acabc50f39b1e073b.

Change-Id: I0ed61e8ea80813c8cf9ee0ccc44764a9f95aa29d
Revert "modem_if: usb_link: enable_irq_wake regarding LTE2AP wakeup"

This reverts commit d5fb16fd47808207b7be36d2e9765ce5b0cf3f6b.

Change-Id: I84c23241fa9d32df708e76019ba0011dde250ef0
Revert "ARM: omap4: tuna: Set  LTE_HOST_WAKEUP GPIO  to wakeup source GPIO."

This reverts commit 22d1d31afb0cf54df5625c2aa3081b336ee0f174.

Change-Id: I4fdcb12bf9e8b0991221e138b8d233b583921f73