Commit graph

894,643 commits

Author SHA1 Message Date
Raghavendra Kakarla
e48c59bf5a drivers: soc: qcom: Enable SPM driver
Enables the support SPM and AVS wrapper hardware.

Change-Id: I2525d5fadf5be318f55ce722c26e598640af926f
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 10:10:15 -07:00
Hari babu
baae1562c6 cpuidle: lpm_levels: Replace remote spinlock
Remove deprecated remote spinlock usage, added changes to write
the tid value into mutex lock register.

Change-Id: I031566b4038df53a99306c34db427c5929d68483
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Hari babu <haribabu@codeaurora.org>
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: Haribabu Gattem <haribabu@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 10:09:57 -07:00
Sivasri Kumar Vanka
7aac6c873e lpm_levels_legacy: Rectified compilation errors
Compilation failed, due to updated function declarations lpm_levels
driver where the lpm_levels_legacy driver is not updated in parallel
Rectified all errors occurred during compilation for mdm9607 target.

Change-Id: Iacb6ce9949454a949bcba90a8e8285ca18b832d5
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: Haribabu Gattem <haribabu@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 09:51:03 -07:00
Maulik Shah
d23cd81540 cpuidle: lpm-levels: Enable LPM support for non psci target
Add non psci legacy lpm support. Modify and align changes
for clock event, MPM and cpu hotplug for LPM callback notification.

Remove deprecated scheduler c-state(idle cpu), d-state(idle cluster)
setting from lpm driver.

Snapshot is taken from msm-4.9 kernel version @commit b9ad452666da39.
("soc: qcom: bgrsb: Increase time out for RSB channel opening").

Change-Id: I8958ab4f098cc6d875071e3f100b8b74845e0cfa
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Haribabu Gattem <haribabu@codeaurora.org>
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Signed-off-by: Suresh Kumar Allam <allamsuresh@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 09:50:56 -07:00
Prasada Rao Durvasula
606af3eccb soc: qcom: Add add cpu idle v7 support for mdm9607
This is snapshot of idle v7 as of msm-3.18.c8.
'commit 69da6b6721b'.

Change-Id: I01adeac3d8b53b855300a3a12714e035b758a8c4
Signed-off-by: Prasada Rao Durvasula <pdurvasu@codeaurora.org>
Signed-off-by: Suresh Kumar Allam <allamsuresh@codeaurora.org>
Signed-off-by: Shiva Niranjan <shia@codeaurora.org>
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 22:17:28 +05:30
qctecmdr
2c8ec6785e Merge "cnss2: Add WCN7850 device ID to cnss_get_bus_type() API" 2021-03-15 02:15:21 -07:00
qctecmdr
1fa617f95c Merge "cnss2: Remove deprecated CNSS_BDF_DUMMY type" 2021-03-15 02:15:21 -07:00
qctecmdr
88b27033e8 Merge "Disable ASD regulator if HST is attached" 2021-03-15 02:15:20 -07:00
qctecmdr
dd16bdeab5 Merge "cnss2: Disable L7E regulator & S2E regulator vote for Lahiana+HST" 2021-03-15 02:15:20 -07:00
qctecmdr
c2d5faac4e Merge "soc: qcom: Improve msm_minidump_remove_region api" 2021-03-15 02:15:19 -07:00
qctecmdr
ba8b1f3da9 Merge "soc: qcom: Add sysfs node to communicate with AOP using QMP protocol" 2021-03-15 02:15:19 -07:00
qctecmdr
f3725ab89d Merge "defconfig: monaco: Enable data/net related configs" 2021-03-15 02:15:18 -07:00
Sandeep Singh
e9d3bea389 cnss2: Disable L7E regulator & S2E regulator vote for Lahiana+HST
Add code to disable L7E & S2E regulator vote for Lahaina+HST.

