The gpu_cc_gx_cxo_clk required to be always on, so add the
CLK_IS_CRITICAL flag for to keep it enabled at all times.
Change-Id: Icf4574ff0c805108dff826bdf2174b87a661f773
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
Set the bit ADRENO_PREEMPTION in adreno core features
to enable preemption for A702.
Change-Id: If750b2bf607576615a93e85c23d8173891b8018f
Signed-off-by: Puranam V G Tejaswi <pvgtejas@codeaurora.org>
Set transaction timeout to 0x3F for dcc linklist while enabling
dcc hw.
Change-Id: Icb5bc63840d2bb34fc97c87abdc622e81d5c033f
Signed-off-by: Tao,Zhang <taozha@codeaurora.org>
This change adds locking to shared variables to
prevent any data race conditions. cb_reqs_inflight
and server_info should both be protected under locks.
Change-Id: I3475ab3208c2fc91fce2865d64626efdcd404e70
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
Add the mc_cc debug mux to the parent list of GCC mux to
enable measure support for measure_only_mccc_clk.
Change-Id: Ie65ffae9d110ef60eb97b466c06f9361b25a5e4d
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
Disable an unnecessary touch feature by default;
Do more cleanings when failed.
Change-Id: I8bbe627847183a2585c36a18088953e61bb12fe0
Signed-off-by: Fei Mao <feim1@codeaurora.org>
Use the CHARGER_STATUS to report the charger-detection status
and INPUT_VOLTAGE_SETTLED to report input voltage, reading them
from SDAM.
While at it, clear the SMB_EN for CP in the shutdown path
to prevent SMB from being enabled in the next boot.
Change-Id: I269b0be18b56d56c0ab0e68ee1d7194d09824dd7
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Validate fds pointer before de-referencing it.
Change-Id: I31c84e99a228da0b2bde322714acd2a6e29026c6
Acked-by: Maitreyi Gupta <maitreyi@qti.qualcomm.com>
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
The return value 0 of dma_map_resource() is valid, so should use
the dma_mapping_error() to check for errors.
Change-Id: I368f480ed66bad0498e38da2fc6baa78b5935d7f
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
Currently, process specific info like name and PID is being stored
in the internal data structures at the time of device open. But
since the DSP HAL service will now be opening the device node on
behalf of third-party applications, store process specific info in
GETINFO ioctl call which will be the first IOCTL call directly
from the client application.
Change-Id: If05d48123e4ec52c0271a7cb7f3ca790662d9abe
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Edgar Flores <edgarf@codeaurora.org>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
Due to dpdm regulator is not being used on newer platform as
ADSP firmware takes care of charger detection, there is no
way to detect USB cable disconnect vs USB spoof disconnect
when EUD is enabled. This change identifies USB spoof
disconnect and provides spoof disconnect related information
to USB PHY driver to avoid turning off PHY clocks and regulators.
Change-Id: I8f6b953e7196378b9786fe268a08cc1a0e2620d3
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
Fix touch suspend check to perform resume operations only
when touch is in suspend state.
Change-Id: I3311aa694703326d84b2bab9acbafcaba532b6ec
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
In preemption fault handler, check only the STOP bit of
ADRENO_REG_CP_PREEMPT register to see if the preemption is complete.
Change-Id: Id1f2d0947412e996d6028558124c3e528527cec6
Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: Sebanti Das <sebadas@codeaurora.org>
The change involes support for 3.4 Mhz and modified clk values for 400 Khz
to support NFC enumeration. Also changed open drain frequency to be used
from i2c clk freq passed from DTSI.
Change-Id: Ibba2416dab09c958b31779857aad5fe8dd753773
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
This change is to support bus enumeration through hot-join request.
Change-Id: I4639aeea861e3c48617096de4790e2bde46ce0da
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
Added required changes to fit properly android-4.19.79-95
crypto content into msm-4.19 branch. Modifications in
abi_gki_aarch64.xml are discarded completely. The order of
applying is bottom to top:
1f876610fe ANDROID: dm: Add wrapped key support in dm-default-key
b785dbcb87 ANDROID: dm: add support for passing through derive_raw_secret
66b3c81270 ANDROID: block: Prevent crypto fallback for wrapped keys
36500bffb9 fscrypt: support passing a keyring key to FS_IOC_ADD_ENCRYPTION_KEY
b32863f17f ANDROID: dm: add dm-default-key target for metadata encryption
94706caf62 ANDROID: dm: enable may_passthrough_inline_crypto on some targets
44e1174c18 ANDROID: dm: add support for passing through inline crypto support
e65d08ae68 ANDROID: block: Introduce passthrough keyslot manager
8f48f6657d ANDROID: ext4, f2fs: enable direct I/O with inline encryption
bbee78199f FROMLIST: scsi: ufs: add program_key() variant op
0f1c72a2f5 ANDROID: block: export symbols needed for modules to use inline crypto
35b62551b9 ANDROID: block: fix some inline crypto bugs
23b81578bf ANDROID: fscrypt: add support for hardware-wrapped keys
a076eebee0 ANDROID: block: add KSM op to derive software secret from wrapped key
3e8c41805f ANDROID: block: provide key size as input to inline crypto APIs
bb7f6203fb ANDROID: ufshcd-crypto: export cap find API
b01c73ea71 BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series
Change-Id: Ic741913aa478500da94a52eace02bb9192e581b9
Git-repo: https://android.googlesource.com/kernel/common/+/refs/heads/android-4.19
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
This changes release qmi handle and registers again
to qmi service for wlan server notifications.
Change-Id: I0a20622ec308778c9be2d66ff829f4b6ee841e92
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
Add code to post unregister driver event during modem
graceful shutdown instead of directly calling driver
remove.
Change-Id: Ie8b7699bf4e9e346279feede68022cda20f93a69
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>