Commit graph

898,925 commits

Author SHA1 Message Date
Hemant Kumar
07b8db841b arm: defconfig: Enable PCI Express ASPM control driver
PCIE ASPM control driver is compliant to PCIE specification.
Hence use this driver in powersupersave mode.

Change-Id: I02f91836a26eb3d9af279c05352bef079b56217a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2021-05-14 12:19:59 -07:00
qctecmdr
bc352de957 Merge "clk: qcom: gcc-blair: Add support for USB BCRs" 2021-05-14 10:11:01 -07:00
qctecmdr
67ca943684 Merge "usb: dt-bindings: Add USB QMP PHY registers definition" 2021-05-14 10:11:01 -07:00
qctecmdr
24c4201353 Merge "msm: kgsl: Fix spinlock recursion issues" 2021-05-14 10:11:00 -07:00
qctecmdr
53bb20e6d9 Merge "msm: kgsl: Fix overflow issue by checking user supplied count" 2021-05-14 10:11:00 -07:00
qctecmdr
c9f02a2e78 Merge "msm: kgsl: set regulator mode before disable it on a640/a680" 2021-05-14 10:10:59 -07:00
qctecmdr
1608d19644 Merge "serial: msm_geni_serial: Check for dev_port->is_console flag for cosole" 2021-05-14 10:10:59 -07:00
qctecmdr
6513b8e391 Merge "msm: kgsl: Fix black screen when enabled protected context on A680" 2021-05-14 10:10:59 -07:00
qctecmdr
daa038186f Merge "usb: xhci: Avoid calling wakeup_enable without set_wakeup_capable" 2021-05-14 10:10:58 -07:00
qctecmdr
7cab85a033 Merge "defconfig: sdmsteppeauto: Add flags to see wakeup inturrupt during LPM" 2021-05-14 09:39:22 -07:00
qctecmdr
97f97fed5e Merge "cnss2: Add pci link recovery check after the register dumps" 2021-05-14 09:39:21 -07:00
qctecmdr
3de00e0bc4 Merge "usb: dwc3-msm: Add markers for peripheral bus resume" 2021-05-14 09:39:21 -07:00
qctecmdr
d0ce056b72 Merge "drivers: uart: initialize spin_lock before use" 2021-05-14 09:39:21 -07:00
qctecmdr
a67908f7ac Merge "defconfig: Add CONFIG_DEBUG_INFO for sdx12" 2021-05-14 09:39:20 -07:00
qctecmdr
3a9c7c52e7 Merge "soc: qcom: ddr_stats: API to read ddr residency" 2021-05-14 09:39:20 -07:00
qctecmdr
44fc2c8005 Merge "soc: qcom: hab: Add HAB fixes, and workarounds, for GHS" 2021-05-14 09:39:20 -07:00
qctecmdr
ea045f5208 Merge "dt-bindings: clock: Add support for clock ids for SCUBA" 2021-05-14 09:39:19 -07:00
qctecmdr
5af89e546a Merge "cnss2: Add code to print return value of BDF download failure" 2021-05-14 09:39:19 -07:00
qctecmdr
720bd5fe2a Merge "arm64: Kconfig: Add config option ARCH_SA2150P" 2021-05-14 09:39:19 -07:00
qctecmdr
c274e5f062 Merge "STMMAC: msm: Add io macro setting for 10Mpbs" 2021-05-14 09:39:18 -07:00
qctecmdr
df52b0feef Merge "defconfig: Compile icnss2 as part of vmlinux in monaco" 2021-05-14 09:39:18 -07:00
Linyu Yuan
54060b2bc8 usb: misc: nb7vpq904m: fix disconnect api
if failed to stop active transfer in USB gadget mode,
currently gadget state will change to disconnect mode,
redriver will change to disable mode when usb call redriver disconnect,
it can't enable again if there is no new adsp notification,
usb super speed will not work again.

it should not change redriver mode to disable, but it can only write
register to disable and keep current software mode.

Change-Id: I3b8aa4140482564948bc8e25c4ef2532f4e641fa
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
2021-05-14 12:50:58 +08:00
Yue Ma
a7ed86496f cnss2: Move power on and bus init to the end of platform probe call
Device power on and bus init should happen when all platform related
init are done since it means all platform configs are ready and it is
good to bring up device. Hence move them to the end of platform probe
call.

Change-Id: I22a69be4a25de6f8c45994dca23f6f631fd1474f
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-05-13 10:44:20 -07:00
Kamal Agrawal
728f6ccf7f
msm: kgsl: Correctly check for room in context queue
Currently, _wait_for_room_in_context_queue checks space for a single
draw object. This can lead to buffer overflow if multiple drawobjects
are submitted. Fix this by checking space for appropriate number
of draw objects.

