toucscreen: cypress: fix trace message during initialization

Do gpio_request before working with gpio.
This fixes trace on startup:

[    3.024169] WARNING: at drivers/gpio/gpiolib.c:101 gpio_ensure_requested+0x58/0x114()
[    3.024169] autorequest GPIO-24
[    3.034332] Modules linked in:

Change-Id: If13075c81b18c4d10fd1460a6413f5e52845a4b5
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
Revert "Revert ducati 2.1.13 prerequisites: 6d2d426 and 1289289."

This reverts commit 15ff8652b93e43d0eb0a65a3f31d47b97dde6290.

Change-Id: I3a8468c8ebb22ea46aedc57bcb90a0b98f5bb5f8
Signed-off-by: Dmytro Kedrovskyi <x0169235@ti.com>
[Media:Radio] wl12xx: Fix for overflow while getting irq status

->dlen is 8 bit long and so while memcpy there is a chance
that fmdev->irq_info.flag will overflow.

So this patch removes memcpy and instead copies the 16bit flag
register value from skb->data to fmdev->irq_info.flag directly.

Change-Id: I37604b91b2777ed9e56a7e1c1ecefe32e9024170
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
[Media:Radio] WiLink: Add support for Russian Band

This patch adds support for russian band (frequency range
65.8 MHz to 74 MHz).

This frequency range comes under OIRT FM broadcast band which is
currently used by Russia,Belarus,Moldova and Ukraine.

User app has to write "2" to "/sys/class/video4linux/radio0/fmrx_band"
to switch to Russian/OIRT band.

Change-Id: I26ea5b54afab10eb1769e0b07421d0b98ca24eee
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
[Media:Radio] WiLink: Miscellaneous fixes for FM Receiver

This patch fixes below small issues with FM RX,
	1) Enables the support for FM Alternate Frequency
	2) Modifies Wrap_Seek such that seek will try for one time
	   and if it didn't get a good station within, then returns
	   the default frequency according to band.

Change-Id: Id9ca57451847617fade8959154f205cfff06faee
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
[Media:Radio] WiLink: Add support for complete scan

This patch adds support for complete scan feature.

To start/stop/read complete scan user has to write to
'/sys/class/video4linux/radio0/fmrx_comp_scan'

After complete scan read on /dev/radio will give the
scanned results

Change-Id: Ic02408cfbfcea3c10623da8f377a0224ce7b4c31
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
asix: asix_rx_fixup surgery to reduce skb truesizes

asix_rx_fixup() is complex, and does some unnecessary memory copies (at
least on x86 where NET_IP_ALIGN is 0)

Also, it tends to provide skbs with a big truesize (4096+256 with
MTU=1500) to upper stack, so incoming trafic consume a lot of memory and
I noticed early packet drops because we hit socket rcvbuf too fast.

Switch to a different strategy, using copybreak so that we provide nice
skbs to upper stack (including the NET_SKB_PAD to avoid future head
reallocations in some paths)

With this patch, I no longer see packets drops or tcp collapses on
various tcp workload with a AX88772 adapter.

Backported from opensource a9e0aca4b37885b5599e52211f098bd7f565e749

Change-Id: I203aee15c4d924610cc4a07ae87a653963eab45b
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Aurelien Jacobs <aurel@gnuage.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Trond Wuellner <trond@chromium.org>
Cc: Grant Grundler <grundler@chromium.org>
Cc: Paul Stewart <pstew@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
asix: remove extra memory allocation in asix_rx_fixup

asix_rx_fixup() does extra memory allocation, so incoming
traffic consume a lot of memory.

Switch to a different strategy: instead of creating new
skbs just modify existing.

Change-Id: Ia1b6101fafee7ee379c8d3181f4d6be7202ae9f5
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
net: usbnet: limit 'tx' and 'done' queue size

The dev->done queue size was not controlled
Thus under heavy load (usually UDP transfers)
if upper layer reads the data from this queue
slowly, it may be increased to fatal size, eating
all accessible memory.

Now the 'done' queue size is limited by RX_QLEN + TX_QLEN

Change-Id: Iaff012eef1b669b4a8d684ddbfb1bdd5335e1dc0
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
omap: rpres: add api to lookup max frequency for a remote device

A new public function, rpres_get_max_freq, is added to perform a
lookup for the maximum supported frequency from the OPP table for
a remote processor device.

This API can be used by the remote resource layer in sharing this
data to the remote processor application code for performing power
related policy decisions.

Change-Id: Idbea6884fa47b3bd1f000b6f696fbbcf7036a6ee
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Paul Hunt <hunt@ti.com>
Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
rpmsg: resmgr: add support for resource-data requests from rproc

Support has been added to the remote processor resource manager layer
to allow the remote processor to query for certain data associated
with a remote resource.

A request to query the maximum frequency for IVAHD and FDIF is
currently the only supported resource-data request. This information
is to be used to help the remote processor application code make power
and performance related policy decisions for different usecases.

Change-Id: I644a7603d3e493de4d5669e8994b9809e808e8a0
Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Paul Hunt <hunt@ti.com>
Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
omaplfb: Add omaplfb to the kernel tree

omaplfb has dependencies on several kernel components and it will
be easier to maintain it in the kernel tree.

Sync'd to DDK omaplfb patch:
omaplfb: Allocate a clear buffer with 8 pixel stride per GC requirement

Change-Id: I0c781007350fea724aa498f7f8d328db66f9d41c
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
blaze_defconfig: Add KPROBES and RELAY dynamic instrumentation

On top of SCHED_TRACER support these flags are required for
tooling purposes and should have no runtime impact until
enabled.

Change-Id: I64985cfc339c41d5bbb65f4773aea889ee49e4ee
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
blaze_defconfig: Enable SCHED_TRACER

The Galaxy Nexus JB production devices support the systracer.py
script which can be used to enable tracepoints in Android. This
needs the SCHED_TRACER config flag to be enable.

(Cribbed from the tuna defconfig in public kernel)
b129322 omap4: tuna: enable SCHED_TRACER in defconfig

Change-Id: I1a20095f7fe2ad3c047ff7067cd021032381141e
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
gcx: changed GC_THREAD_TIMEOUT value

GC_THREAD_TIMEOUT value was changed from 1000 to 20.
This change gives us nearly 60mA power saving.

Change-Id: If5a2e3af2e1771f25c1697424151a822312e91f5
Signed-off-by: Victor Kleinik <x0150886@ti.com>
OMAP4: Tablet: Set correct physical dimensions of HYDIS panel

Change-Id: I726af6ca36e2cb96f36e45f22e6e0c828a5b5b00
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Merge "toucscreen: cypress: fix trace message during initialization" into p-android-omap-3.0
Merged current p-android-omap-3.0 into the branch
Merge branch 'master' of github.com:Quallenauge/kernel-archosg9

* 'master' of github.com:Quallenauge/kernel-archosg9:
  Update README.md
  Update README.md