Add code to do PCIe L2 suspend/resume during link down recovery.
Change-Id: I495d63b6cd7d826e7fbff627b3fe74af51c56099
Signed-off-by: Mohammed Siddiq <[email protected]>
Platform driver sends QMI message to get device status,
after it receives response, it will suspend device,
but at that time QRTR might been sending some flow control packets,
so mhi layer will reject suspend because packets are still pending,
platform driver retry suspend to cover this corner case.
Change-Id: I1c2e4a490e525199929095579cc6c6e975f88736
Signed-off-by: Kai Liu <[email protected]>
Enable QCOM-specific clock debug features required for testing on both
perf and debug builds.
Change-Id: Ib13e4003e8a80ed00973095c65dacf9bb169e19d
Signed-off-by: Mike Tipton <[email protected]>
Add support for dumping GPU snapshot in minidump. Register
snapshot region with minidump table.
Change-Id: I1ccf0a0b7f6f8f57b3e4b034f28ce3575b63001c
Signed-off-by: Rohan Sethi <[email protected]>
Currently driver is voting for active/sleep state configuration
during BT disconnect. Since this state contains UART functionality,
GPIO pins remains high which consumes power. This change is added
to vote for the shutdown pinctrl state during BT disconnect and
configure GPIO's in gpio functionality. This is a requirement
from BT SOC team.
Change-Id: I09f7a4a1dbc197c2bfd443a0b546a1ff283134ed
Signed-off-by: Paras Sharma <[email protected]>
Porting devfreq-cpufreq governor to scale the device
based on the current cpu frequency.
Change-Id: I0350491fb4d6a74365808ec514e05767e18bfc8a
Signed-off-by: Biao Long <[email protected]>
Uapi changes added:
1. L2TP over UDP requires new commands to be send to uC
to use the new header length for additition and deletion.
2. Definitions related to H/W fnr status
3. Add the QMI support to change the modem
Bandwidth voting throughput on APQ side to change the
IPA clk scaling.
4. Added new field to the QMI force clear request message
data structure, To accommodate up to 128 possible endpoints.
If this new field is used on newer architectures,
the old field shall be ignored.
Change-Id: I6c642e745386bad5fb7ef63b4167e91ce561e0dd
Signed-off-by: Armaan Siddiqui <[email protected]>
Adding a null pointer for sctx before dereferencing.
Change-Id: I1497eea2b9cb7bb75481246df47269796aff182d
Acked-by: Maitreyi Gupta <[email protected]>
Signed-off-by: Jeya R <[email protected]>
Slimbus core interrupt is getting fired during a ADSP power up(Sub-sys up)
orafter a adsp shutdown(Sub-sys Down). At this point adsp slimbus hardware
is not ON(clocks are off) which is leading to a unclocked access when
HLOS slimbus tried to read the interrupt status register in isr.
Fix is to disable core irq as a part of SSR down notification and enable
it as a part of SSR UP notification in ngd_slim_enable API. And also add a
defensive check in ISR to not access registers if slimbus is
runtime suspended.
Change-Id: I84a599551b98c8580bdfc889ebbe99f48c649895
Signed-off-by: Chandana Kishori Chiluveru <[email protected]>
Update IPA offload sub-system to avoid IPA core API calls to support
new IPA ETH client API calls provided by IPA driver.
Change-Id: I5db3189f7042fa66397a530184c662e65c1e6f0c
Signed-off-by: Jinesh K. Jayakumar <[email protected]>
Signed-off-by: Lakshit Tyagi <[email protected]>
Currently, haptics_fifo_empty_irq_config() uses a mutex lock and it's
called from playback() of input framework which is from an atomic
context. Fix this by moving it out of haptics_playback() and call it
from haptics_set_fifo() which gets eventually called in upload().
With this change, the irq_lock mutex is no longer needed because all
the calling paths of haptics_fifo_empty_irq_config() have been protected
by the mutex lock defined in haptics_play_info structure, hence remove
it.
Change-Id: I4e4d353f8427fb279fd3f4d6a28737acbdb22a0a
Signed-off-by: Fenglin Wu <[email protected]>
Add new compatible string for PM7325B WLED. Add support to read
battery resistance, current and OCV from battery charger driver
through glink based interface.
Change-Id: I421c4225862c4f72f00dff14214b1b613c93fa42
Signed-off-by: Jishnu Prakash <[email protected]>
At present, the WLED selfie flash API wled_flash_led_prepare is exposed
only for targets using QPNP_FLASH_V2 and WLED. Expose it for targets using
the combination of QTI_FLASH and WLED too.
Change-Id: I136b95f8219171534bad06109bd08423061a00c6
Signed-off-by: Jishnu Prakash <[email protected]>
When enable Qcom-cpufreq driver on 5.4,because some data
struct has been changed, and trace_cpu_frequency has been
removed, this will cause the compile issue, so fix these
problem to pass compile.
Change-Id: I71f76b92a52cfd8a905a5fc7fad6e5a5f4e6b39f
Signed-off-by: Biao Long <[email protected]>
Currently 32-bit div() is used on a 64-bit data which can truncate
the data. Fix this by using 64-bit division macro.
Change-Id: Icfde1182bfd5b9d9ea855da1e341913900e91f65
Signed-off-by: Biao Long <[email protected]>
Add support for QCA61X4/QCA937x series BT SoC's.
CRs-Fixed: 2848490
Change-Id: Iddeaaf8933cd0809a6ec36f3e4d3e3dbe00a63ff
Signed-off-by: Zijun Hu <[email protected]>
Disable bluetooth builtin in order to implement
FR57995: Change Kernel defconfig linkages to DLKM for BT component.
CRs-Fixed: 2848490
Change-Id: I6ef035ff2e60321fc000050e73538b9873659f1b
Signed-off-by: Zijun Hu <[email protected]>