Commit graph

894,770 commits

Author SHA1 Message Date
Elson Roy Serrao
e1258ce10e usb: gadget: Allow up to 900mA current draw for SuperSpeed
Currently 500mA is used as max allowable current to draw over
USB VBUS. However in SuperSpeed a gadget may draw up to 900mA
Update the CONFIG_USB_GADGET_VBUS_DRAW's allowable range to
be up to 900.

Change-Id: I781308065b30b260437f7b3180e276f6a657f504
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
2021-01-22 07:52:01 -08:00
Pulkit Singh Tak
3dc3967bb4 msm: cvp: Support handling cp camera buffer
Adding support for cp camera buffer mapping and
new hfi for chroma buffer.

Change-Id: Iadce59b596447c0bbdf4985bdb8c9209df517bae
Signed-off-by: Pulkit Singh Tak <ptak@codeaurora.org>
2021-01-22 20:38:29 +05:30
Pankaj Gupta
e994cb44c2 msm: kgsl: Enable Preemption on A635 GPU
Enable Preemption feature on A635 GPU.

Change-Id: Ieea4cde2fd8678fc50d7d67b3233527a78cfae7a
Signed-off-by: Pankaj Gupta <gpankaj@codeaurora.org>
2021-01-22 16:09:05 +05:30
Mohammed Siddiq
22299a9673 cnss2: Dump mhi debug registers on receiving mhi WAKE event cb
Dump mhi debug registers on receiving mhi WAKE event callback.

Change-Id: I03f8c85d8ca4f9bd1d438c1aa5bb149e86839b29
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2021-01-22 02:26:46 -08:00
Sauvik Saha
e5705066a9 netfilter: Add reset_timer logic to timers
-This patch reuses the existing reset_timer logic
while running IDLE and HARDIDLE timers.

CRs-Fixed: 2859971
Change-Id: Ibaa86a30ec4c58eb3fbc2f4f48c9c1af6f33f018
Acked-by: Akash Aggarwal <akasagga@qti.qualcomm.com>
Signed-off-by: Manoj Basapathi <manojbm@codeaurora.org>
Signed-off-by: Sauvik Saha <ssaha@codeaurora.org>
2021-01-22 15:00:18 +05:30
Sarthak Garg
0a5ff911f0 mmc: sdhci-msm: Always set max_busy_timeout as zero
Qcom SDHC uses base clock in calculating the data-timeout
value. So SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK quirk is set.

Moreover discard size calculation uses max_busy_timeout in deriving the
value. So, we can ensure a larger discard size by setting this
timeout as zero. If this timeout is zero then it takes max erase
timeout vlaue (which is 60sec) in the discard size calculation.

But when this quirk is set max_busy_timeout variable gets updated
to non zero value leading to smaller discard size.

Define get_max_timeout_count ops in sdhci_msm_ops which always sets
max_busy_timeout to zero.

Change-Id: Iec6013dde6082b2a8fdb449cacf503c290252d0b
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2021-01-22 14:47:51 +05:30
Shreyas K K
41a4f32e55 defconfig: gen3auto: Enable QCOM_SCM
Enable communication with secure world on gen3auto
targets.

Change-Id: I72a6227d5b2ca4825cb7614055163bffb4245eea
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-01-22 11:39:32 +05:30
Biao Long
2aa2291a2a defconfig: Add configs to enable cpufreq/devfreq
Add configs to enable cpufreq/devfreq.

Change-Id: I4583ee84a46e047308c7bb5a7920c416706688f7
Signed-off-by: Biao Long <blong@codeaurora.org>
2021-01-21 21:18:12 -08:00
Veera Vegivada
9256ad8778 icc: dt-bindings: add endpoint IDs for interconnects for SM6150
Add master and slave ID constants for all Qualcomm Technologies, Inc.
SM6150 interconnect providers which consumers can use to set bandwidth
constraints and find paths in the NoC (Network-On-Chip) topology.

Change-Id: I883cee60db070c45191b1a7ecec07f90a2c49190
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-01-22 10:31:36 +05:30
Veera Vegivada
a9cb978bca pinctrl: qcom: Expose ufs_reset as gpio on sm6150
The ufs_reset pin is expected to be wired to the reset pin of the
primary UFS memory but is pretty much just a general purpose output pin.
Reorder the pins and expose it as gpio 204, so that the UFS driver can
toggle it.

Change-Id: Ia891c0d817b1176df840ea3774776e57497a837f
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-01-22 10:22:10 +05:30
Maulik Shah
bf22486306 pinctrl: qcom: Add GPIO to PDC wakeirq map for sm6150
Add GPIO to PDC wakeirq map and update the direct connect
list.

