Currently in case if suspend is failed due to some
reason then the error case is not handled properly :-
1. w.r.t. suspend_clk_scaling claim_host counters are going bad.
2. In case of any error after halting and disabling cmdq -
the error is returned to the PM framework and it assumes that
card is not suspended, whereas CQ remains disabled. This causes
I/O requests hangs since no request can be processed any further.
Fix this by handling error cases properly.
Change-Id: I8691eebcb0e2d089720505475aa0297efce5cca5
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Signed-off-by: Siba Prasad <sibap@codeaurora.org>
Update secondary MI2S DAI entry to use SD0 for TX path and SD1
for RX path, and add secondary MI2S DAI in the automotive sound
card entry for msm8996 automotive ADP/CDP platforms.
CRs-fixed: 1087945
Change-Id: I7c29aa605549f54339b108beae39a4e8816ac6dd
Signed-off-by: Honghao Liu <honghaol@codeaurora.org>
Add the route from secondary MI2S TX to Multimedia2 Mixer.
CRs-fixed: 2007990
Change-Id: I6082264bc54376af6d88e67833dea348d070ab97
Signed-off-by: Honghao Liu <honghaol@codeaurora.org>
It's hard to tell whether ATOS failed due to a misconfiguration in
hardware or software. Add a software table walk to help narrow down the
reasons for the failure. If the software walk succeeds then there's
something wrong in hardware. If the software walk fails then there's
something wrong in software.
CRs-Fixed: 1014916
Change-Id: I49dd61856ad08e1890791b3e5c180350a5eaa648
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
It is possible to aggressively push the limits of dynamic ASID
by forking and creating lots of domains. In the most egregious
cases enormous log storms can occur. Ratelimit the error
message to cut down on spam.
Change-Id: Ic0dedbadc8f7fd7e810505e4cf2a312cf2986047
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Add support for ITS and LPI interrupts.
Change-Id: I3831519f72276ce2cd5ec5de22beaf9ab5287ce1
Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
Add device tree files needed to support APQ8096AU V1.1 ADP
Lite (Automotive Development Platform). ADP Lite platform has a
stripped down barebone version of the peripheral board.
CRs-Fixed: 1070289
Change-Id: If5580f7f7a3913979e1cd7686af41f2a6d6f45e6
Signed-off-by: Venumadhav Cheryala <cvenum@codeaurora.org>
Add device tree files needed to support MSM8996 and MSM8996proAU ADP
Lite (Automotive Development Platform). ADP Lite platform has a
stripped down barebone version of the peripheral board.
CRs-Fixed: 1061363
Change-Id: Ic4188777abd392a2304c6918a70ad97fd12884b2
Signed-off-by: Tholkappiyan Agaram Raghupathy <traghu@codeaurora.org>
Add board support file needed to support ADP APQ8096proAU v1.1.
APQ8096pro v1.1 with Agave is a new automotive development platform
This change is needed for device boot up.
CRs-Fixed: 1070289
Change-Id: I46b4e38415861f5971fda7dc90a4c3eb9051b2ee
Signed-off-by: Venumadhav Cheryala <cvenum@codeaurora.org>
Currently, all the SOC (msm8996v3AU or msm8996proAU) specific
overrides are being done in board files. There is a lot of duplication
because of that. Refactor the device tree files for 8996 automotive
platforms so that all the SOC specific overrides can be present in
msm8996v3-auto.dtsi and msm8996pro-auto.dtsi alone. All the
8996v3/8996pro automotive board files will include one of these
files based upon the SOC used.
CRs-Fixed: 1036992
Change-Id: I2306907bbda6c2604bace046b361d1895f324361
Signed-off-by: Atul Raut <araut@codeaurora.org>
Signed-off-by: Tholkappiyan Agaram Raghupathy <traghu@codeaurora.org>
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add device tree files needed to support MSM8996proAU v1.1 and
APQ8096proAU v1.1 SoC CDPs (Core Development Platform).
CRs-Fixed: 1030299
Change-Id: I16c6fc69790fd5ad3a29b64f8e615a783dc84e98
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
Add CPU IDs to the socinfo table needed to support MSM8996pro
Automotive SoC.
CRs-Fixed: 991575
Change-Id: I6efaf4574a5f563b0ee3edd8545e0acd027ad59b
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
Add device tree files needed to support the following Automotive SoCs
on ADP (Automotive Development Platform):
- MSM8996AU
- APQ8096AU
CRs-Fixed: 1028318
Change-Id: Idb00f5b7876874095f0cb57f48880ac43306a906
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
Auto platforms have an external mux that needs to be setup
to choose between QSPI and modem. Prior to the modem being
loaded, the mux needs to be setup for modem to use the pin.
This is a one time configuration at bootup, that is performed
by pil driver.
CRs-Fixed: 1010787
Change-Id: Ibab421fadef7e591ec84225aa4be7b55d0a54e0c
Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
Add device tree files that are needed to support APQ8096 Automotive
CDP platform.
CRs-Fixed: 991575
Change-Id: Ic8818e8255b2d690a1555e23fe35d581835ba634
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
MSM8996pro Automotive ADP platform does not use SLIMbus (Serial Low-
power Inter-chip Media Bus) audio interface path. Disable SLIMbus.
CRs-Fixed: 1000279
Change-Id: I55ef759f6d57909aa9d975e92d2c65224bfec615
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
Add device tree files that are needed to support MSM8996pro ADP
(Automotive Development Platform).
CRs-Fixed: 1000279
Change-Id: I6575fed7507e39afc06e017ab138d98654b38928
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
Add msm-auto_defconfig and msm-auto-perf_defconfig for automotive
platform.
Change-Id: I230a7dab442f093305eb9bebab46ced06f73773d
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
The CPR graphics regulator (gfx_vreg) in 8996Pro has an
additional virtual corner to support higher Fmax. Also it has
support for another speed bin. The external buck (hl7509_vreg)
that powers up gfx_vreg in 8996ProAU CDP boards has a voltage
range of 600 to 1230 mV with a step size of 10 mV.
Modify the CPR ceiling and floor voltages of gfx_vreg for 8996Pro
automotive CDP so that they are divisible by 10000 uV and at
least 600000 uV.
CRs-Fixed: 988322
Change-Id: I7841c384b5d10124226c91bd7adc1730461e60ce
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add device tree files that are needed to support MSM8996pro automotive
CDP platform.
CRs-Fixed: 991575
Change-Id: Ic79213b1beed4038609415cc98ed09d93bc326f4
Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
With QUP in shared mode, enabling and disabling the
resources in runtime pm will cause failure of
transactions over the QUP that are running on other
execution environment. To avoid the failure
enable/disable gpios and clocks of QUP per transfer.
Also move the clock prepare and unprepare calls
to runtime pm APIs from the transfer API to
reduce the latencies in the transactions.
Change-Id: Ic697cdc544405d86ec7c675922c18c00fec451a6
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>