Commit graph

894,976 commits

Author SHA1 Message Date
Gauri Joshi
2b66ad4b59 msm: ep-pcie: Support 16.6 MHz Aux clock for PCIe Gen4 Controller
If the devicetree property for aux clock is present run the clock
at 16.6 MHz. Otherwise default aux clock value to 19.2 MHz.
Introduced for PCIe Gen4 support but can be used in the
future if controller needs 16.6 MHz clock support.

Change-Id: I8a4b3ab4cbd44938f1c9bf8fa91a791ba289ee10
Signed-off-by: Gauri Joshi <[email protected]>
2021-03-23 09:39:58 -07:00
qctecmdr
bae21357e6 Merge "arm64: defconfig: Enable scsi generic driver on gen3auto" 2021-03-23 09:33:15 -07:00
qctecmdr
60972d0d71 Merge "defconfig: autogvm: enable configs needed for API level 30" 2021-03-23 09:33:15 -07:00
qctecmdr
1cdcba9052 Merge "firmware: qcom_scm: update dependency for QCOM_SCM_QCPE config" 2021-03-23 09:33:14 -07:00
qctecmdr
97d76b6510 Merge "drivers: soc: qcom: rimps_memlat: add NULL check for vendor ops" 2021-03-23 09:33:14 -07:00
qctecmdr
1b40281e07 Merge "arm64: defconfig: Enable Regulator QTI debug support" 2021-03-23 09:33:14 -07:00
qctecmdr
974aae1fea Merge "power: supply: qti_battery_charger: Add extcon support" 2021-03-23 09:33:13 -07:00
qctecmdr
171ecfb993 Merge "mailbox: Enable qmp mailbox on direwolf" 2021-03-23 09:33:12 -07:00
Deepak Kumar
fcbe669554 msm: kgsl: Initialize fence only if it gets refcount on timeline
kgsl_timeline_get can return NULL incase timeline pointer is NULL
or refcount on timeline already went to zero. Current code is not
checking this and going ahead with fence initialization which could
result in invalid pointer access. Fix this by ensuring fence got a
reference count on timeline before proceeding with initialization.

Change-Id: I14d1355b1ea45e854bef8acf4afef53e0f4ceefc
Signed-off-by: Deepak Kumar <[email protected]>
2021-03-23 20:26:28 +05:30
Vinay Sudra
6174bd3ca7 defconfig: sdmsteppeauto: Enable ARM based SHA1
Enable ARM HW SHA1 Digest algorithm for faster
digest generation.

Change-Id: I752d54bd88031b6296cd60fa61cb9ec51f76d929
Signed-off-by: Vinay Sudra <[email protected]>
2021-03-23 05:52:25 -07:00
Vinay Sudra
2530ebc788 soc: qcom: Add driver to print xbl log on console from fs
Add driver to capture xbl log from reserved memory region
and print on console when user requests.

Use cat /sys/module/xbl_log/xbl_log to see xbl log.

Change-Id: I5d34a4be63244f354ce70cfac8df2724b6a0537b
Signed-off-by: Vinay Sudra <[email protected]>
2021-03-23 18:18:17 +05:30
Zhiqiang Tu
f5c7a39f34 defconfig: autogvm: Enable direwolf pinctrl driver
Enable direwolf pinctrl driver for automotive virtual machine
platform.

Change-Id: I2c071a1096af286287e1c997da356d08509011ef
Signed-off-by: Zhiqiang Tu <[email protected]>
2021-03-23 14:06:02 +08:00
Santosh Dronamraju
bcafa784a1 defconfig: Enable block encryption and fallback
Enable block encryption and corresponding fallback
CONFIG_BLK_INLINE_ENCRYPTION=y
CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK=y.

Change-Id: Iebde1d8ec1150ddfe453c554f50a4c67002cbcb1
Signed-off-by: Santosh Dronamraju <[email protected]>
2021-03-23 11:12:50 +05:30
Ritesh Kumar
15ec2bf27f input: touchscreen: focaltech: Skip gpio operations in SPI TUI
Skip reset/irq gpio operations in SPI Trusted Touch.

Change-Id: Ief00045af6ddac55681814042148b416f9ffa552
Signed-off-by: Ritesh Kumar <[email protected]>
2021-03-22 22:30:51 -07:00
Arun Prakash
dc1f819f5b mailbox: Enable qmp mailbox on direwolf
Enable qmp mailbox on direwolf.

