Commit graph

889,457 commits

Author SHA1 Message Date
Manikandan Mohan
3fd5776306 cnss2: Setup interconnect path for bandwidth voting
Setup bandwidth voting data for different interconnect path configured
in device tree.

Change-Id: Icf69d2ca89c1978e7d6c2fd2c876d0365c577148
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-08-26 10:33:58 -07:00
qctecmdr
cf90c05d27 Merge "msm: kgsl: Remove VM_MAYWRITE flag to restrict mprotect" 2020-08-26 00:27:09 -07:00
qctecmdr
259941df19 Merge "msm: adsprpc: allow unsigned PD offload to secure channel" 2020-08-26 00:27:09 -07:00
qctecmdr
27c842bb53 Merge "msm: kgsl: Update preemption context record size for a660" 2020-08-26 00:27:08 -07:00
qctecmdr
51758060a0 Merge "cnss2: Wait for power up complete during SSR restart" 2020-08-26 00:27:08 -07:00
qctecmdr
74abb1f6bd Merge "defconfig: lahaina: Disable console on GKI builds" 2020-08-26 00:27:07 -07:00
qctecmdr
3535559198 Merge "cnss2: Use correct timer for forcing FW assert" 2020-08-26 00:27:07 -07:00
qctecmdr
bf233d6ffb Merge "defconfig: Enable CONFIG_VMSPLIT_3G_OPT" 2020-08-26 00:27:06 -07:00
qctecmdr
20318614fa Merge "dt-bindings: iio: add IIO channel IDs for QG device" 2020-08-26 00:27:05 -07:00
qctecmdr
cddf9787a3 Merge "arm64: defconfig: enable autosleep and wakelock configs" 2020-08-25 20:50:05 -07:00
qctecmdr
d1d8422b47 Merge "cnss2: Fix for static analysis issue" 2020-08-25 20:50:05 -07:00
qctecmdr
7d24c95d2b Merge "soc: mmrm: Multimedia Resource Manager interface" 2020-08-25 20:50:04 -07:00
qctecmdr
8baae46492 Merge "ANDROID: Revert "module: Refactor section attr into bin attribute"" 2020-08-25 20:50:04 -07:00
qctecmdr
7399f76820 Merge "drivers: thermal: cpu_voltage: Use the child device node" 2020-08-25 20:50:04 -07:00
qctecmdr
7965554ba6 Merge "NFC: Align DT property name with DTSI files" 2020-08-25 20:50:03 -07:00
Subbaraman Narayanamurthy
844516d943 Revert "input: qcom-hv-haptics: read CAL_TLRA_CL_STS from SDAM after boot up"
This reverts commit 7d3ecfd796.

This change had caused a regression with swr-haptics driver probe
as the soundwire master couldn't enumerate swr haptics. Revert
this until we can understand why soundwire enumeration fails.

Change-Id: Ie5840247013a1a3fab15758e9ace7b131619be49
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-08-24 15:27:02 -07:00
Mayank Grover
0afd6cbeae arm64: defconfig: enable CONFIG_DEBUG_PREEMPT for debug config
Enable CONFIG_DEBUG_PREEMPT for debug builds, to help
enable atomic context debugging.

Change-Id: I301b15dc4f780e00f5c9146fca8e8122fd2ce3f6
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
2020-08-22 03:44:26 -07:00
Shyam Kumar Thella
1074012e87 dt-bindings: iio: add IIO channel IDs for QG device
Add channel IDs required for QG IIO device to dt-binding includes.

Change-Id: I02a7d8348020345025a454cfa85740ec089ac6fd
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-08-22 02:42:36 -07:00
Jishnu Prakash
da167e08a9 power: supply: qcom: Add support to make SMB5 charger GKI compliant
SMB5 charger drivers and their helper files use several power supply
properties on msm-4.19 which cannot be supported on msm-5.4 due to the
need for GKI compliance. Add support for main charger to register
as an IIO device with individual channels under it corresponding to
missing power supply properties from msm-4.19.

Change-Id: I7182160258fa2ebd4af36b0531b11d988cffdbd3
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-22 10:37:14 +05:30
Jishnu Prakash
2e61611bb3 dt-bindings: iio: Add IIO channel numbers for QPNP-SMB5 charger
Add channel IDs required for QPNP-SMB5 IIO device's channels.