Change-Id: I12f368d840d22fc2e45a70a3abfc45a00cb3848b
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2021-01-22 10:19:16 +05:30
qctecmdr
dabe161962 Merge "msm: kgsl: Take devfreq event lock for ddr qos vote" 2021-01-21 18:57:27 -08:00
qctecmdr
cfb54b7fe5 Merge "mhi: core: Fix format specifier in mhi_alloc_bhie_table" 2021-01-21 18:57:27 -08:00
qctecmdr
669cc6266d Merge "cnss2: Minor enhancements for the driver" 2021-01-21 18:57:27 -08:00
Fenglin Wu
677f534e51 input: qcom-hv-haptics: check playing effect pointer in IRQ handler
When uploading a constant effect after stopping FIFO play, the effect
pointer in haptics_play_info structure will be set to NULL. If there
is any pending fifo-empty IRQ gets served after that, it will trigger
a NULL pointer dereference issue. To avoid this, check the playing
effect pointer before use it in the IRQ handler.

Change-Id: Iacfea5e48d0a9519fa2c930ec821e395c43b6281
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2021-01-21 18:49:29 -08:00
Zhiqiang Tu
c75cb7a377 defconfig: quinvmauto: Enable hab and peripheral drivers
Enable hab, i2c, uart, spi, sdhci, usb and pcie drivers.

Change-Id: I9271d038357142e89d0a212ca25ccfa8345b083d
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2021-01-22 09:53:55 +08:00
qctecmdr
b7cbe3beb1 Merge "input: qcom-hv-haptics: ensure HBoost is ready before the play" 2021-01-21 15:17:06 -08:00
Michael Adisumarta
a404fdb25d msm: ipa: header file to support wdi 2.4G new pipe
Header file changes that includes new 2.4G wdi tx pipe
info and it's interface.

Change-Id: I0bc77f8359152f8209ec4ef132dc6497d0875c2a
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-01-21 12:36:37 -08:00
Guru Das Srinagesh
dd58d3d291 power: smb1398: Replace use of do_div() with plain division
do_div() operates on a 64-bit divisor and hence its use leads to the
following compilation error (error output edited for brevity):

  warning: comparison of distinct pointer types ('typeof ((iout_ua)) *'
  (aka 'int *') and 'uint64_t *' (aka 'unsigned long long *'))
  [-Wcompare-distinct-pointer-types]
          rc = smb1398_set_ichg_ma(chip, do_div(iout_ua, 1000));
                                         ^~~~~~~~~~~~~~~~~~~~~
  include/asm-generic/div64.h:226:28: note: expanded from macro 'do_div'
          (void)(((typeof((n)) *)0) == ((uint64_t *)0));  \
                 ~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~
  error: incompatible pointer types passing 'int *' to parameter of type
  'uint64_t *' (aka 'unsigned long long *')
  [-Werror,-Wincompatible-pointer-types]
          rc = smb1398_set_ichg_ma(chip, do_div(iout_ua, 1000));

Fix this by replacing do_div() with a simple division operation.

Change-Id: Ifb43b7cc68e0424bfbd7fa58dce449d6dd849cd6
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2021-01-21 10:18:11 -08:00
Hemant Kumar
6e9760c26f mhi: core: Fix format specifier in mhi_alloc_bhie_table
BHIe table size is printed incorrectly as unsigned long.
size is of type size_t hence use %zu instead of %lu.

Change-Id: Ic52bc6ea92e6dac8bd1e275f9a17986d08e2da79
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2021-01-21 09:39:50 -08:00
qctecmdr
2adfda1e32 Merge "cnss2: Add a 128kB to prealloc pool" 2021-01-21 08:58:51 -08:00
qctecmdr
2194883a58 Merge "interconnect: qcom: Fix re-initializing the bcm" 2021-01-21 08:58:51 -08:00
qctecmdr
eadeaeb231 Merge "sched/fair: Add sched_sync_hint_enable node" 2021-01-21 08:58:51 -08:00
qctecmdr
213e25baa7 Merge "usb: dwc3: gadget: Replace dev with its parent sysdev in ep_disable" 2021-01-21 08:58:50 -08:00
qctecmdr
12280a383f Merge "defconfig: enable debug page alloc config for holi" 2021-01-21 08:58:50 -08:00
qctecmdr
f9595c4291 Merge "soc: qcom: hab: add the guest_shm.h header file" 2021-01-21 08:58:50 -08:00
qctecmdr
156d735064 Merge "usb: phy: qmp: add missing hardware orientation debug function" 2021-01-21 08:58:49 -08:00
qctecmdr
8fea7e8845 Merge "ion: msm: dump invalid heap id" 2021-01-21 08:58:49 -08:00
Harshdeep Dhatt
2f2e145e4b msm: kgsl: Take devfreq event lock for ddr qos vote
This lock protects against any concurrent governor re-assignments
through sysfs. Furthermore, such re-assignment can lead to another
issue i.e. say someone assigns performance governor to this device
from sysfs. Then there can be a mismatch in what kgsl intends to
vote, and what actually gets voted. Therefore, fix both the min and
max frequencies for this devfreq device at the desired qos level so
that the intended vote is propagated regardless of the governor.

