This change adds eUSB2 repeater driver. This driver
provides reset, initialization and power up/down interfaces
for eUSB2 repeater.
Change-Id: Ifa427f1971e8ebca5da3c12de694499ced7a48aa
Signed-off-by: Pratham Pratap <quic_ppratap@quicinc.com>
This change adds SNPS USB eUSB2 PHY driver which is used to reset
and initialize USB eUSB2 PHY for USB HS/LS/FS functionality. As eUSB2
PHY communicates with conneced repeater for USB2 signaling this driver
uses registered repeater to invoke repeater specific reset and
initialization sequence.
Change-Id: I497ad608e19f4b8f61aeb0420e73b69981d0f4a5
Signed-off-by: Mayank Rana <quic_mrana@quicinc.com>
Signed-off-by: Pratham Pratap <quic_ppratap@quicinc.com>
eUSB2 PHY needs to communicate with repeater, and can't work
independently for USB2 functionality. Hence this change adds
repeater framework which allows repeater driver to register and
provide supported repeater operations (reset, init, powerup,
powerdown, suspend). It also allows eUSB2 PHY driver to get
reference of connected repeater driver, and invoke required set
of operations to get repeater into functional mode for USB2
functionality.
Change-Id: I2bc6b1dbb958334373d1652205bcc63257130172
Signed-off-by: Mayank Rana <quic_mrana@quicinc.com>
Signed-off-by: Pratham Pratap <quic_ppratap@quicinc.com>
It can be used to tune the host and fw time synchronization interval
for better accuracy.
Change-Id: I0a3d8895520cec526341f278c91f153dd0bd1966
CRs-Fixed: 2787916
Signed-off-by: Visweswara Tanuku <vtanuku@codeaurora.org>
Add support to read ibat range factor from nvmem and use it to
scale ibat current for greater than default max supported
ibat range.
Change-Id: Iee83be8d6663920d4df0b792417820d222e3ff46
Signed-off-by: Gopala Krishna Nuthaki <gnuthaki@codeaurora.org>
Signed-off-by: Priyansh Jain <priyjain@codeaurora.org>
* refs/heads/tmp-233f97e:
ANDROID: Update symbol list for mtk
ANDROID: binder: fix regression in sender_euid
ANDROID: fips140: use UTS_RELEASE as FIPS version
BACKPORT: binder: use cred instead of task for getsecid
BACKPORT: binder: use cred instead of task for selinux checks
BACKPORT: binder: use euid from cred instead of using task
ANDROID: vendor_hooks: Add hooks for frequency optimization
ANDROID: GKI: Update symbols to symbol list
ANDROID: vendor_hooks: export get_wchan
ANDROID: vendor_hooks: Add hooks to record the time of the process in various states
FROMGIT: dma-buf: acquire name lock before read/write dma_buf.name
ANDROID: cpufreq: times: record fast switch frequency transitions
ANDROID: GKI: add required symbols for btusb to virtual device
ANDROID: arm64: add vendor hooks for bti and pauth fault
FROMLIST: drivers: thermal: Reset previous low and high trip during thermal zone init
UPSTREAM: mm: vmalloc: prevent use after free in _vm_unmap_aliases
ANDROID: ABI: update allowed list for galaxy
ANDROID: Add android_vh_rproc_recovery_set
ANDROID: rproc: Add vendor hook when setting recovery mode
BACKPORT: FROMLIST: scsi: ufs: Fix a deadlock in the error handler
BACKPORT: FROMLIST: scsi: core: Reserve one tag for the UFS driver
BACKPORT: FROMLIST: scsi: ufs: Limit the queue depth to host->can_queue
ANDROID: GKI: fix up abi breakage from "cfg80211: fix management registrations locking"
UPSTREAM: cfg80211: fix management registrations locking
Change-Id: I6963bbed02d5f62ca5ee34aa2a629dfa2cfe81b3
Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com>
A TUI session which adds memory to the qcom,tui carveout heap is
represented by a file descriptor. This file descriptor is used by the
carveout_heap implementation for refcounting.
If there is a preexisting session, carveout_heap_add_memory() fails,
and we close the file descriptor.
fput()
-> mem_buf_buffer_release()
->-> carveout_heap_remove_memory() /* Fails */
Change carvout_heap_remove_memory() to return success if the memory
region in question is not part of the carveout heap.
Change-Id: I5567a10f4a7e0e14c98904e198eb76652c9d234f
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
eMMC device operating at 1.8 V can be run up to 100 MHz without SDCDC
(DLL) and with DLL above 100 MHz.
Change the existing pr_err condition to less than 100MHz.
Change-Id: Ia6575ddfd0e4dc57723226e3dff24ad485a1a2ea
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Certain targets with level shifter requires tuning for SDR50 mode.
As per Hardware Programing Guide few extra configurations need to be
done before performing tuning for SDR50 mode.
Enable tuning for SDR50 mode and do needed configurations.
Change-Id: If8aec8b793a17796b61d6d7826b5700b742be3fa
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Delays are seen on IO lines with data transfer due to latency added by
level shifter. To bring these delays in normal range and avoid CMD CRC
errors frequency for HS mode is being reduced to 37.5MHz.
Hence limit HS mode frequency to 37.5MHz.
Change-Id: I5e145972197339b77cf6553f57b3ee71862699e0
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Enable CONFIG_ARM_SMMU_CONTEXT_FAULT_RETRY, which retries
faulting iommu transactions after a tlb invalidate.
Change-Id: I8d16c33ceea25e416f0304f5031e3429be01f6ad
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
* keystone/mirror-android12-5.10:
ANDROID: Update symbol list for mtk
ANDROID: binder: fix regression in sender_euid
ANDROID: fips140: use UTS_RELEASE as FIPS version
BACKPORT: binder: use cred instead of task for getsecid
BACKPORT: binder: use cred instead of task for selinux checks
BACKPORT: binder: use euid from cred instead of using task
ANDROID: vendor_hooks: Add hooks for frequency optimization
ANDROID: GKI: Update symbols to symbol list
ANDROID: vendor_hooks: export get_wchan
ANDROID: vendor_hooks: Add hooks to record the time of the process in various states
Signed-off-by: Daniel Norman <danielnorman@google.com>
Change-Id: Iea487c2386bcc18c8f2f0c8e562a7d83300a62a2
Use local pointer for struct rpdev_device while sending rpmsg
to avoid crash if ADSP SSR is triggered where rpdev_device is
set to null in ADSP SSR notification while handling
msm_pcie_drv_send_rpmsg().
Change-Id: Id0533611b629359142e54db428918cbce702ee44
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
Add code to fallback to non-contiguous FW mem allocation on
failure to allocate contiguous memory.
Change-Id: Idbc7ff7f9ea4d2157e3b549dde8ee090a0f0b412
Signed-off-by: Mohammed Siddiq <quic_msiddiq@quicinc.com>
Add change to print SW_CTRL GPIO value when PCIe link training
fails during power on.
Change-Id: I77bd2db80dad4c56647f52d67acfab0fe7efb7a7
Signed-off-by: Yue Ma <yuem@codeaurora.org>