Change-Id: I48b8e088933af521f4bf629d2a58deb0245a44da
Signed-off-by: Arun Prakash <[email protected]>
2021-03-23 10:43:10 +05:30
qctecmdr
4dff56a429 Merge "arm: defconfig: Enable CONFIG_HID_AKSYS_QRD and CONFIG_AKSYS_QRD_FF" 2021-03-22 21:55:51 -07:00
qctecmdr
e31d7404f7 Merge "pinctrl: qcom: function group for qup11_f*,qup13_f* instances for blair" 2021-03-22 21:55:51 -07:00
Kiran Gunda
b5b08a09f7 power: qti_typec_class: Add typec class support for micro USB
Add typec class support for micro USB to show the data/power role
options in UI.

Change-Id: I83c0afa6ef9098a85d6c66e076e6a506d945c7fd
Signed-off-by: Kiran Gunda <[email protected]>
2021-03-22 21:49:13 -07:00
Kiran Gunda
6e9701d99a power: supply: qti_battery_charger: Add extcon support
Add extcon support for micro USB to notify the USB driver
about the USB device and host mode.

Change-Id: If526b4476fd3c320129f3d74ed9afc185cf99538
Signed-off-by: Kiran Gunda <[email protected]>
2021-03-22 21:49:05 -07:00
Singa Reddy Dasari
672ca98c18 arm64: defconfig: Enable scsi generic driver on gen3auto
Enable scsi generic driver on gen3auto to support slot switch.

Change-Id: I501b6fc83cdc57cec5ad0beb686dc6b034634a2d
Signed-off-by: Singa Reddy Dasari <[email protected]>
2021-03-23 10:08:43 +05:30
Singa Reddy Dasari
7be93e542b defconfig: autogvm: enable configs needed for API level 30
Enable Configs for API level 30. These are needed for android support.

Change-Id: I041b2deaf8d68a0a908252bee08efab5b5d8b76f
Signed-off-by: Singa Reddy Dasari <[email protected]>
2021-03-23 10:01:31 +05:30
Santosh Mardi
d1040ccec3 drivers: soc: qcom: rimps_memlat: add NULL check for vendor ops
Vendor ops will remain NULL in case of SCMI failures during
initialization.

Update store min and max functions to check for NULL before
accessing vendor ops structure.

Change-Id: I5a93a7161d8d01510f7d580c25e268fdc113df6b
Signed-off-by: Santosh Mardi <[email protected]>
2021-03-22 21:31:17 -07:00
Rahul Sharma
4201acd054 soc: qcom: hab: add send/recv total msg count
This stat can be used to determine if there is any
message lost between hab_vchan_send and hab_vchan_recv.

Change-Id: I37be3e0a1359315e213399b9f91b18158006cd3e
Signed-off-by: Rahul Sharma <[email protected]>
Signed-off-by: Yong Ding <[email protected]>
2021-03-23 12:07:29 +08:00
katamoni sai abhilash
e0984c780d firmware: qcom_scm: update dependency for QCOM_SCM_QCPE config
QCOM_SCM_QCPE config is dependent on HAB channel to communicate with
Backened.

Change-Id: I2c272f0ac5eea80f36596828fd08ff8932f4539b
Signed-off-by: katamoni sai abhilash <[email protected]>
2021-03-22 19:24:26 -07:00
Veera Vegivada
fac59fb22f arm64: defconfig: Enable Regulator QTI debug support
Enable runtime debugfs control of regulator parameters such as enable
state, voltage, load current, and bypass state.

Change-Id: I8919c831637c1f905edc68651a2669bf344c0c64
Signed-off-by: Veera Vegivada <[email protected]>
2021-03-23 07:48:00 +05:30
Yue Ma
87bf73007e cnss2: Use unified API to get RDDM and recovery timeouts
Get RDDM and recovery timeouts from unified cnss_get_timeout() API
for better readability.