Change-Id: I2ea9320642f06bb65c4b1c697a8fc9c71a3b22f8
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2021-03-15 11:18:21 +05:30
qctecmdr
8a7d4fed84 Merge "Use environment variable to find unifdef tool for auto target" 2021-03-12 09:54:29 -08:00
qctecmdr
bdf9093b71 Merge "msm:npu: Add npu virtualization support" 2021-03-12 09:54:28 -08:00
qctecmdr
73c021ac03 Merge "drivers: thermal: pe_sensor: enable pe interrupt as wake up interrupt" 2021-03-11 21:11:06 -08:00
qctecmdr
2ac2ac4b3f Merge "slim-msm-ngd: Do not enable/disable core irq in SSR/PDR notifications" 2021-03-11 21:11:06 -08:00
qctecmdr
695867227f Merge "cnss2: Check CNSS_MHI_POWER_OFF state in cnss_pci_suspend_bus()" 2021-03-11 21:11:05 -08:00
qctecmdr
92257be40e Merge "defconfig: sdxlemur: Realtek IOSS glue driver switch to v2" 2021-03-11 21:11:05 -08:00
qctecmdr
49eadde2ab Merge "defconfig: sdmsteppeauto: enable configs needed for API level 30" 2021-03-11 21:11:05 -08:00
qctecmdr
f8e927fde5 Merge "defconfig: gen3auto: enable configs needed for API level 30" 2021-03-11 21:11:04 -08:00
qctecmdr
8d7cb7baf1 Merge "msm: mhi: core: Return error on failure to get tsync time" 2021-03-11 21:11:04 -08:00
qctecmdr
45e958b803 Merge "hwmon: qti_amoled_ecm: return avg_current as 0 upon error exceptions" 2021-03-11 21:11:04 -08:00
qctecmdr
9cc8d7e2b5 Merge "cnss2: Fix 60s timeout while search regdb.bin failure" 2021-03-11 21:11:03 -08:00
qctecmdr
7aa8936604 Merge "arm64: defconfig: compile debugcc statically" 2021-03-11 21:11:03 -08:00
qctecmdr
b310be31e1 Merge "soc: spcom: unvote for sp regulators" 2021-03-11 21:11:03 -08:00
Yue Ma
a927e9701d cnss2: Add WCN7850 device ID to cnss_get_bus_type() API
WCN7850 device ID is missing from cnss_get_bus_type() API.
Hence add it.

Change-Id: I9eaf82dadcf715fb8a5d223a432b0135ccd0a6a7
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-03-11 12:07:07 -08:00
qctecmdr
cc681776ca Merge "msm: kgsl: Avoid copying aux_command_generic struct twice" 2021-03-11 10:14:26 -08:00
qctecmdr
fbabbd2280 Merge "msm: kgsl: Configure UCHE GMEM base address based on GMEM size" 2021-03-11 10:14:26 -08:00
qctecmdr
18b2685bee Merge "cnss2: Update driver to support multiple devices" 2021-03-11 10:14:26 -08:00
qctecmdr
12351b846c Merge "soc: qcom: hgsl: Fix fence leak issue" 2021-03-11 10:14:26 -08:00
qctecmdr
cebe8978eb Merge "defconfig: autogvm: Enable virtio fastrpc driver config" 2021-03-11 10:14:25 -08:00
Jilai Wang
03139b74fa msm:npu: Add npu virtualization support
This is initial driver change to support npu virtualization.

Change-Id: I8e5070cc3d3b9cd3a1d15d00deeef9700f6428ec
Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
2021-03-11 11:28:17 -05:00
Vinay Sudra
cd0a4a0cb7 Use environment variable to find unifdef tool for auto target
Add --unifdef option to gen_headers_arm_auto.bp and
gen_headers_arm64.bp.

Change-Id: Ie48e8ae1ff413d6e5c7d6b4ecda6604c12fd9ec5
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-11 18:44:27 +05:30
Amir Samuelov
f2508e2eee soc: spcom: unvote for sp regulators
Some power regulators are voted by SPSS UEFI driver,
that needs to be unvote by HLOS.

