GFX LDO regulator driver powers GPU subsystem in msmfalcon. This
LDO regulator is CPR managed. Enable GFX LDO regulator and platform
specific MMSS CPR regulator to be compiled for msmfalcon.
CRs-Fixed: 1068294
Change-Id: I2111fe55c9335d57ac91f18f4a4fb3689d80660d
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
The MMSS CPR in msmfalcon requires a slightly different configuration
than the existing cpr3 based MMSS CPR instances. Create a new platform
specific mmss cpr file for capturing the falcon specific configuration.
CRs-Fixed: 1068294
Change-Id: I779074d0aba35827e1a8264385149967cb9973f3
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
MSMFALCON platform can support either PM2FALCON or PM3FALCON PMICs,
add support for the same.
CRs-Fixed: 1104886
Change-Id: Ic44359e224e0f9070238748bd9b16eed35974ba6
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
The commit b093be62e8 ("ARM: dts: msm: set
rcu_expedited for msm chisets") enables rcu_expedited
to mitigate performance issues. Enable this for msmfalcon
and msmtriton as well.
Change-Id: Ic64d89b960c5effada93118d67a30cc051640be2
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Make change to support listener service request from mink object.
Change-Id: I9a707d953a85c16c9c5be82fd36960b49da36e3c
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Add a new kernel API to support listener service for smcinvoke.
Change-Id: Ifeed957b99d2becd986629f60e145d6fdb717244
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Add SOC_REPORTING_READY property which indicates when the SOC
reporting is ready from FG driver. This can be read by healthd
daemon during its start.
Change-Id: I415e322e99bacd61c4e9ac921643d87d3eec4b3e
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add SOC_REORTING_READY property to indicate if the SOC is ready
to be reported.
Change-Id: I53ac153ba9f7ae81bb0657b17e0e798fd3fe4f48
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
In FIFO mode before putting the core in run state the driver currently
only writes a word of data if the payload size is more than the FIFO
size.
Instead always write FIFO worth of data before moving the core to
run state.
Change-Id: I47db9f66c95846dbff882f631b915655c33c3d55
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Currently we sample power stats at the expiry of
cmdbatch. In cases where cmdbatch takes a long time
to finish the job, it delays power stats sampling,
in effect it delays DCVS decision for changing the
frequency. Do a midframe power stats sampling and
feed it to DCVS if it is enabled.
Change-Id: I547d792b38649aa1d60525b0dc335791b37989fd
Signed-off-by: Prakash Kamliya <pkamliya@codeaurora.org>
Add mdss node for msmfalcon target which is used by
display driver.
Change-Id: I49efddea0228e3129d36eabc102d6df0fcd53d12
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
Add the msmfalcon compatible string to MDSS PLL driver dt
table list so that MDSS PLL driver initialization takes place
for msmflacon platform.
Change-Id: I806456737485dfcbca8a71d59db0927bbd843708
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Abort any read() operation to unlock the channel mutex.
On channel remote-disconnect notification, the local side should close
the channel.
However, open()/close()/read()/write() operations locks the channel mutex.
The glink rx-abort notification happens only after the remote-disconnect
notification, not as originally expected.
Change-Id: I77f8e6de6f1b5c447a3516380c51db9c7129d2f3
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
qcrndis_free_inst function can double free f_qc_rndis pointer.
Hence fix this memory bug in qcrndis_free_inst function.
Same bool RNDIS flag is used for USB_CONFIGFS_RNDIS and
USB_CONFIGFS_QCRNDIS. Add bool Change in Kconfig to differentiate
these two different configs.
Change-Id: I8e7c4be090107618cd6cbac394a57f109f8a1ced
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
This patch enables allocation of 5MB for new diag client
of memshare.
CRs-Fixed: 1100632
Change-Id: Iab69062336966e61683117a17974f46cd8f513aa
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
During system wakeup from suspend by connecting USB cable,
runtime PM framework transitions from enabled to disabled
state during i2c transaction. This causes asymmetric increment
and decrement of device's usage counter which blocks runtime
PM suspend callback.
To avoid this, remove rumtime PM status check on suspend path
to make it symmetric with the resume path. This takes care
of unaccounted increment/decrement of device's usage counter.
Change-Id: I47cfe2cd7d93ba5db57365cf250c600dac22bab1
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
Configure the button under the display panel as
a home key for QRD8998HB.
CRs-Fixed: 1103939
Change-Id: I03e4a8e10452ef53d8e35e7cee44bdf51f53483b
Signed-off-by: Jin Fu <jinf@codeaurora.org>
Only RmNet and DPL need to update their IPA pipes
during ipa_data_connect_work context. Add this check
before updation of the pipes.
Also fix usage of spinlock to avoid potential
device crash.
Change-Id: I45d13b40fab9bf6686277c0c26a07668410cdfb2
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
The commit 04a0136aeea5 ("clk: introduce CLK_ENABLE_HAND_OFF flag")
assumes that the first time clock client calls a clk_prepare &
clk_enable, the clocks from that point of time could be on their own.
But there could be use cases which could have impacts due to this
handling. Moving the handoff counts for prepare and enable at unused
tree level.
Change-Id: I7d527571c2eb4d53d58d82126989bd673de12e2d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Some clocks are critical to system operation (e.g. cpu, memory, etc) and
should not be gated until a driver that knows best claims such a clock
and expressly gates that clock through the normal clk.h api.
The typical way to handle this is for the clk driver or some other early
code to call clk_prepare_enable on this important clock as soon as it is
registered and before the clk_disable_unused garbage collector kicks in.
This patch introduces a formal way to handle this scenario that is
provided by the clk framework. Clk driver authors can set the
CLK_ENABLE_HAND_OFF flag in their clk data, which will cause the clk to
be enabled in clk_register(). Then when the first clk consumer driver
comes along and calls clk_get() & clk_prepare_enable(), the reference
counts taken during clk registration are transfered (or handed off) to
the clk consumer.
At this point handling the clk is the same as any other clock which as
not set the new CLK_ENABLE_HAND_OFF flag. In fact no changes to any
clock consumer driver are needed for this to work.
Change-Id: Ib5247f6bceb1f555c03103f061af089755b2de62
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Patch-mainline: patchwork.kernel.org @ 02/11/16, 9:19
Signed-off-by: Taniya Das <tdas@codeaurora.org>