Change-Id: I3e869aa46fb5d36335ce7fe215e5483a56093880
Signed-off-by: Yue Ma <[email protected]>
2021-03-22 18:17:00 -07:00
qctecmdr
2b4df556b2 Merge "net: stmmac: Add multi queue support" 2021-03-22 15:08:54 -07:00
Mukesh Kumar Savaliya
0d201b55bb spi: spi-msm-geni: Don't touch GPIOs per each xfer for LA VM
This change is to fix the GPIOs being configured to sleep state
after every transfer on LA side for TVM usecase. SPI framework
calls unprepare_transfer_hardware for every message transferred,
driver tries to keep PINs to sleep state and hence it goes to GPIO
mode making LE transfer to fail.

For TVM usecases, it's expected that Client controls the SOC infra
resources including PINs, hence GPIOs must be configured to sleep
state when client ends the session. With this change, we are keeping
GPIOs in LA configured active state for the LE VM session.

Change-Id: I58c7a0b919750cf47b382eebc08f3de097cbfeef
Signed-off-by: Mukesh Kumar Savaliya <[email protected]>
2021-03-22 12:32:26 -07:00
Harshdeep Dhatt
8ed160d88b msm: kgsl: Fix context leak in aux_command ioctl
Currently, after timeline drawobj creation it is not
immediately added to local drawobj list as a result
if kgsl_drawobj_add_timeline fails this drawobj is
leaked. As the timeline drawobj upon creation takes
a refcount on the context this leak also results in
context leak. Fix this by adding timeline drawobj to
local drawobj list immediately after creation.

Change-Id: I30f85506595ad7a7c54e82a7e850c96e7cdcbefd
Signed-off-by: Harshdeep Dhatt <[email protected]>
Signed-off-by: Deepak Kumar <[email protected]>
2021-03-22 09:14:04 -07:00
Suraj Jaiswal
33fdbe772f net: stmmac: Add multi queue support
Add multi queue support for PTP, AVB traffic.

Change-Id: I083fe8fa306b01da7d1baf2ef3b13c914329dd17
Acked-by: Nagarjuna Chaganti <[email protected]>
Signed-off-by: Suraj Jaiswal <[email protected]>
2021-03-22 07:37:48 -07:00
Suraj Jaiswal
f5cfd4ff35 net: stmmac: Enable PPS0 on bootup
Enable PPS0 for 19.2 MHz frequency on initializing PTP.

Change-Id: I15d5fc2d15dd38926970ac7a61f9362604a860a8
Acked-by: Nagarjuna Chaganti <[email protected]>
Signed-off-by: Suraj Jaiswal <[email protected]>
2021-03-22 07:37:03 -07:00
Suraj Jaiswal
66fb692b89 net: stmmac: SDx55: add pps signal and interrupts support
Add ioctl support to handle and generate pps siganal &
interrupt.Add device nodes for pps interrupts to interact
with user space.

Change-Id: I401326443e69bfd0fb37986004bdc47f41dc57b7
Acked-by: Nagarjuna Chaganti <[email protected]>
Signed-off-by: Suraj Jaiswal <[email protected]>
2021-03-22 07:36:31 -07:00
qctecmdr
f8f43c1e5e Merge "clk: qcom: Add 2nd UFS virtio clocks for sa8195p" 2021-03-22 06:48:30 -07:00
qctecmdr
bf9040dc9e Merge "pinctrl: qcom: function group for qup11_f* instance for holi" 2021-03-22 06:48:29 -07:00
Deepak Kumar
08481e28e2 msm: kgsl: Correct locking in timeline destroy and fence release
Both "timeline->lock" and "fence_lock" are required to be held
while accessing timeline fence list and "timeline->lock" is
required to be held while signaling timeline fences. This is
not followed during timeline destroy and fence release resulting
in an invalid fence pointer access during timeline destroy. Fix
this by acquiring required locks at both places.

Change-Id: I353a6b9dece666c25d702c004a8bdabcac6d10a3
Signed-off-by: Deepak Kumar <[email protected]>
2021-03-22 18:33:37 +05:30
Ashish Bhimanpalliwar
3eb339b755 pinctrl: qcom: function group for qup11_f*,qup13_f* instances for blair
Add function group for qup11_f*,quop13_f* instance for blair target,
used by spare i2c usecases and msm_geni_serial console driver
respectively.