Change-Id: I9144d7eebf0f93fe438e15606efc70eb42746d7e
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
2021-05-13 21:44:14 +05:30
Ravikanth Tuniki
da05beeacd input: touchscreen: nt36xxx: Avoid i2c transfer in LA during TUI
Synchronize Touch Interrupt and TUI Enable Session to avoid I2C Transfer.

Change-Id: I44d6819316717bf0ed4b6bff6601a7749a97b921
Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
2021-05-13 06:02:45 -07:00
Suraj Jaiswal
077ed2a116 arm64: defconfig: Enable devmem
Enable devmem for target.

Change-Id: I75c0eaf8eb8bb4be5850e9482c52f2e155db879b
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-05-13 02:52:18 -07:00
Paras Sharma
e58b4f7097 serial: msm_geni_serial: Do not check for uport->suspended flag for suspend
During system suspend, uart_suspend_port() marking port->suspended flag
to true before calling stop_rx and pm_ops for unvoting the clocks
for console. After this when stop_rx called we are continuous getting
cancel IRQ and ISR handler is returned with port->suspended check.
This is leading to IRQ storm in console UART usecase.

To avoid this replace uport->suspended check in handle isr with
new flag added during resources_off so that we will handle stop_rx during
system suspend for console case.

Change-Id: I4666b727ff5c5b041280a05f3cdd44bb5f73bc16
Signed-off-by: Paras Sharma <parashar@codeaurora.org>
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2021-05-13 13:27:39 +05:30
Rohan Sethi
df6dfd9a14 msm: kgsl: Set snapshot_atomic only after passing all checks
Ensure that the device is powered on and memory is successfully
allocated before setting device->snapshot_atomic to true.

Change-Id: Id11b13e51acb26e024cbed7d8e58940c6e0292a2
Signed-off-by: Rohan Sethi <rohsethi@codeaurora.org>
2021-05-13 13:22:09 +05:30
Veera Vegivada
b407f2238b dt-bindings: clock: update dt-bindings for QCS404
Add new bindings  GCC_BIAS_PLL_MISC_RESET_CLK, GCC_BIAS_PLL_AHB_CLK,
GCC_BIAS_PLL_AON_CLK, GCC_BIAS_PLL_BCR.

Change-Id: If81baec4fc90a3b5fa0ae7ace2e4b2639bc84113
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-05-13 13:11:43 +05:30
Sneh Shah
61137422c4 net: stmmac: fix compilation warnings for module
Fix compilaiton warnings when stmmac is compiled as module.

Change-Id: I1e87584e8a2a7d4384acb845f42088b681056f79
Signed-off-by: Sneh Shah <snehshah@codeaurora.org>
2021-05-13 12:55:23 +05:30
Veera Vegivada
3030757021 clk: qcom: qcs405: define vdd_levels enum and vdd_corner[] map
Define a vdd_levels enum and vdd_corner[] mapping table which
can be used by clock controller drivers to configure the
vdd_class associated with their clocks.

Change-Id: Ie2ea878c10335a5d30ad4519bc3e85d10a8bd8e4
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-05-13 12:55:01 +05:30
Ritesh Kumar
ae9bfff2a1 input: touchscreen: nt36xxx: fix irq enable/disable sequence
This change fixes touch irq enable/disable sequence during
suspend resume.

Change-Id: Icc793c96fd86b8c6cf3d2a4d024d86cd9e322f5b
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2021-05-13 12:39:43 +05:30
Hareesh Gundu
4bdfdd52f5 msm: kgsl: Add support for KGSL_PROP_VK_DEVICE_ID
Usermode driver expect vulkan device id info from kernel.
Add new KGSL_PROP_VK_DEVICE_ID property support to provide
vk-device-id information.

