Fixing IPA unclocked access when reading IPA_SHARED_MEM_SIZE
register. The read is part of a debug logic to print the
content of different registers.
CRs-fixed: 1052110
Change-Id: I2f04d861d98af2cf4009a1f746d91e9e9923ce42
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Enable smcinvoke driver so that TZ apps and client can communicate
using new MINK architecture.
Change-Id: I4e869d276ce4e8ecfe35a9ffe6892a6b586fe372
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
SMCInvoke driver is a misc driver to support communication between
secure and non-secure world, based on new capability based model.
Earlier, QSEECom driver had several problems such as exposing many
interfaces to accomplish various tasks on secure world side. Ideally,
driver should work as transparent as possible and provide just
tunnel to communicate between secure and non secure world. SMCInvoke
driver aims to achieve that.
Change-Id: I439f8ad817ba66210c934115979c276577194c11
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
Add qfprom and hdcp register addresses to display port
device so that it can run the hdcp 1.x protocol.
Change-Id: Ib28eb08cc3c8a45a0e87ae1c4f84c904e66652f6
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
This change is to enable native DSD playback and enable native playback
of clips with sampling rate multiple of 44.1KHz.
Add slimbus_2_rx backend dai-link for native DSD (Direct Stream Digital)
audio and 44.1KHz multiples playback.
CRs-Fixed: 1056422
Change-Id: Ib038cf81f29e00c08def789f8f186ca4615d45fc
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
Use runtime PM to manage the PCLK ("amba_pclk") instead of handling clk
directly.
The AMBA bus core will unprepare and disable the clock when device is
unused.
Change-Id: Id03ea9d622905393f81a9d4cafc111029ef6852d
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Add support for WLAN recovery in cases of WLAN Protection Domain
(PD) down and Modem Sub System Restart (SSR).
CRs-fixed: 1056412
Change-Id: Ie3b012b524ef24c48937c0bb388cac656c3ebcf8
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
When gadget driver sets VBUS current draw, this should
only be applicable if the charger type is SDP. For
other downstream types, such as CDP, it can draw up up
to the maximum (1.5A) without having to follow the rules of
configured/suspended current limits. Further, with Power
Delivery role swap supported, it's possible the gadget (UFP)
is a power source, so vbus_draw() should be no-op'ed.
Change-Id: If7f8233a0eb2644e5534a51a4a4f65212d448382
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Restructure code to handle dual vfe cases in a more streamline
manner. Instead of using 2 streams in case of dual vfe only
1 stream is used and the vfe devices are added under the
stream. All stream operations that refer to vfe will operate
on all the vfe devices present under stream. It is now not
nessasary to check whether dual vfe is used in multiple places
to decide which hardware needs to be updated, instead just
loop through the list of vfe hardware under the stream
Change-Id: I40ba5c9fe8bf96f81fc5256042b4a70731520e1d
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
Add trace events to control aborting CoreSight trace
dynamically based on module parameter.
Coresight driver will dump any trace present in the current sink
in case we hit a kernel panic, user fault or an undefined instruction.
Change-Id: Iee1ccf5cbd7b767753a3115c0570e63fbe2aa8f3
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
Clear SP-PBL interrupt in case of error in PBL to avoid having storm
of interrupts.
CRs-Fixed: 1057085
Change-Id: I96bfd93ea5016a9c48f97262dbb0b5b63e07233d
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Current implementation checks for the DSI PLL to be off prior to
shutting down the DSI PHY, and reports a warning if the PLL is
still detected to be on. However, this check is incorrectly
implemented resulting a false warning being printed every time
the display is turned off. Fix this by reading the right set of
registers to check for the PLL status.
Change-Id: I1e9f9956af6d35b33ae24d69ff3c5d3aa695a26b
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
Add hardware reset logic which is going to be executed before
bringing down hardware.
CRs-fixed: 1027110
Change-Id: Ied1229da9e9f72c25343533b933fdcfcb7f80975
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
Current implementation doesn't take care of multiple regulator
and clock voting. Add changes to take care of multiple regulator
configuration as well as clock configuration through device tree.
CRs-fixed: 1054503
Change-Id: I049821c960e4b53901cc2a07290d6ccedb8b971b
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
Update channel link state when subsystem restart notification comes
in to ensure that the channel gets reopened properly when the subsystem
comes up.
Change-Id: I0d0762bc29982e1c15171c9597d86894caa34eb9
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
Touchscreen driver may generate unbalanced input events when
enter suspend state, these unbalanced event will make input
system always wait for symmetrical input event and can not
handle input event properly. PRESSURE event is removed to
keep input events symmetrical.
This patch is propagated from msm-3.18 kernel
'commit 15725c248511 ("input: touchscreen: ft5x06: remove
unbalanced touch event")'
CRs-Fixed: 566134
Change-Id: I3f6fda3fb5d0a717ae943a9113be89623c96ce61
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
In some cases, display driver times out waiting
for the mdp hw recovery to complete, causing the
device to panic; however in some cases hw is
able to successfuly complete the recovery after
some more time.
This change increases the timeout, so driver
waits more time for the hw to complete the
recovery sequence.
CRs-Fixed: 1055875
Change-Id: I31909c45a4fec921da322658ec84d387d0f182ac
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Add kcontrol in wcd934x mbhc driver so that userspace can get the
hph type.
Change-Id: I9ff0a8a5c968c9b8a085fbe79ab9a690206df564
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
Move the moisture config from machine driver to mbhc driver.
As generally moisture config doesn't vary with sound card.
Change-Id: I6c4bb19d3155567b9bc4f3a653e2ac8214d04146
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
Add wcd934x mbhc support in machine driver, so that headset
accessories can be detected properly.
Change-Id: I0a1ec6570848b8164cf46f8365b18d4c488f78f6
Signed-off-by: Walter Yang <yandongy@codeaurora.org>