Upon wakeup source detection, modem bring's the core0 out of
reset. The recomendation for core0 in 8x25 is to put the core1
into GDFS till hotplug sw brings it online.
Since core1 is not yet enabled, program the top CSR from core0
context and drive the SPM1 to put the core1 in to GDFS. Once
core1 is put into GDFS disable the top csr and enable the SPM1
control for core1.
Enable the scu as well while coming out of power collapse which
facilitates the coherency between shared data across the cores.
change-Id: Iee35908d55c9a630da6bf2509a66a3c7f870fece
Signed-off-by: Anji jonnala <anjir@codeaurora.org>
* changes:
regulator: map consumer regulator based on device tree
regulator: pass additional of_node to regulator_register()
regulator: adapt fixed regulator driver to dt
regulator: helper routine to extract regulator_init_data
regulator: Constify constraints name
regulator: Properly register dummy regulator driver
dt: add empty dt helpers for non-dt build
copper: regulator-stub: Add devices for Krait Power Control
If the loop_change interrupt handler directly invokes the
unplug_check_worker which uses msleep causing a bug.
Fix this by scheduling the work directly rather than invoking
the work function.
Change-Id: Id1ce75eddc1b7f09b7476af12b68ec8ae8ff1f24
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
mmc_select_powerclass() function returns error if eMMC
VDD level supported by host is between 2.7v to 3.2v.
According to eMMC specification, valid voltage for high
voltage cards is 2.7v to 3.6v. This patch ensures that
2.7v to 3.6v VDD range is treated as valid range.
Also, failure to set the power class shouldn't be treated
as fatal error because even if setting the power class
fails, card can still work in default power class.
If mmc_select_powerclass() returns error, just print
the warning message and go ahead with rest of the card
initialization.
Change-Id: I3371458d852a05518b966041775fff59c04d255c
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
To avoid underruns for larger primary display resolutions,
set max MDP clock/bandwidths for dynamic boot parameter
cases with HDMI as primary and WUXGA panels
Change-Id: I1e020de0cbd4082edd26d4b03ebee4d4b976c26a
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Fix sending alert from the proximity client when the
received RSSI of the remote device equals the threshold
set on the client.
CRs-fixed: 344936
Change-Id: I598d7d66b492cb76754280d657b6e6d55dd0903b
Signed-off-by: Archana Ramachandran <archanar@codeaurora.org>
For continuous splash support to work properly, attach the MDP IOMMU
device at a later point during boot to allow display use the
splash image from bootloader
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Change-Id: Ife9a2afae1e9b9140ee74af0cc7dcf7ad945d4de
Commmand Descriptor, Pipe Lock, Notify-When-Done(NWD) and Immediate
Commmand Descriptor are enabled in NDP-BAM and BAM-Lite. Add the
support in SPS driver for these new features.
Change-Id: I0ec9efe0bd801345aa416270739a52d7d6c5e01c
Signed-off-by: Yan He <yanhe@codeaurora.org>
After migration from pmem to ion, we need to
reduce EBI1 memory for audio usecase and make a
corresponding increase the ION heap size.
Change-Id: I0f72549e26b643453b969a6e56e44c7cf6d61548
Signed-off-by: Bharath Ramachandramurthy <bramacha@codeaurora.org>
Updated the default output buffer requirement to
match worst case requirements. With this change
reconfig will trigger only if the actual buffer
requirement is less than the estimated requirement.
Change-Id: I754a31b9a346f87e5946cad252ba1ea86530dd9e
CRs-fixed: 343812
Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
For MIPI DSI command mode panels, clock enable for DSI clocks
is called more than needed. Fix the reference count for these
clocks to turn off the clocks during suspend state.
Change-Id: Ife061eec6af9f5fb106bfaf608e222fabec1e9dc
CRs-fixed: 339125
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
Device Tree support is added for Qualcomm SLIMBUS controller and
documentation is provided for required and optional device node
properties.
Change-Id: Ic81e853431c413b06296470609ce55d0692e870b
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
Slave devices can be added by listing them as child of a SLIMBUS
controller of_node in the Device Tree.
It is required to specify elemental address, and name of the slave
device.
Change-Id: Ie1b2f8fe58988f0237547a84f1bbb14ce4733eff
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
The ion_phys API is being deprecated. Instead there
is a new set of API that does the same thing as ion_phys
if the system has no IOMMU enabled. Otherwise, it
returns an IOMMU device virtual address.
Change-Id: I1f01d33cbc6d236d28c9193a90e48377b9fb35cc
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
Currently, show_regs calls __backtrace which does
nothing if CONFIG_FRAME_POINTER is not set. Switch to
dump_stack which handles both CONFIG_FRAME_POINTER and
CONFIG_ARM_UNWIND correctly.
__backtrace is now superseded by dump_stack in general
and show_regs was the last caller so remove __backtrace
as well.
Change-Id: I396677df8bc22bf28e4486f2bfb155c516a3d452
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This function fixes few possible buffer overflow
conditions in find_most_appropriate_phase()
function.
Change-Id: Icc17469a3850aa8531a6ef176bacc83fa2c50159
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Reduce LPA buffer size based on PMEM(MSM_PMEM_AUDIO_SIZE)
available for userspace audio.
Change-Id: Ia6001348f6044cbdb920e482f8b9c07178a3fcd4
Signed-off-by: Sidipotu Ashok <sashok@codeaurora.org>
Configure BT_RESET_EN GPIOs for QRD7 so that bt is enabled.
Change-Id: Id1837f9564cd4f2b9beba3fb910987d77a33a0ef
Signed-off-by: Aparna Mallavarapu <aparnam@codeaurora.org>
This reverts commit 0039568714ab91b2e037ea84366231522ee7ca07.
Reverting this commit due to the following reasons
1. Throughputs numbers on the DUN interface has degraded with this change
2. Data stall issue that was fixed with this change is occuring only on
agilent setup and not reproducible on BOA setup.
3. Issue 1 is identified as critical than Issue 2.
Conflicts:
drivers/usb/gadget/msm72k_udc.c
CRs-Fixed: 334938
Change-Id: I1cc745a3bebe6f6b97b170138b4643db50b7e516
Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
Add support for ft5x06 touch controller on QRD7 platform.
Change-Id: Ifd0a2206ba02fd2c8b90cb8c1c7aebd7688033d7
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Firmware reports minimum/maximum coordinates when touches are
from outside of active area. Generate a release event in this
case to handle touches that are going to inactive area. Add
pdata entries for minimum values and check before reporting
the coordinates to userspace.
CRs-fixed: 326858
Change-Id: I385fb80eb670e539b45d232c04969c4502cdf65a
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>