Change-Id: I6d9f24c3937188b316d5912751c48207f3b8ab85
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2021-03-11 14:29:21 +02:00
Veera Vegivada
cd36cfd9da arm64: defconfig: compile debugcc statically
Compile debugcc driver statically instead of module.

Change-Id: I5f464578bf9946a8ac7d919dc32755a011042757
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-03-11 17:34:06 +05:30
Vinay Sudra
63636f6c48 soc: qcom: Add sysfs node to communicate with AOP using QMP protocol
This driver allows clients to send messages to Alway On processor
using QMP transport. Users can echo a frequency into an exposed sysfs
node to send to AOP. The driver expects the Cap frequency of DDR based
on SKU.

Change-Id: I083c1ec2da6990c5815550f897069ff27c6b7617
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-11 17:01:21 +05:30
Singa Reddy Dasari
4e76f79931 defconfig: sdmsteppeauto: enable configs needed for API level 30
Enable Configs for API level 30. These are needed for android support.

Change-Id: I62c0ab4266211716e54a76197e872e8288a10d6a
Signed-off-by: Singa Reddy Dasari <singredd@codeaurora.org>
2021-03-11 16:39:17 +05:30
Singa Reddy Dasari
f760fdede8 defconfig: gen3auto: enable configs needed for API level 30
Enable Configs for API level 30. These are needed for  android support.

Change-Id: Ib59eb8ea8a85c7f2a4af4318353dbe16b033616f
Signed-off-by: Singa Reddy Dasari <singredd@codeaurora.org>
2021-03-11 16:35:12 +05:30
Vivek Pernamitta
84986630be msm: mhi: core: Return error on failure to get tsync time
Return error code on failure to get tsync time though sys entry.

Change-Id: I46302b5af314325f752aaf586b4ca6cd4608d82a
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
2021-03-11 15:49:40 +05:30
Anuj Garg
b12aa9c799 defconfig: autogvm: Enable virtio fastrpc driver config
Enable virtio fastrpc driver config for quin virtual
machine.

Change-Id: I1c7c7c5136949eefbfed2a0a0225c200e0909f8b
Signed-off-by: Anuj Garg <anujgarg@codeaurora.org>
2021-03-11 14:16:10 +05:30
Kasin Li
e424cb2f47 soc: qcom: hgsl: Fix fence leak issue
sync_file_create increases refcount of fence, so need release dma fence
handler after it.

Change-Id: I3cc60d6a7e8a32138bfee611864cee00c2ac7dd3
Signed-off-by: Kasin Li <donglil@codeaurora.org>
2021-03-11 16:08:40 +08:00
priyankar
361cb9feac Disable ASD regulator if HST is attached
This patch contains changes for disabling
ASD regulator if HST is attached.

Change-Id: Ic1f6515861600f8bebc1d065ce51d7df5a3f28db
Signed-off-by: priyankar <prigup@codeaurora.org>
2021-03-10 23:43:55 -08:00
qctecmdr
f2a1ad8d8c Merge "cnss2: Avoid dereferencing pointer before NULL check" 2021-03-10 23:22:10 -08:00
qctecmdr
d4a0e6d870 Merge "usb: dwc3-msm: Mandate pwr_evt_irq only for cores allowing SSPHY suspend" 2021-03-10 23:22:10 -08:00
qctecmdr
b645e42107 Merge "net: stmmac: removed unused variable" 2021-03-10 23:22:10 -08:00
qctecmdr
9c40b052d9 Merge "msm: ice: Add support for ICE-FDE full disk encryption" 2021-03-10 23:22:09 -08:00
qctecmdr
05d912cfb5 Merge "slatecom_interface: add slatecom_interface driver" 2021-03-10 19:37:21 -08:00
qctecmdr
43c25dc2a0 Merge "drivers: virtio_fastrpc: Add PM notifier to unblock user process" 2021-03-10 19:37:21 -08:00
qctecmdr
e5bd1aef80 Merge "USB: f_fs: Fix disconnect check during ongoing IO" 2021-03-10 15:24:04 -08:00