Enables host only mode USB 2.0 controller on 8996 automotive kernel
v4.4 by enabling CONFIG_NOP_USB_XCEIV in the msm-auto_defconfig and
msm-auto-perf_defconfig.
Change-Id: I528ebd6a900da8bce97790047b8c01936d09631c
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Add support to enable/disable fpsimd_settings at runtime through
kernel command line.
fpsimd.fpsimd_settings=0 should disable it.
Change-Id: I14bf5f20e36ec4547aad45382cfffc91666a2ff4
Signed-off-by: Sanrio Alvares <salvares@codeaurora.org>
Enable FP(Floating Point) and SIMD settings required
during execution of AArch32 processes.
Change-Id: I935d91778954937a7fd7cb5a959290a147220a06
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
Enable FP and SIMD settings for the MSM8996 during the execution
of the AArch32 processes and disable these settings when you switch
to the AArch64 processes.
This commit also adds CONFIG_ENABLE_FP_SIMD_SETTINGS to support
FP and SIMD settings.
CRs-Fixed: 952837
Change-Id: If9537ca7390d8f08a6b48fb8865d1b349a93bcee
Signed-off-by: Se Wang (Patrick) Oh <sewango@codeaurora.org>
[ztu@codeaurora.org: Resolved conflicts]
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
Bitrate config can be read for all
channels of RH850 and sent down to device
Change-Id: Id3f28f9fd024f7768fb04faef6a31efb8bfb85b2
CRs-Fixed: 1018330
Signed-off-by: Sergio Frades Ruiz De Sola <csfrade@codeaurora.org>
Add PHY init sequence based on new settings so that PCIe
PHY can be brought up on MSM8996 agave.
Change-Id: Iece881346523cf3f5b06314f38fc65d5afdb2986
Signed-off-by: Tony Truong <truong@codeaurora.org>
Link state L1 and L1ss is not supported on MSM8996 AUTO
platforms. Thus, disable L1 and L1ss for all PCIe cores
on these platforms.
Change-Id: Ifd95e1bba9c895ea35e50545bd6ad93e42fca5e6
Signed-off-by: Tony Truong <truong@codeaurora.org>
Add memset of adm open v5 and v6 structure before
value assignment to avoid warning of uninitialized stack.
CRs-fixed: 1112462
Change-Id: I18681f6b191e96118fde9ae774d105dc6b677858
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Add spi-msm-codec-slave device as a subnode of spi_0 on
msm8996 adp/cdp platform.
CRs-fixed: 1027162
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Change-Id: I0b402ef31b53b7f0408e2eec39cc8dea2729cedd
PCIe1 endpoint on MSM8996 AUTO platforms uses QGIC MSI
interrupts instead of Synopsys MSI. Thus, enable QGIC
MSI for PCIe1 for MSM8996 AUTO platforms.
Change-Id: I5814deee87651097dca30f8cc85c563c1451733e
Signed-off-by: Tony Truong <truong@codeaurora.org>
WCD codec and Slimbus interface are not used on msm8996
automotive platform. Disable them to optimize the
boot time for performance measurement.
CRs-fixed: 998111
Change-Id: I05cd0dcd528317e75bcd4c3477f2baae056e8cfb
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Profiler driver will allow the sdp profiler to get
cpu/gpu and total bandwidth info.
Change-Id: I47a59a72d4cac771e39f9460ab9c8f453d57fb14
Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
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>
Add machine driver for APQ8096 based automotive platform. The machine
driver is based on msm8996.c. On top of it, add support for TDM which
is used for data transfer between APQ8096 and the automotive COODEC HW,
the changes include add TDM backend and frontend DAI links as well as
kcontrol functions to configure TDM channels.
CRs-fixed: 2002348
Change-Id: Id4e8931c06de9cf20f8012d84cd808f919020174
Signed-off-by: Honghao Liu <honghaol@codeaurora.org>
Signed-off-by: Derek Chen <chenche@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>
Fix wrong return value and wrong print message in msm_dba driver.
Change-Id: I267deb62adbf6ffc09e3ce36bb2c54e7e6768f0f
Signed-off-by: Jin Li <jinl@codeaurora.org>
Signed-off-by: Yunyun Cao <yunyunc@codeaurora.org>
MSM fbdev driver contains both mdss and dba drivers. It needs to be
compiled when either one of them is enabled.
Change-Id: I6a62b99dddce4da0485d34bca11704aeb9064465
Signed-off-by: Jin Li <jinl@codeaurora.org>
Signed-off-by: Yunyun Cao <yunyunc@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>