Change-Id: Id323424bfe66a396decc4babf248a2688438db75
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-22 10:09:12 +05:30
qctecmdr
f0e66e8900 Merge "arm64: defconfig: Set panic timeout and panic oops config" 2020-08-21 18:26:14 -07:00
Patrick Daly
fddc100d0a defconfig: Enable CONFIG_VMSPLIT_3G_OPT
sdxlemur will have at most 1GB of DDR, so allow all of it to be
mapped as lowmem instead of enabling CONFIG_HIGHMEM.

Change-Id: I89148d18e0be0c1d99795b7f49184bb5421af0f1
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2020-08-21 16:18:13 -07:00
Yue Ma
f9593505f8 cnss2: Use correct timer for forcing FW assert
When force FW assert, it should use RDDM timer instead of FW
boot timer since it expects FW entering RDDM mode.

Change-Id: Ic8498b0f3c23dc494267571da7f627eace9f91bd
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-08-21 15:35:43 -07:00
Prakruthi Deepak Heragu
c5f0d98fd9 defconfig: lahaina: Disable console on GKI builds
When serial driver is present in second stage ramdisk, it takes ~5 sec to
init the UART. All the data bufferred till then will have to be put onto
the console taking a console lock and this causes a watchdog bark. To
avoid this watchdog issue, disable the console. This also disables early
console.

Change-Id: Ibded81922cb735e3035fc960258213c4de1d6a74
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-08-21 14:26:38 -07:00
Shivendra Kakrania
6e86463009 soc: mmrm: Multimedia Resource Manager interface
MMRM interface is used to do admission control of
specific resources (eg: clock) of multimedia clients
(camera/display/video/cvp).

Change-Id: Ife92d31ab08c80c06467771e74d05ab1a9a8a54b
Signed-off-by: Shivendra Kakrania <shiven@codeaurora.org>
2020-08-21 10:43:27 -07:00
Murali Nalajala
9f543e181c arm64: defconfig: enable autosleep and wakelock configs
SVM going to rely on kernel autosleep feature to do suspend-to-RAM.
Enable required configurations to achieve suspend-to-RAM functionality.

Change-Id: Ie31abce7927c8b6b2ce5dad6f917f96c52e90803
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-08-21 08:57:20 -07:00
Murali Nalajala
a02a3e54b2 haven: configure dbl and msgq interrupts as wakeup capable
Configure dbl and msgq interrupts as wakeup capable to wake up the SVM
from suspend-to-RAM state.

Change-Id: I1825109736ace36c5c871d52dfefe4a320fea335
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-08-21 08:56:15 -07:00
Sandeep Singh
a9974f00fc defconfig: Enable CONFIG_NL80211_TESTMODE config for holi
This change enables CONFIG_NL80211_TESTMODE config for
wlan host driver in holi.

Change-Id: I0974f58a2f25c14991ff4a22b998827b0a579b95
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2020-08-21 13:33:27 +05:30
Harshdeep Dhatt
7d44d933cf msm: kgsl: Update preemption context record size for a660
Add per a6xx target member to specify the preemption record size
in case it is different than the default size for all a6xx.

Change-Id: I6e5579eae47dc4ee6707437d858b8b969fe573ea
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-08-20 17:30:20 -06:00
Ram Chandrasekar
83d14255e3 drivers: thermal: cpu_voltage: Use the child device node
The cooling device registration is using the parent node of the cpu
voltage cooling device. The devicetree configs are using the child node
to identify the cooling device. Switch to use the child device node, so
that the cooling device is bound with the thermal zone.

Change-Id: Id501421002c5dac7cb924455e09538a384ec9f85
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2020-08-20 16:05:36 -07:00
Manikandan Mohan
cd7f415867 cnss2: Wait for power up complete during SSR restart
Update SSR power up function to wait for FW recovery complete to
avoid race condition with linux PM sleep entry.

Change-Id: Ief0d64e7699956ba30f2ff84732e36f6b2fdc3b0
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-08-20 15:01:35 -07:00
Tapas Dey
8c7862e060 NFC: Align DT property name with DTSI files
Modified code in driver to align DT property
name with DTSI files.

