Commit graph

894,770 commits

Author SHA1 Message Date
Prateek Sood
1d7e57ca56 pinctrl: qcom: enable/disable mpm wakeup bit when using gpio as IRQ
Enable/Disable mpm wakeup bit when using GPIO as IRQ.

Change-Id: Ia1c6fbdf9d6e45dd031a647fb14a9ffa662ba42c
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2021-02-14 20:12:53 -08:00
qctecmdr
f293862390 Merge "drivers: thermal: of-thermal: notify thermal zone only if it is enabled" 2021-02-14 17:27:00 -08:00
qctecmdr
44c3d4ae63 Merge "msm: net: Support for Removing SFE module" 2021-02-13 20:47:10 -08:00
qctecmdr
e8838d4c1c Merge "icnss2: Avoid qmi register/unregister in case of qmi failure" 2021-02-12 23:39:39 -08:00
qctecmdr
0c42bca88a Merge "gen_headers: Add and remove headers suggested" 2021-02-12 23:39:39 -08:00
qctecmdr
6e29ff97c6 Merge "usb: dwc3: dwc3-msm: Avoid overriding DBM_GEN_CFG register" 2021-02-12 23:39:38 -08:00
Lijuan Gao
9a03e8b6e4
defconfig: Add rtc and pwm drivers sdxnightjar
Enable rtc and pwm drivers for sdxnightjar.

Change-Id: I2001fb8a4b014341ec73238502924994ec6b5cd6
Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
2021-02-13 12:52:03 +05:30
Lijuan Gao
4bf87e95d8
defconfig: Add INPUT_QPNP_POWER_ON config for sdxnightjar perf build
Add INPUT_QPNP_POWER_ON config for sdxnightjar.

Change-Id: I75dab8528e4b94deaf34afce5ef013976420ba6b
Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
2021-02-13 12:49:18 +05:30
qctecmdr
1ac57cdc1b Merge "soc: qcom: memoffline: use a freezable unbounded workqueue for migration" 2021-02-12 18:58:25 -08:00
Venkata Rao Kakani
37a0a59392 gen_headers: Add and remove headers suggested
Add and remove headers which are missing and additionally added
to resolve compilation issues.

Change-Id: I2bdc34a33c13f84916d4e7570c579bfc2b1e9c98
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2021-02-12 18:41:59 -08:00
Wesley Cheng
4f73de4dd2 usb: dwc3: dwc3-msm: Avoid overriding DBM_GEN_CFG register
The current register write to DBM_GEN_CFG to update the current speed
is overwriting the entire register.  Avoid this, as this also
disables ZLT support on DBM.  During validation of QDSS, a QDSS data
stall was seen, as the QDSS BAM generated a ZLT, while DBM did not
enable it.  DBM ZLT support is recommended to be enabled in the HPG.

