Some Windows hosts are not dropping DTR during suspend, but are
setting DTR as part of resume. Hence, send DTR set to zero to
the Modem when the rmnet interface is suspended.
Change-Id: I9137021e2c4074c71e9142e7dbac2042311b3c4d
Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
Switch control of most regulators from the pm8xxx-regulator
driver to the rpm-regulator driver. pm8xxx-regulator will still
be used for LDOs 16, 19, and 27 because these are not handled by
the RPM.
Change-Id: Ibd95efc6280a62fefb704e98360eb56aba8aa116
Signed-off-by: David Collins <collinsd@codeaurora.org>
MSM8930 boards utilize the new PMIC PM8038. Add a new
rpm-regulator data file which defines all of the regulators
available via the RPM for MSM8930 boards.
The regulator definitions describe both the physical properties of
the regulators and the RPM interface format used for each type of
regulator.
Change-Id: If4bdbaf3f6d22b905bf7334d681410fcddff9b7b
Signed-off-by: David Collins <collinsd@codeaurora.org>
This reverts a87d51a96c
Patch causes increase in power consumption while playing a video.
CRs-fixed: 331854
Change-Id: Ic21f109ac730167539a78647d51a8051d5c9948f
Signed-off-by: Anoop Kumar Yerukala <ayeruk@codeaurora.org>
Update camera clocks csi_pclk, csi_vfe_clk,
csi_clk, vfe_clk to support V4L2 architecture for
camera.
Change-Id: I7bc58202f4b2709224897c345aedb5736426ea8a
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
Update camera board file to support V4L2 architecture
for camera.
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
Change-Id: I7b8c112969fc4b629556e8ed80fdb31d182d4530
In V4L2 camera architecture all camera supported blocks
are added as platform devices. To support V4L2 camera
architecture, convert CSIC, VFE as platform devices
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
Change-Id: I95fbb273f1af31a2597e444be21bd69ac9a64034
Add is_vpe, is_csiphy, is_csid and is_ispif flags for
8960 and 8930 camera. These flags are used to execute
the code based on the subsystems supported by camera
for a particular target.
Change-Id: I3ca0e51aac7d8b221e6784290149c19767c64673
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
When onlining, the onlined pages must be added to the kernel's
list of free pages using __free_page(). However, pages are not
immediately added but placed in a queue to be processed
when the queue size reaches a watermark. The last pages in
the queue may not be processed in time, and if you try to
offline that memory before it is processed, offlining will
always fail.
This fix calls drain_all_pages(), which will process every
free page in the queue. This ensures that all pages are
accounted for when onlining and nothing gets stuck in the queue.
Change-Id: I54dbc0749556702407090e51ce9246abc5db7d1c
Signed-off-by: Jack Cheung <jackc@codeaurora.org>
Add EAGAIN return code if SMD port has been allocated, but
is currently pending a remote close. This allows the client
to differentiate between ENODEV (port doesn't exist)
and EAGAIN (port not ready to be opened).
Change-Id: I798f29d2d9793b361965c135c4b41c3b7ff945e0
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
Increase the initial pagetables created to 24 for 8660
and 8960. Testing shows that there can be about 20
processes using graphics at a time. When this happens
memory utilization will be great enough that an
attempt to allocate more coherent memory will fail.
This will cost an additional 2MB of coherent memory,
bringing the total usage for KGSL to 6MB.
CRs-Fixed: 331629
Change-Id: Ib9f7fe9c0cc0194ebbf5dfc69196e7cad7a44b11
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
Current RDS RT Buffer is not sufficient to accommodate the
RT header and data. Increase the RDS Radio text buffer size to
accomidate the RT header and data.
Change-Id: I742dad912bbe6e360ffeda09f80117d47822fdc5
CRs-Fixed: 328036
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Add the IOCTL's to get the signal detection parameters like
SINR, SINR samples, Low detection threshold and high
detection threshold
Change-Id: I0b8f8d978bd25990098b20073fd664e649af3b49
CRs-Fixed: 322688
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Move enumeration into uint arrays that can be chosen based on
the device file configuration.
rpm.h will have a superset of all enumeration for all targets.
The device file configuration will map the enumeration defined
in rpm.h to the target specific enumeration defined in rpm-XXXX.h.
Device drivers that need to communicate with RPM will continue to
use the enumeration defined in rpm.h and the RPM driver will translate
the generic enumeration to a device specific enumeration before sending
the RPM message to the RPM processor.
Also refactor SPM and MPM data for the supported targets.
Add RPM, SPM, LPM and MPM driver support for APQ8064 and MSM8930 targets.
Supported targets: 8660, 8960, 9615, 8930, 8064
Change-Id: I0d4ed7634cb221c124bc59a946932f7ac557ef58
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
Introduce an enum for the max memory type supported by kgsl. This is
used by kgsl_test to pass the correct parameters to kgsl.
CRs-fixed: 331563
Change-Id: I9d9ab813148234ff23da557b92f24e9f71a7cab8
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
Keeping CMD and DATA lines pull configuration to PULL UP will
make sure that there is no leakage current during sleep if
external pull up is connected to any of these lines.
CRs-fixed: 332254
Change-Id: I99571f5cac10ead6e5744a8d5deb7bad4f7a8a3b
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Upper layers are not acquiring the locks properly, hence wakelock release
timeout is increased to 500 ms. This logic and value is derived from
the implementation for UART transport.
CRs-fixed: 325550
Change-Id: I15c39705e63ebb1fb4ccac3c42d72f0cc1e32929
Signed-off-by: Mallikarjuna GB <gbmalli@codeaurora.org>
This reverts commit 3aa5d76f82, which
removed overhead of page poisoning as performance and power measurement
began to gain importance. Now that msm8960-perf_defconfig is in place
and is in fact the default boot img for msm8960 Android kernel it is
safe to again enable the useful memory corruption detection features
of SLUB debug. Several developers mentioned how helpful the detection
was for them.
Change-Id: I9f962a7062b9b5d190cfa9aae616202979e0215d
Signed-off-by: Jin Hong <jinh@codeaurora.org>
Do the following to enable the acpuclock driver
on the 8064:
1. Add new regulator consumer entries for krait2
and krait3.
2. Remove cpu_is_* calls thus enabling bus and
voltage scaling calls on the 8064.
3. Remove the stub in the cpufreq driver that
prevents it from initializing on the 8064.
4. Add a call to the acpuclock init function in
the 8064 board file, after the bus driver's
init call.
Change-Id: I4f47f51241826b4056b40b012e964a9527db58f5
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
* changes:
msm: board-8064: Add ION heap for Audio
msm: board-8064: Add new heap for qse comm
msm: board-8064: Add support for adjacent heaps
msm: board-8064: Handle unstable section overflow
msm: board-8064: Fix overflow in memory calc.