Slimbus is used as audio transport for Bluetooth & FM between sdm660 &
wcn3990. Add device tree entry for wcn3990 slimbus slave device in sdm660.
Change-Id: I0766cfac9329e7d088e6997e20a27d902aca9f29
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
Enable G-Link SPI Transport driver to enable off-chip communication
over SPI bus in 32 bit architecture.
CRs-Fixed: 1106989
Change-Id: I8826b1383811a03d91547414a5f6766aafa091d6
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
The FUSE file system may hold references to pages for long
periods of time, preventing migration from occurring. If a CMA
page is used here, CMA allocations may fail. Work around this
by swapping out a CMA page for a non-CMA page when working with
the FUSE file system.
Change-Id: Id763ea833ee125c8732ae3759ec9e20d94aa8424
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Allow creating user process on remote processor with attributes
to be used during process creation for debugging purposes.
Change-Id: I63081f8ed44bd8e86392d82018ce4e632284c6ed
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
Update subsystem name for slpi to ensure that the subsystem restart
notification is registered with the correct subsystem.
Change-Id: Ie4f409d6d63cd164323a2e58805b8154322518d1
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
Add parents to div_clk1 and ln_bbclk. And register
both the clocks independently.
Change-Id: Ic0435ebad533879e3e0648775956c91cc680644d
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
Update gpio settings as per HW VI audio
values. Also move common settings of external
and internal codecs to new files.
Change-Id: I0d3e0878972038a7876a063648156126b2a7cee4
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Enable the signal and message RX IRQs for wakeup. This allows
the system to be woken from suspend when the PD PHY receives
an incoming hard reset or SOP* message from a connected peer.
Change-Id: Ib6f4507ef363954c91271029874337497659da84
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Colocation in HMP includes a tunable that turns on or off the feature
globally across all colocation groups. Supporting this tunable correctly
would result in complexity that would outweigh any foreseeable benefits.
For example, disabling the feature globally would involve deleting all
colocation groups one by one while ensuring no placement decisions are
made during the process.
Remove the tunable. Adding or removing a task from a colocation group is
still possible and so we're not losing functionality.
Change-Id: I4cb8bcdbee98d3bdd168baacbac345eca9ea8879
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
There are certain conditions under which group_will_fit() may return 0 for
all clusters in the system, especially under changing thermal conditions.
This may result in crashes such as this one:
CPU 0 | CPU 1
====================================================================
select_best_cpu() |
-> env.rtg = rtgA |
rtgA.pref_cluster=C_big |
| set_pref_cluster() for rtgA
| -> best_cluster()
| C_little doesn't fit
|
| IRQ: thermal mitigation
| C_big capacity now less
| than C_little capacity
|
| -> best_cluster() continues
| C_big doesn't fit
| set_pref_cluster() sets
| rtgA.pref_cluster = NULL
|
select_least_power_cluster() |
-> cluster_first_cpu() |
-> BUG() |
To add lock protection around accesses to the group's preferred cluster
would be expensive and defeat the point of the usage of RCU to protect
access to the related_thread_group structure. Therefore, ensure that
best_cluster() can never return NULL. In the worst case, we'll select the
wrong cluster for a related_thread_group's demand, but this should be
fixed in the next tick or wakeup etc. Locking would have still led to the
momentary wrong decision with the additional expense!
Also, don't set preferred cluster to NULL when colocation is disabled.
Change-Id: Id3f514b149add9b3ed33d104fa6a9bd57bec27e2
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
SDM660 and SDM630 support wifi offload. So, enable it.
Change-Id: I82a509b8f8b07b0537f050a62c4b605ac6806837
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
We need to move panel settings from sdm660-qrd.dtsi to
sdm660-qrd.dts to separate LCD & AMOLED panel as they use
sdm660-qrd.dtsi for some common settings for sdm660 QRD.
Change-Id: I447f70c4953e5ba0ee30bb76fa08a5f640360d9c
Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
Conversion of a 64 bit int variable to void pointer is illegal
operation when compiling for 32 bit architecture.
Added explicit conversion to uintprt_t, so that 32 bit conversion
can be done.
CRs-Fixed: 1107920
Change-Id: I3854fcb460308c9a77a17198dcb604dd4da135ac
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>