Change-Id: Ib4f6872fcd3a956caeaad6e7c9f534d7c8e87305
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2021-05-13 12:38:16 +05:30
qctecmdr
f716cd752c Merge "msm: ep-pcie: Correct two CAP reg offsets" 2021-05-12 23:55:16 -07:00
qctecmdr
ff3d25b276 Merge "clk: qcom: gdsc: Update the BLK_ARES assert/deassert delay" 2021-05-12 23:55:16 -07:00
qctecmdr
5b628b2f9a Merge "usb: phy: Drive a pulse on DP on CDP detection" 2021-05-12 23:55:15 -07:00
qctecmdr
dbb99d92c2 Merge "cnss2: Fix invalid assignment due to type mismatch" 2021-05-12 23:55:15 -07:00
Udipto Goswami
d6aab69a01 usb: xhci: Avoid calling wakeup_enable without set_wakeup_capable
Commit 6076cdc395 ("usb: host: Disable system wakeup if remote
wakeup is not required")has introduced a check in xhci_plat_probe
where if device_may_wakeup is set for the parent device, then
device_wakeup_enable is called on xhci-plat, but calling
device_wakeup_enable without device_set_wakeup_capable is useless.

Now when xhci_plat_suspend is called the xhci_suspend will check
for device_may_wakeup and here the result will be FALSE.
In xhci suspend the do_wakeup is checked, if FALSE then it will
try to call xhci_disable_port_wake_on_bits where it will try
to do a readl operation. This will lead the core to hang since
xhci is already suspended and we tried to do a readl.

Fix this by replacing device_wakeup_enable with device_init_wakeup.
This will set the do_wakeup to be true and therefore avoid calling
xhci_disable_port_wake_on_bits and bail out when checked for
HCD_HW_ACCESSIBLE.

Change-Id: Id3fad841ebe07b777dc229ced36364ad31e6d81d
Signed-off-by: Udipto Goswami <ugoswami@codeaurora.org>
2021-05-13 11:40:05 +05:30
Kai Liu
14996cdfd9 cnss2: Sending host feature list to FW
Update host capability message to inform host capability,
FW uses this information to decode host enabled feature list.
Enable clock selection feature when xo_clk_gpio is set in DTS.

Change-Id: Iea7e5863c67a29cfc9ff1fa7c654aeef6da48524
Signed-off-by: Kai Liu <kaliu@codeaurora.org>
2021-05-12 21:59:23 -07:00
Kai Liu
cac626e275 cnss2: add support to advertise MLO host capabilities
Updated the QMI host capability message to inform about the
MLO host capabilities. FW uses information to initialize the
MLO related data structures.

Change-Id: Ib1d4d2adbd664907e6abd13d4370dc7b33d41b0d
Signed-off-by: Kai Liu <kaliu@codeaurora.org>
2021-05-13 12:54:34 +08:00
Hui Li
7972d3a6ac msm: kgsl: Fix black screen when enabled protected context on A680
This bit should only be set when CM3_CGC clock gating is enabled,
Otherwise always live CM3 clock will make dead loop in CM3 clock
control FSM, No Effect If this bit is set to 0, this is the default
behavior.

Change-Id: I9052182bd05e38433e11bbfdfa1f1c48c980fc9b
Signed-off-by: Hui Li <hul@codeaurora.org>
2021-05-13 11:30:40 +08:00
qctecmdr
3ecdedce1b Merge "defconfig: monaco: add stm proto basic" 2021-05-12 19:00:45 -07:00
qctecmdr
4beeba5338 Merge "arm: defconfig: enable thermal drivers for monaco" 2021-05-12 16:18:45 -07:00
qctecmdr
ed787f8498 Merge "soc: qcom: ddr_stats: update driver to get reg in probe" 2021-05-12 13:36:29 -07:00
qctecmdr
552a812707 Merge "msm: kgsl: Fix snapshot collection for ib1" 2021-05-12 08:42:25 -07:00
qctecmdr
146fa24541 Merge "soc: qcom: smem: Fix compilation warning" 2021-05-12 08:42:25 -07:00
Dundi Raviteja
e555369a25 defconfig: Compile icnss2 as part of vmlinux in monaco
Currently icnss2 for monaco is compiling as serperate
kernel module, change it to compile as part of vmlinux.

Change-Id: Ifb175f9f3b418edbe5df5836b8f02e41a11898bc
CRs-Fixed: 2944263
Signed-off-by: Dundi Raviteja <dundi@codeaurora.org>
2021-05-12 05:57:48 -07:00
qctecmdr
7909de7b54 Merge "sched: walt: Fix stale walt CPU reservation flag" 2021-05-12 05:57:27 -07:00
Mohammed Siddiq
a5aea06283 cnss2: Add code to print return value of BDF download failure
Add code to print return value of BDF download failure.

Change-Id: Ifca293d00eeae98fb8a6a0f81bba853c8d382cd3
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2021-05-12 05:09:26 -07:00
Shreyas K K
52e382719a arm64: Kconfig: Add config option ARCH_SA2150P
Add config option to support SA2150P architecture
platform.

Change-Id: Ic1acd38fdafa2d3011506ed5240b3f30c4a1d44d
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
2021-05-12 17:08:06 +05:30