Currently L1 suspend is disabled. Superspeed capable
device needs to support L1 suspend in HS/FS/LS mode.
Also, add module parameter to disable L1 suspend in
High speed mode.
Change-Id: Ie8e7f3949d276325305799640f2775343bd6b9da
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Client Driven Prefetch is enabled by Default in HW
and SW whereas the recommended configuration is to
disable this feature.
This change makes sure that driver disables this
feature in msmcobalt and only enables the feature
for targets that need to keep it enabled.
Change-Id: I34c4feb0297838889cc2505eb3e08516165c5f2f
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Add DAI nodes for MI2S and AUX PCM interfaces so the MI2S and
AUX PCM DAIs are available to audio CUP dai driver.
CRs-Fixed: 1047362 1047365
Change-Id: Ice01d5a829b6637c24822943ab393fb0809895cd
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
Reset the clock mux when cable is disconnected and suspended
to avoid leakage on vdd rail. Also, add missing clock reset
when usb cable connect is notified.
Change-Id: If5485379934a222f19f5dd20b8d4f44769470e8d
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
For some use cases, the calculation of the ib
bandwidth prevails over the ab bandwidth. For
such use cases, we must consider the ib as well
as the ab before reducing/increasing the vote,
so the correct sequence to apply the bw vote
is executed along with the HW changes.
Current driver only considers the ab bw and
misses to consider the ib bw during the decision
of when to apply the bw vote.
This change includes ib into the consideration of
when to apply the bw vote.
CRs-Fixed: 1057105
Change-Id: I0822f2e60c4ac22b1636d1d5988ba322dafcdb49
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Add support of configuring QMI timeout through module parameter.
It is easier to debug QMI issue without crashing the system.
CRs-Fixed: 1067885
Change-Id: Iaa0a2df686c88e9aecb308f5749493187c07a38a
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
API for clock reset is moving to use the reset framework.
To comply with this change, PCIe reset clocks need to be
updated in its devicetree node for MSM8996 and msmcobalt.
Change-Id: I92d6e80898f63700f040f43d133fe461ff458937
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Signed-off-by: Tony Truong <truong@codeaurora.org>
The current api which performs the clock reset is moved
to use the reset framework, so support the changes in PCIe
driver for the same. The reset framework requires to get
reset handle and perform assert/deassert of the resets.
Change-Id: I1ca8bb386673f0db020554659f69c71b540e3dcc
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Signed-off-by: Tony Truong <truong@codeaurora.org>
Currently, on modem subsystem restart the area allocated from
HLOS to modem at runtime is not captured as part of the ramdump
collection.This patch creates separate elf files for all the
clients which are using memshare feature for memory allocation
which are later used to load as dumps.
CRs-Fixed: 1058744
Change-Id: I66436b7c2d9e02658cfc4c195ca78852b09c01f7
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Add sound node entry for msmcobalt qrd skuk to enable audio
components like wsa, earpiece and microphones.
CRs-Fixed: 1062729
Change-Id: I40166e423618f5e78093b22efb5ab5def517a051
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Remove new-line char (\n) when showing attribute.
User space app is expecting "test" or "prod" string,
without the new-line char.
Change-Id: Id44e63dab2fe68398c7b5ecdc423598ad4a27faa
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Add support for new QMI IDL in IPA driver for new message
QMI_IPA_INSTALL_FILTER_RULE_EX_REQ_V01 which allows to send
at most 128 rules.
Change-Id: I886e40f597169939ce4598863fd80145743d8db7
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
It is recommended to use NUM_OF_TRB greater than USB controller's
TRB cache size. Currently USB controller's TRB cache size on GSI
available platform is 12. TRB ring base address must be aligned to
TRB ring length rounded to power of two. Hence set NUM_OF_TRB as
15 for both IN and OUT GSI endpoints.
CRs-Fixed: 1067833
Change-Id: Iab8b0bc6fd17183fc6056f06a90421cde24987c8
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
During recovery, if another PD down notification received because
of crash then handle the case. If debug enabled then BUG_ON to
debug the second crash.
CRs-fixed: 1067873
Change-Id: I6e8e92ca0ee11830f933e198fea502c915d36e59
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
During recovery, if not able to force enable hardware clocks then
do top level reset only.
CRs-fixed: 1067868
Change-Id: Ie23ca022c94cd214a9e415e9fb774055cfaf881d
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
Remove panic on single bit cache error because single bit error
can be corrected.
Change-Id: Id14ffa45a1326e47adc847c012e9ac21c6954990
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Remove warn_on message since the required CPUMERRSR and L2MERRSR
info is already printed in the dmesg.
Change-Id: I2e93bcd1e84d43bc7a58af0be02d5337d936d4ee
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
tx_iface_clk and rx_iface_clk does not exist in newer version
of ufs-phy HW, hence remove the missing clk warnings for them.
Change-Id: Ic8dd3e9521159ce8da064da38cfa12e75f07209f
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
It is possible a variable will be accessed before
it is ever initialized. Properly initialize this
variable when it is declared.
Change-Id: Id1523786f1c87449ed3943f1726766dad6a4ade2
Signed-off-by: Tony Truong <truong@codeaurora.org>
As part of the PHY shut down sequence, current driver
disable the phy pmic regulators. This is not the
expected sequence, so make sure the pmic phy
regulators stay enabled.
Change-Id: Ia65a71347666ed9fa3f6bf92fe7c573638301254
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>