Change-Id: Ieef4a42d3ac6f2a836a5c25530492c95669047b0
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
2021-02-12 17:51:24 -08:00
qctecmdr
959d227164 Merge "gen_headers: add gen_headers file for auto targets" 2021-02-12 11:08:15 -08:00
qctecmdr
823c7ed02f Merge "usb: f_gsi: Allow user to specify MAC address for RNDIS/ECM" 2021-02-12 11:08:14 -08:00
qctecmdr
ce3f22ec62 Merge "defconfig: sdmsteppe: Enable PCIe, USB, Storage and Buses" 2021-02-12 11:08:14 -08:00
qctecmdr
51b976b235 Merge "msm: kgsl: Increase events worker thread priority" 2021-02-12 07:02:25 -08:00
qctecmdr
cf7c9052c5 Merge "soc: qcom: Add AMU register access interfaces" 2021-02-12 05:43:24 -08:00
qctecmdr
574374a780 Merge "arm64: Add MIDR values for kryo4xx gold cores" 2021-02-12 05:38:49 -08:00
qctecmdr
d53cbb3213 Merge "binder: update low_latency selection for binder transactions" 2021-02-12 05:36:34 -08:00
qctecmdr
748e075637 Merge "drivers: net: remove unused variables and functions" 2021-02-12 05:35:31 -08:00
qctecmdr
1969aa397b Merge "dwc3: gadget: Increase retry count from 500 to 3000 iterations" 2021-02-12 05:34:51 -08:00
qctecmdr
78368ddfd0 Merge "arm64: Add part number for Arm Cortex-A78" 2021-02-12 05:33:42 -08:00
qctecmdr
92b8871a9a Merge "cnss2: Handle -ETIMEDOUT properly for MHI power on failure" 2021-02-12 05:31:37 -08:00
qctecmdr
7438f6bfe1 Merge "scsi: ufs: update size of tx serdes phy block" 2021-02-12 05:30:31 -08:00
qctecmdr
6f360e9ab3 Merge "net: qrtr: Boot kpi for qmi readiness" 2021-02-12 05:29:44 -08:00
qctecmdr
1e3d3c21ec Merge "arm64: Add part number for Arm Cortex-A77" 2021-02-12 05:28:46 -08:00
qctecmdr
521e19a9f7 Merge "arm: psci: add psci_cpu_can_disable() function" 2021-02-12 05:27:25 -08:00
qctecmdr
48e87b1d80 Merge "icnss2: Free QDSS memory on every SSR" 2021-02-12 05:25:49 -08:00
qctecmdr
e7cefa2323 Merge "input: touchscreen: nt36xxx: Set parent of touch device" 2021-02-12 05:23:38 -08:00
qctecmdr
1e836c0f9c Merge "soc: qcom: Update the probe error path when rmb status register not present" 2021-02-12 05:22:00 -08:00
qctecmdr
f458693799 Merge "defconfig: Support for SSG HLOS drivers" 2021-02-12 05:19:33 -08:00
qctecmdr
c93ef1725e Merge "msm: pcie: Dump PCIe registers for hang event" 2021-02-12 05:13:52 -08:00
qctecmdr
8621549cc8 Merge "msm: kgsl: Remove undefined HLSQ register dump to A6xx snapshot" 2021-02-12 05:12:12 -08:00
qctecmdr
efb4f72fe2 Merge "defconfig: msm-5.4: Adding sfe support to sdxnightjar target" 2021-02-12 05:10:44 -08:00
Manaf Meethalavalappu Pallikunhi
07c514437c drivers: thermal: of-thermal: notify thermal zone only if it is enabled
There is a case where of-thermal invokes thermal zone re-evaluation
for a zone even if it is disabled during sensor violation. It may
lead to thermal zone throttling even if that thermal zone is disabled.

Update of-thermal to re-evaluate thermal zone only if it is in
enabled state.

Change-Id: I0764d4719668231d27b4e264c46e5593653d90b3
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2021-02-12 04:31:55 -08:00
Vijayavardhan Vennapusa
deca272425 USB: Fix compilation errors with host stack disabled
Compilation errors are seen if host configs are disabled. Hence
fix those errors to make compilation successful with host configs
disabled.

Change-Id: Ib6fa2820dfada44a7a3fdeb2b2a9b9a18953b31b
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2021-02-12 15:58:23 +05:30
Maciej Żenczykowski
0934349866 BACKPORT: bpf: add bpf_ktime_get_boot_ns()
On a device like a cellphone which is constantly suspending
and resuming CLOCK_MONOTONIC is not particularly useful for
keeping track of or reacting to external network events.
Instead you want to use CLOCK_BOOTTIME.

Hence add bpf_ktime_get_boot_ns() as a mirror of bpf_ktime_get_ns()
based around CLOCK_BOOTTIME instead of CLOCK_MONOTONIC.

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
(cherry picked from commit 71d19214776e61b33da48f7c1b46e522c7f78221)
Change-Id: Ifd62c410dcc5112fd1a473a7e1f70231ca514bc0
2021-02-12 01:58:59 -08:00
Paras Singh Jain
4131362502 msm: net: Support for Removing SFE module
This change allow handling of unregister netfilter hook
while removing SFE module.

Change-Id: Ic5ba52e82179e7496d27623edf92c6e64c35d19d
Acked-by: Vinisha Varre <vvarre@qti.qualcomm.com>
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2021-02-12 14:04:02 +05:30
Naman Padhiar
c7d8b088a7 icnss2: Free QDSS memory on every SSR
Free QDSS memory on every SSR and allocate it again
when QDSS trace memory indication is received from FW.

Change-Id: I1f4ed9dbfc597407992d2484deaf3767ce0d6c3c
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2021-02-12 13:43:50 +05:30
Vivek Golani
89a11065bc soc: qcom: Enable remote notification for local close
Adding support for some user space clients that want
a notification to be sent to remote subsystem when a
local close call is made.