Change-Id: I800e7f6f9a13e9605385364f5f6c6bb37d591ad0
Signed-off-by: Ashish Bhimanpalliwar <[email protected]>
2021-03-22 15:55:51 +05:30
Mayank Grover
4ad42f5fe5 defconfig: blair: Enable Blair pinctrl
Enable config option to use blair pin control.

Change-Id: I1e091406f2bdc457b9034f9c6dd6db37720d9024
Signed-off-by: Mayank Grover <[email protected]>
2021-03-22 15:47:33 +05:30
Mayank Grover
9becf18fb4 pinctrl: qcom: Add support for blair SoC pin control
Add support for blair pin configuration and control
via pinctrl framework.

Change-Id: I15b424ea5d7d6bdcb55224ac0964496da16e0db5
Signed-off-by: Mayank Grover <[email protected]>
2021-03-22 15:45:27 +05:30
Jeya R
73635df5e3 msm: adsprpc: overflow vulnerability by race condition in adsprpc driver
Create local copy of current->comm to avoid the possibility of modification
in race condition.

Change-Id: Ie10f6577ed7edb9279a36039348e7a1ad25239f9
Acked-by: Nishant Chaubey <[email protected]>
Signed-off-by: Jeya R <[email protected]>
2021-03-22 15:41:31 +05:30
Yue Liu
5cb36e9233 arm: defconfig: Enable CONFIG_HID_AKSYS_QRD and CONFIG_AKSYS_QRD_FF
Due to support AKSys gamepad USB adapter, CONFIG_HID_AKSYS_QRD
and CONFIG_AKSYS_QRD_FF needs to be enabled.

Change-Id: I2116516b3eb2236468124760a036ec198a471df9
Signed-off-by: Yue Liu <[email protected]>
2021-03-22 02:42:08 -07:00
qctecmdr
09f4de94dc Merge "coresight-tmc-etr: Fix deadlock issue while switching mode" 2021-03-22 00:50:46 -07:00
Mayank Grover
7a2620f882 pinctrl: qcom: function group for qup11_f* instance for holi
Add function group for qup11_f* instance for holi target,
used by spare i2c usecases.

Change-Id: I69fea8a8ac846a5bc5e92e5f8d8eb5ccd9e57450
Signed-off-by: Mayank Grover <[email protected]>
2021-03-22 11:33:09 +05:30
qctecmdr
e2ae22f904 Merge "defconfig: autogvm: Enable QCOM_SCM, QCOM_SCM_QCPE, QSEECOM" 2021-03-21 18:58:35 -07:00
qctecmdr
fe7314a523 Merge "arm64: defconfig: Enable PDC irqchip, cmd_db and rpmh drivers" 2021-03-21 08:59:52 -07:00
qctecmdr
3af6ed8815 Merge "backlight: qcom-spmi-wled: Add support to configure slew ramp time" 2021-03-21 03:56:49 -07:00
qctecmdr
50deea12d0 Merge "Bluetooth: Assert XO GPIO before asserting BT_EN" 2021-03-21 00:09:17 -07:00
qctecmdr
582bbc43ee Merge "soc: qcom: soc_sleep_stats: Update driver to support legacy targets" 2021-03-21 00:09:17 -07:00
qctecmdr
64d1f8e622 Merge "switch: qcom: enable PCI device and set BME" 2021-03-21 00:09:16 -07:00
katamoni sai abhilash
b33a5e7884 defconfig: autogvm: Enable QCOM_SCM, QCOM_SCM_QCPE, QSEECOM
Enable QCOM_SCM, QSEECOM in quin VM defconfigs and also enable
QCOM_SCM_QCPE to support SCM backend via QCPE.
Disable CONFIG_QCOM_RTIC as it is invoking SCM call before HAB
channel creation.

Change-Id: Id91f6e924cc66d51c7af2ad4c3298ea85bdca933
Signed-off-by: katamoni sai abhilash <[email protected]>
2021-03-21 11:47:12 +05:30
Veera Vegivada
edfbd7af10 arm64: defconfig: Enable PDC irqchip, cmd_db and rpmh drivers
This change enables PDC irqchip, cmd_db and rpmh drivers as module.

Change-Id: I57ff2ca5e468ff4243bb8ce3a065a228e7bf9008
Signed-off-by: Maulik Shah <[email protected]>
Signed-off-by: Veera Vegivada <[email protected]>
2021-03-20 20:09:26 +05:30