Change-Id: I6423dcc68eb1dbf73c63240b128f41476caba99c
Signed-off-by: Tapas Dey <tdey@codeaurora.org>
2020-08-20 21:12:50 +05:30
qctecmdr
1e4aef37ea Merge "regulator: rpm-smd: Correct proxy regulator registration" 2020-08-20 04:00:19 -07:00
qctecmdr
b4566e9b72 Merge "coresight: tmc: Modified trigger number for reset CTI" 2020-08-20 04:00:19 -07:00
qctecmdr
6eda02cc70 Merge "spi: spi-msm-geni: Add support to disable dma mode for SPI transfers" 2020-08-20 01:26:16 -07:00
Jishnu Prakash
30b4881d6e regulator: rpm-smd: Correct proxy regulator registration
Correct the device passed for registering a proxy consumer supply
in the regulator device probe.

Change-Id: I33028648b66b922cb1132fd87ca8aa2be1b02799
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-20 12:16:05 +05:30
qctecmdr
dcf7c5cb14 Merge "mm: Allow pages that are swapped in to come from the movable zone" 2020-08-19 22:51:13 -07:00
qctecmdr
d0eb308301 Merge "power: qpnp-smb5: Fix Initialize mutex for PD typec designs" 2020-08-19 22:51:13 -07:00
qctecmdr
a16407c5cc Merge "arm64: defconfig: Trim genericarmv8 defconfig" 2020-08-19 20:17:49 -07:00
qctecmdr
cdc7a0e02c Merge "soc: qcom: eud: Fix inconsistent nature of the cmdline" 2020-08-19 20:17:49 -07:00
qctecmdr
05a56a8195 Merge "input: qcom-hv-haptics: toggle CAL_EN mode if HBST is in open loop" 2020-08-19 20:17:48 -07:00
qctecmdr
9b0287edec Merge "byte-cntr: Don't start usb transfer when rwp offset is invalid" 2020-08-19 20:17:48 -07:00
qctecmdr
50b6104974 Merge "defconfig: Enable scheduler Uclamp for Holi" 2020-08-19 20:17:47 -07:00
Mao Jinlong
1c03177d1a byte-cntr: Don't start usb transfer when rwp offset is invalid
Don't start usb transfer when rwp offset is invalid to avoid exception
happening when transfer usb data.

Change-Id: I7182ebb2e66131a21d65f7df0ad239c6346c0e9d
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-08-20 09:10:34 +08:00
Raghavendra Rao Ananta
bd9bea635c soc: qcom: eud: Fix inconsistent nature of the cmdline
The EUD driver's 'enable' command line argument is set to
EUD_ENABLE_CMD even if the bootloader hasn't enabled it,
which is not correct. Hence, update the 'enable' variable
based on the state of the hardware.

Change-Id: I1159436c0e9a803462f2154ccc05649d3f7b40da
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-08-19 17:11:37 -07:00
qctecmdr
2b77ca772b Merge "soc: qcom: mem-buf: Relinquish unclaimed donated memory" 2020-08-19 15:08:38 -07:00
qctecmdr
26773d2817 Merge "pci: pci-msm-msi: Re-name irq chip name for the driver" 2020-08-19 15:08:37 -07:00
qctecmdr
5e72daf3f2 Merge "pci: msm: Add support to handle ep driver requested link down" 2020-08-19 15:08:37 -07:00
Hemant Kumar
0d97dfe55c pci: msm: Add support to handle ep driver requested link down
In case PCIe endpoint driver infers link down because of
completion timeout for config space access or if link fails
to enumerate, ep driver can request to handle the link down.
This allows to stream line the link down notification to ep
driver to initiate recovery operation.

Change-Id: I652e60e570c1e90c9f96d1c197e4b5501cd60a1e
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-08-19 12:25:59 -07:00
Isaac J. Manjarres
84d7f52bcb mm: Allow pages that are swapped in to come from the movable zone
Pages that are swapped out are pages that can reside in the movable
zone. However, when they are swapped in, they are restricted to the
normal zone, when they can reside in the movable zone again. Set the
GFP flags accordingly for swapin allocations, so that they can be
satisfied from the movable zone.

Change-Id: I25919034a5197a1c4f830e498d32347aa460187f
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-08-19 10:36:06 -07:00