Change-Id: I5641ad649ad30b995093e11187f0a80a09ea39e7
Signed-off-by: Vivek Golani <vgolani@codeaurora.org>
2021-02-12 12:31:26 +05:30
Sarthak Garg
3417de3d76 mmc: core: Update mmc_scale_high logic properly for HS400 mode
Current mmc_scale_high logic don't work well for HS400 mode.
Infact we are ending up selecting HS200 mode instead of HS400 mode.

Update mmc_scale_high logic properly for HS400 mode.

Change-Id: Ic4960268866c35dd94b5ea9b41a813fc36ba8a94
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2021-02-12 11:41:49 +05:30
Santosh Dronamraju
a2d9707657 defconfig: Support for SSG HLOS drivers
Enable QSEECOM,QRNG,smcinvoke config as modules.
Also enable the QTI crpto tz driver config, needed to enable
QTI inline encryption and disable HWKM as this is not
supported on HW.
1.CONFIG_QSEECOM=m
2.CONFIG_HW_RANDOM_MSM_LEGACY=m
3.CONFIG_QCOM_SMCINVOKE=m
4.CONFIG_QTI_CRYPTO_TZ=m.

Change-Id: Ie8730f1ab025d75ecbaf7c6937323e12b9438530
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
2021-02-11 22:02:46 -08:00
Santosh Dronamraju
41b3ee2015 soc: qcom: Update the probe error path when rmb status register not present
Some of the SoCs may not have support "rmb_general_purpose" register,
So handle the error path to load the firmware from kernel.

Change-Id: Id64c8e531bb6fe79ea40e6fa34b20aa2e1891ad8
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
2021-02-11 22:01:08 -08:00
Pramod Gurav
4e6b827af1 tty: serial: msm: Add suspend resume support
Add suspend/resume callback support to serial msm driver.

Change-Id: I661fca45d2d762a08e331f53d8b3cb7b99117448
Signed-off-by: Pramod Gurav <gpramod@codeaurora.org>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
2021-02-11 17:38:36 -08:00
Elliot Berman
993d65f16c Kbuild: Make composite object searching more generic
Reduce repeated logic around expanding composite objects in preparation
for later commit to support nested composite objects.

Change-Id: I9f2f4788bd4a85f105432e4827f9984cd488b647
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Signed-off-by: Jeff Johnson <jjohnson@codeaurora.org>
2021-02-11 17:01:51 -08:00
Elson Roy Serrao
456a371f11 usb: function: Clear function suspend related flags on config reset
Clear function suspend and remote wakeup related flags upon
config reset to restore the initial state.

Change-Id: I5178a9d5a37c301b97dc0ba9047cdb37725c0020
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
2021-02-11 09:06:59 -08:00
Neeraj Upadhyay
b7a740512b soc: qcom: Add AMU register access interfaces
Add AMU counters interfaces for Arm cortex-A76, cortex-A77
and cortex-A78 CPUs.

Change-Id: I81ae250fc5e1b2a2ffec904f4335f84f05543a83
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2021-02-11 22:33:39 +05:30
Mayank Rana
7254686210 dwc3: gadget: Increase retry count from 500 to 3000 iterations
DWC3 XMIT_DEV command is timing out for USB function wakeup functionality
with current 500 iterations (i.e. timeout comes around 300us). USB DWC3
controller shall take more time to process this particular command. Hence
increase retry count from 500 to 3000 iterations (i.e same as dwc3 endpoint
command timeout value) to have sucessful USB function wakeup functionality.

Change-Id: I1b5a9dd64a01ad9592a04c275beef77eaee523be
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2021-02-11 09:00:46 -08:00
Ritesh Kumar
7b9ad7bc49 input: touchscreen: nt36xxx: Set parent of touch device
Set parent of touch device so that sysfs path to be
used by TUI App is proper.

Change-Id: Ibb714151a2dcb6789428fdb0a9759a86568cd135
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2021-02-11 22:10:05 +05:30
Veera Vegivada
bc17d8bd35 defconfig: gen3auto: Enable led-qcom-clk driver
Enable clock controller based PWM driver which
will configure duty cycle based on brightness.

Change-Id: I6732507e42eac4123a757bf9f91e5e384d72698f
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-02-11 18:51:27 +05:30
Veera Vegivada
3b5d3bff0c leds: qcom-clk: Add clock controller based PWM driver
Duty cycle of the clock can be controlled by D register of the RCG.
Add support for configuring the duty cyles through LED framework's
brightness. Pinctrl settings are needed for configuring the pins to
output the core clock on the pin.

Change-Id: Id2dd3ef34943c07731e27ca8b7e1d04d1b8e231e
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-02-11 18:50:53 +05:30