Change-Id: Ibc3b0ef1f585dae311aab028d8c2bc9f1a53b4b8
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2021-01-21 09:30:01 -07:00
Akash Asthana
2fc4206629 serial: msm_geni_serial: Resolve race btw stop rx and DMA rx
Resolve potential race btw stop rx and DMA rx due to interrupt latency.

Change-Id: I3f9587390f7b471c5486b72c8c76fbd83b6c616b
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2021-01-21 18:33:32 +05:30
qctecmdr
bd07c963db Merge "defconfig: Enable IPC logs for sdxlemur" 2021-01-21 04:59:13 -08:00
qctecmdr
31b7bc4b6d Merge "cnss2: Add support XO Clock selection leakage prevention" 2021-01-21 04:59:13 -08:00
qctecmdr
58dc954a3e Merge "net: qrtr: print error case for qrtr receive" 2021-01-21 04:59:13 -08:00
qctecmdr
e1a635a475 Merge "soc: qcom: mem-offline: isolate freepages in pageblock boundaries" 2021-01-21 04:59:12 -08:00
qctecmdr
b6766e400a Merge "msm: kgsl: Add GPU snapshot to minidump" 2021-01-21 04:59:12 -08:00
qctecmdr
154883363d Merge "msm: ipa: add mechanism to configure aggregation timeout" 2021-01-21 04:59:12 -08:00
qctecmdr
1fb9e4026b Merge "devfreq: Add devfreq-cpufreq governor" 2021-01-21 04:59:12 -08:00
Yuanfang Zhang
c20a1bfcc7 coresight: cti: Solve boot up issue
Move the read register DVID operation to function show_info_show()
to avoid boot up issue.

Change-Id: Ice7f09f6dc77a93c2709cb3c34ae80efb67095c6
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
2021-01-21 02:24:26 -08:00
Pratham Pratap
9b04395cec usb: core: Reduce resume signalling time for devices behind external hub
Squashing commit 28f110a27130("usb: core: Add support to skip
extended bus resume delay") and e97aab2199f3("usb: core: Drive resume
for 20ms for devices behind external hub") with few modifications.

This change removes extra 40ms delay upon bus resume for the
exteral hub and reduce the resume signalling time from 40ms to
20ms for devices behind the external hub(s). Skipping extra
delay reduces over all bus resume latency.

Change-Id: I948626bbaae0c78553543347a1c7d5b8168c08cd
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2021-01-21 01:17:54 -08:00
qctecmdr
b0f3e1b860 Merge "clk: qcom: sm6150: define vdd_levels enum and vdd_corner[] map" 2021-01-21 01:09:21 -08:00
qctecmdr
6c81f26786 Merge "dt-bindings: msm: Add bindings for CSI PHY fuse support" 2021-01-21 01:09:20 -08:00
qctecmdr
82196787ec Merge "defconfig: gen3auto: Add IOMMU related configs" 2021-01-21 01:09:20 -08:00
qctecmdr
2568f47851 Merge "power: smb1398: Handle USB power path suspension appropriately" 2021-01-21 01:09:20 -08:00
qctecmdr
a0c321e210 Merge "cnss2: retry mhi suspend in case packets are pending in MHI layer" 2021-01-21 01:09:20 -08:00
qctecmdr
db07dbc01d Merge "net: aquantia: Change max supported IPA bandwidth" 2021-01-21 01:09:19 -08:00
qctecmdr
6efe743bf0 Merge "dmaengine: gpi: Log the assigned GPII per SE during probe" 2021-01-21 01:09:19 -08:00
qctecmdr
95cfe8c295 Merge "defconfig: Enable SMB1351 and other drivers for sdxnightjar" 2021-01-21 01:09:19 -08:00
qctecmdr
5e5bf5c150 Merge "drivers: pinctrl: qcom: Add SM6150 pinctrl driver" 2021-01-21 01:09:19 -08:00
qctecmdr
6c35b44472 Merge "defconfig: gen3auto: Enable LLCC driver" 2021-01-21 00:44:32 -08:00
qctecmdr
3909534a7a Merge "defconfig: sdxlemur: Remove CONFIG_NO_VM_RECLAIM" 2021-01-21 00:44:32 -08:00