Wait indefinitely for lpass or modem to be loaded instead of waiting
for a timeout of 5secs. The reason being downloading of images might
take long time.
CRs-fixed: 302002
Signed-off-by: Bharath Ramachandramurthy <bramacha@codeaurora.org>
under sys/kernel/debug/sdio_al_test directory there will be all files,
that by writing to them, the spesific test will be executed.
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
In order for the external modem to properly respond to
a panic, it must be out of low power mode. Ensure the
external modem is woken up before leaving the panic
handler.
CRs-Fixed: 303416
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Register handler for SMSM_RESET notifications and watchdog
interrupts from the DSPS. And add support for reset via
IOCTL from user-mode application.
Signed-off-by: Wentao Xu <wentaox@codeaurora.org>
Some of the code in the hotplug path is really specific to
the Krait v1 processor, not a specific SoC version. Replace
these checks with one that is more precise.
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
Watchdog bite interrupt is expected to be a level interrupt.
However when requested for this interrupt, Krait0 has trouble
in power collapse. APSS may be expecting an edge triggered
interrupt.
Acked-by: Sameer Thalappil <sameert@qca.qualcomm.com>
Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>
Drivers should now use their device names to distinguish between
clocks of the same type rather than the clock name. This allows
the clock names to be updated to match the new naming convention.
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
The support for battery temperature monitoring is added in the
8921 pmic charger driver. Add parameters in the board file to
configure it.
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Currently only single-tiered requests are forwarded over
gateways. This raises the priority of all masters on a
particular fabric which is undesired.
This patch enables forwarding multi-tiered requests
between fabrics.
Signed-off-by: Gagan Mac <gmac@codeaurora.org>
Drivers should now use their device names to distinguish between
clocks of the same type rather than the clock name.
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
Conflicts:
arch/arm/mach-msm/board-qrdc.c
arch/arm/mach-msm/board-qt8660.c
Currently drive strength of SDC1 DATA & CMD lines are set to 10mA
but sometimes we are seeing the DATA CRC errors when eMMC
(connected to SDC1 slot) is running in DDR mode. To avoid this
DATA CRC errors, this patch increases the drive strength of
DATA and CMD lines to 16mA.
CRs-Fixed: 300095
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Since smem_alloc2 has been exported it is needed that the
shared smem allocation table be protected by a spinlock.
Signed-off-by: Angshuman Sarkar <angshuman@codeaurora.org>
bank_masks are just one of the types of data that can be used for
the rcg_clk.set_rate() function. Make this field into a void
pointer to ease overloading of what the set_rate() function can
use.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Add the device declaration and initialization code for the
GSBI1 UART device on the APQ8064 RUMI3.
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Add MSM_RPC_UNINTERRUPTIBLE flag to rpc connect so
that when rpc call is awaiting for the reply it
does not get interrupted due to interruption of
pmic client thread.
CRs-Fixed: 300319
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
RPC client's callback function list is sometimes accessed from
atomic context. Hence use spinlocks to get exclusive access to the
list rather than mutex lock.
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Every RPC endpoint maintains a reference counter to represent the
number of entries consumed from the reply bucket. During modem reset
this counter is not reset and after few modem resets this counter reaches
the maximum count. Hence the RPC framework stops sending out the replies.
CRs-Fixed: 297292
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Fix issue where clients cannot call any functions that
lock the channel spinlock in the callback notifications
during a subsystem restart.
CRs-Fixed: 302014
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
Add a function to query whether the system is running on an
early sample of the Krait processor.
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Since socinfo.c is now built on all targets, it is safe to
uninline this function and move it into socinfo.c.
Something this big should not be inlined, anyway.
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Add a core infrastructure for transmitting idle stats to user
space for use by other devices in the system such as the GPU.
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
On 8960 and 8064 targets, the version of gic used supports
a total of 288 interrupts (16 SGI 16 PPI and 256 SPI).
Fix the NR_MSM_IRQS to reflect this increase.
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
set the correct size to the writeback buffer based on the
panel size to fix the hung issue.
Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
Drivers should now use their device names to distinguish between
clocks of the same type rather than the clock name.
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
WCD9310 has four micbiases and each of them can be programmed to get its
power source from one of 3 available cfilters. Each cfilter can be
programmed to different voltage levels. Essentially, on WCD9310, a user
can have up to three different voltage levels to power various analog
microphones and digital microphones. As it is now, micbias voltage level
of WCD9310 is left to default value. Micbias and cfilter mapping is managed
by codec driver. Different board design can have different micbias
arrangement. Micbias configuration of wcd9310 CODEC for 8960 CDP/MTP/FLUID
is properly defined in this patch.
Signed-off-by: Patrick Lai <plai@codeaurora.org>