PP2S notification is required by the LTE stack.
Change-Id: I36694551c10019f0c92c80864829d52b8f395064
Acked-by: Perry Randise <prandise@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
When G-Link SMD XPRT detects the channel to be available, it opens the
SMD channel and then notifies channel open event to G-Link core. Sometimes
the open event notification to G-Link core happens after the data event
notification.
Move the open event notifcation into SMD_OPEN_EVENT processing.
Change-Id: I6efbb0a93abd221cc46e7e6a6efd12362030d1d0
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Return proper error code from debugfs read function of MHI
using the return value from simple_read_from_buffer().
Change-Id: If1ce624d83270dc15de849f03f6a6ad524f56902
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Nadine Toledano <nadinet@codeaurora.org>
UUC (unusable capacity) is applied when a charger is present
and battery is discharging. Change it to be applied only when
we are discharging.
In some cases, even with the charger present the discharge
current > charge current (battery is net discharging). In
this case, the SOC may not reach 0 at the cutoff voltage
(as the UUC reduction is not applied). This can cause the
battery voltage to go critically low causing a UVLO.
CRs-Fixed: 793706
Change-Id: Ibe21bdfeb82565816e4555d60b627c9f2adff099
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Currently, SPS driver holds IPA clocks for 1000 msec after IPA clocks are
no longer required. This is done in order to prevent frequent toggling of
IPA clocks. This long timeout may degrade power performance. Reducing the
tieout to 100 msec.
Change-Id: I1a6b169dd1214ffefe34abadee315ca4c64fc48a
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Currently the topology code computes cpu capacity and stores it in
the list along with hwid(which is MPIDR) as it parses the CPU nodes
in the device tree. This is required as it needs to be mapped to the
logical CPU later.
Since the CPU device nodes can be retrieved in the logical ordering
using DT/OF helpers, its possible to store cpu_capacity also in logical
ordering and avoid storing hwid for each entry.
This patch removes hwid by making use of of_get_cpu_node.
Change-Id: I9a55eca82bf51d09db51901ffecb39181e288d08
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Git-commit: 816a8de0017f16c32e747abc5367bf379515b20a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Introduce a new corner of super SVS which corresponds to 200MHz of MDP
clock.
Change-Id: I6e7865235fd748cc2da1f25c5ff176b35ad6c16a
Signed-off-by: Taniya Das <tdas@codeaurora.org>