Commit graph

894,906 commits

Author SHA1 Message Date
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
Maulik Shah
6c489d377b irqchip: qcom-pdc: Add support for direwolf PDC
This change adds support for direwolf PDC irqchip.

Change-Id: Id4c651fd57d72eca59fb978ffe10ce383d74e920
Signed-off-by: Maulik Shah <[email protected]>
2021-03-20 20:08:35 +05:30
Maulik Shah
2f5ff159f7 pinctrl: qcom: Add GPIO to PDC wakeirq map for direwolf
This change adds GPIO to PDC wakeirq map.

Change-Id: I249e40bb2b499761bf024f726fb37ae1c76878f8
Signed-off-by: Maulik Shah <[email protected]>
2021-03-20 20:07:12 +05:30
Taniya Das
2bf474bf4b clk: qcom: gdsc-regulator: Add missing support
Some GDSCs have side effects when enabled without first
performing a special reset sequence.  It is only feasible for
this sequence to be performed by the always-on processor (AOP)
when it is resuming from system sleep.  Add support for a device
tree flag which can be specified in order to skip physically
disabling a GDSC when regulator_disable() is called.  The AOP
will then ensure that the GDSC is disabled upon entering system
sleep and appropriately reset upon resuming from system sleep.

Also change the is_enabled() callback so that it returns the
GDSC logical enable state instead of the physical enable state
whenever the disable skipping flag is specified.  This ensures
that all dependent regulator and bus requests are made in the
case of disabling and re-enabling a GDSC without entering system
sleep (i.e. when the GDSC shows up as still physically enabled.)

If the disable skipping feature is allowed in device tree, then
use regulator_set_mode() to control the feature's usage at
runtime.  This is needed for SM8150 gpu_cx_gdsc in order to
facilitate GMU hang recovery.

REGULATOR_MODE_NORMAL (default) --> physical GDSC disable skipped
REGULATOR_MODE_IDLE             --> physical GDSC disable occurs.

Change-Id: I3966fd1ac59acef215c4c051efb293a49e5ebdbd
Signed-off-by: Taniya Das <[email protected]>
2021-03-20 20:04:04 +05:30
Umesh Vats
61d912b937 Bluetooth: Assert XO GPIO before asserting BT_EN
Make change in sequence to assert XO GPIO before BT_EN
GPIO is asserted for valid  latch in HW.

Change-Id: Ibe3bd668adb284c861619d3b195006b7e9b106eb
Signed-off-by: Umesh Vats <[email protected]>
2021-03-19 15:20:56 -07:00
Mohammed Siddiq
b4b85607c2 cnss2: Add CNSS wrapper function for msm_pcie_reg_dump()
Add CNSS wrapper function for msm_pcie_reg_dump() which is a
MSM PCIe specific API. It will also facilitate to support third
party attachment for upcoming targets.

Change-Id: I21b767323aae65d9dc02b628ee54c2c2e115524b
Signed-off-by: Mohammed Siddiq <[email protected]>
Signed-off-by: Yue Ma <[email protected]>
2021-03-19 11:29:03 -07:00
qctecmdr
df5785991c Merge "defconfig: gen3auto: enable configs needed for cpu isolated mask" 2021-03-19 10:22:35 -07:00
qctecmdr
3d2ed87d82 Merge "scsi: ufs: Allow secondary ufs storage device to probe" 2021-03-19 10:22:35 -07:00
qctecmdr
cdee44a8c2 Merge "defconfig: steppeauto: Enable scsi generic driver on sdmsteppeauto" 2021-03-19 10:22:34 -07:00
Singa Reddy Dasari
fe3446fc2b defconfig: steppeauto: Enable scsi generic driver on sdmsteppeauto
Enable scsi generic driver on sdmsteppeauto to support slot switch.

Change-Id: I3e64d89518013301327b8649fa1668bfdfdabe33
Signed-off-by: Singa Reddy Dasari <[email protected]>
2021-03-19 07:37:20 -07:00
Jishnu Prakash
64f8184a88 backlight: qcom-spmi-wled: Add support to configure slew ramp time
Add support to configure slew ramp time for brightness change for
PM7325B by adding a DT property named "qcom,slew-ramp-time".
Also set slew rate to lowest value when enabling or disabling WLED
to ensure fast turning on/off of display and restore it to the
specified value when display is turned on.

Change-Id: I63ae34702b934f45ffab39d521a6ecc0a6c8ccd5
Signed-off-by: Jishnu Prakash <[email protected]>
2021-03-19 18:16:08 +05:30
qctecmdr
d0f098ffa8 Merge "defconfig: autogvm: Enable btpower" 2021-03-19 05:39:42 -07:00
qctecmdr
c2a9dda1f2 Merge "defconfig: Enable MPM, SPM and legacy LPM drivers" 2021-03-19 05:39:41 -07:00
qctecmdr
a15b82b8bb Merge "interconnect: qcom: lahaina: Configure QoS during probe" 2021-03-19 05:39:41 -07:00
qctecmdr
df0f2b21c8 Merge "soc: qcom: hab: add the buffer size sanity check for exporting a buffer" 2021-03-19 05:39:41 -07:00