OMAP44xx: i723 fix. Reconfigure ABE DPLL on early kernel init

Avoid crashes during warm reboot due to DPLL ABE not relocking.
Currently the errata is documented as effective for OMAP4430 only,
but the issue is reproducible on 4460 and 4470 as well.
The fix affects OMAPS00285348 and OMAPS00285422.

Change-Id: I3cdb9ca273bacbc62bf400a70f60572cdf878d78
Signed-off-by: Andrii Anisov <andrii.anisov@ti.com>
ARM: OMAP4470: VC: update voltage levels for operating modes

Update retention voltage from:
Operating Conditions Data Manual Addendum
Revision 0.7 (October 2012).

Change-Id: Ia22ee35bf1f6d1e50c4f1d661a4e103d10fc3eda
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
HID: add user-space I/O driver support for HID from android-3.0 tree

This driver (apparently upstreamed and then backported to the
android-3.0 branch) is needed for Bluetooth HID support with the new BT
userland stack introduced in Android 4.2.  (Thanks to XDA user Deegan87
for noticing that BT HID support broke.)

This patch combines the following commits from the android-3.0 branch:

4409981 HID: uhid: introduce user-space I/O driver support for HID
ef5006b HID: uhid: add internal message buffer
191b032 HID: uhid: allow poll()'ing on uhid devices
b8dd3d9 HID: uhid: implement read() on uhid devices
d3444a8 HID: uhid: implement write() on uhid devices
6b1a4c7 HID: uhid: add UHID_CREATE and UHID_DESTROY events
e0ad830 HID: uhid: allow feeding input data into uhid devices
6645460 HID: uhid: forward hid report-descriptor to hid core
245fd8c HID: uhid: add UHID_START and UHID_STOP events
e458139 HID: uhid: forward open/close events to user-space
bd46634 HID: uhid: forward output request to user-space
715ee7c HID: uhid: forward raw output reports to user-space
c12e46f HID: uhid: implement feature requests
bd76675 HID: uhid: add documentation
db58898 HID: uhid: silence gcc warning
d4bad8b HID: uhid: Fix sending events with invalid data
ARM: OMAP4470: VP: set recommended VP registers settings

Operating Conditions Data Manual Addendum
Revision 0.7 (October 2012).

Set recommended register settings in voltage processor.

Change-Id: I38e7d0e51247ed6027274cd1d6a14d616778d020
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
OMAPDSS: DSS: corrected disabling workaround of WB.

This change fixes the disconnecting of pipes from a manager,
which was connected to WB in m2m mode. Now WB workaround
disconnects all the pipes which was connected to WB.

Was the usecase when vid2 and vid3 was connected to WB,
next frame was with vid2 only (vid3 - off) and 3rd frame
was request to disable WB. WB workaround was called only
for vid2. When HWC switches vid3 to another manager -
SyncLost issue was happening.

Change-Id: I0e95e173d3406f88c1c6b65ff6aabbfa1c113e74
Signed-off-by: Artem Rudenko <artemrudenko@ti.com>
Signed-off-by: Sergiy Kibrik <sergiy.kibrik@globallogic.com>
OMAP4: DPLL cascading: memory leak fixing

Memory leak fixing in DPLL cascading blocker release.

Change-Id: I70d7a2ae75f6c847e74b8555870a0f7a2c08cf59
Signed-off-by: Volodymyr Mieshkov <volodymyr.mieshkov@ti.com>
fix a bug constraint scale and bandwidth (IVA)

This issue reproduced on next steps:
1. Start AV playback
2. Perform Suspend/Resume

Actual Result:
"error setting constraint scale" and "error bandwidth constraint" errors occur (logs are attached).

This issue to arises in next situation:
1. vidio is playing.
2. call function early_suspend (push suspend button)
handler function for abe_early_suspend entered in the dpll_cascading,
all condition are met for entrance to dpll_cascading is:
 system is in early suspend (screen is off)
 single stream is active and is LP (ping-pong)
 OPP is 50 or less (DL1 path only)
3. vidio stops (do not exit from the dpll_cascading )
4. invokes function rpres_set_constraints:
 call omap_device_scale which returns EBUSY, if dpll_cascading has status enabled.
5. print errors

 drivers/remoteproc/rpres.c |    4 ++++
 1 file changed, 4 insertions(+)

Change-Id: I9c3afbde8d4ed0ac6fe77d04d1eee6f1ca44da4a
Signed-off-by: Artur Polivenko <x0199365@ti.com>
B&N mmc recover changes

This should help a bit with sdcards being flakey, but in reality does not seem
to help all that much
 Add B&N recovery quirk for Sandisg Ultra 16G cards too

This seems to be helping quite a bit with their stability.
Reduce android logger reserved memory
Superboost NookTablet
Nook Tablet at 1.2Ghz
smartreflex: add an nvalue override setting which is used when efuse is missing voltage values (overclock)

Change-Id: Ifa2a18976c74a34b13ec4fff3a2902b16437a854
opp: add 4430 nvalue override for 1.2ghz (when missing)

Change-Id: I37d9d33d2e60a28b928e5075c9b8b9ebe20e93c5
Re-merge kernel/common up to v3.0.50
Add bypass Sleep command transmission to Hynix and Samsung mmc
fix merge derp

Conflicts:
	include/video/omapdss.h
trace/events: add gpu trace events

Change-Id: I0607b9c776acf61cb796b8572cf8cfb8b2dc1377
Signed-off-by: Jamie Gennis <jgennis@google.com>
trace/events: fix gpu event timestamp formatting

This change fixes the how the gpu_sched_switch timestamp field is formatted.

Signed-off-by: Jamie Gennis <jgennis@google.com>
Change-Id: I273234935254ed15772c9e561c9af20e480004ae
ARM: Allow SoCs to enable scatterlist chaining

Allow SoCs to enable the scatterlist chaining support, which allows
scatterlist tables to be broken up into smaller allocations.

As support for this feature depends on the implementation details of
the users of the scatterlists, we can't enable this globally without
auditing all the users, which is a very big task.  Instead, let SoCs
progressively switch over to using this.

SoC drivers using scatterlists and SoC DMA implementations need
auditing before this option can be enabled for the SoC.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>