Commit graph

893,779 commits

Author SHA1 Message Date
Yue Ma
2dc22bc62d cnss2: Use CONFIG_PCI_MSM to protect MSM PCIe APIs
This can ease the complexity to port CNSS2 driver to non-MSM
platforms while still be able to maintain the compatibility.

Change-Id: I268cdd90c59085b34aa2fe3c3b845d60c4e2a417
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-05 17:31:07 -08:00
Yue Ma
dc0ecaca75 cnss2: Set initial target PCIe link speed to Gen2 for QCA6490
Since there may be link issues if QCA6490 device boots up with Gen3
link speed, always set initial target PCIe link speed to Gen2. Device
is able to change it (back) later at any time if needed.

Change-Id: I9d617d71926fe98e59e67aff772984878e0a2689
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-05 17:30:27 -08:00
Tony Truong
d0cb56ec45 msm: pcie: provide client the ability to control PCIe target_link_speed
There are usecases where clients want to change the maximum GEN
speed that PCIe can link up with. Provide clients the ability to
control the maximum PCIe GEN speed to for such usecases.

Change-Id: I834bee2063133546c9b0ebac2d5328ffbc5ceac6
Signed-off-by: Tony Truong <truong@codeaurora.org>
2021-02-05 12:54:14 -08:00
qctecmdr
7141e265d8 Merge "ARM64: defconfig: enable kgsl driver" 2021-02-04 04:20:35 -08:00
qctecmdr
9d2aa50e8c Merge "icnss2: Add support to enable IO Coherency" 2021-02-04 04:20:35 -08:00
qctecmdr
72571c4baf Merge "usb: gadget: f_gsi: Handle IPA remote wakeup notification properly" 2021-02-04 04:20:34 -08:00
qctecmdr
00dcbc2cbe Merge "defconfig: Disable upstream SOUNDWIRE driver for sdxnightjar" 2021-02-04 04:20:34 -08:00
qctecmdr
3c7b7b5379 Merge "neighbour: Prevent a dead entry from updating gc_list" 2021-02-04 04:20:34 -08:00
qctecmdr
07afb6af62 Merge "interconnect: qcom: Add OSM L3 support on SM6150" 2021-02-04 04:20:33 -08:00
qctecmdr
92ca465653 Merge "mm: skip speculative path for non-anonymous COW faults" 2021-02-04 04:20:33 -08:00
qctecmdr
d6a42214ab Merge "usb: phy: snps: Enable autoresume for FS/HS peripherals only" 2021-02-03 19:56:16 -08:00
qctecmdr
0fd88e79e4 Merge "defconfig: sdmsteppeauto: Enable SPMI PMIC drivers" 2021-02-03 19:56:15 -08:00
qctecmdr
2fd8b50117 Merge "icnss2: Use correct pointer to access icnss_priv state" 2021-02-03 19:56:15 -08:00
qctecmdr
7bdfe17c46 Merge "defconfig: sdxlemur: Enable serial on sdxlemur perf" 2021-02-03 12:03:01 -08:00
qctecmdr
8ca355864f Merge "interconnect: qcom: Add qos configuration for scshrike" 2021-02-03 12:03:01 -08:00
qctecmdr
3c93f5a7d9 Merge "backlight: qcom-spmi-wled: Change the SYNC toggle sequence" 2021-02-03 12:03:00 -08:00
qctecmdr
5190cfa369 Merge "defconfig: Add CNSS_UTILS config for monaco" 2021-02-03 12:03:00 -08:00
qctecmdr
86b4635874 Merge "power: smb5-lib: Add additional check to exit charge-termination WA" 2021-02-03 12:03:00 -08:00
qctecmdr
4e99832122 Merge "qcom: step-chg-jeita: Add support for jeita fcc scaling" 2021-02-03 12:02:59 -08:00
qctecmdr
1faf1e1bfc Merge "msm: kgsl: Remove debugfs directory inside lock" 2021-02-03 12:02:59 -08:00
qctecmdr
38c98d8133 Merge "defconfig: arm64: Enable MAX31760 Fan Controller for Lahaina HHG" 2021-02-03 12:02:58 -08:00
qctecmdr
53aeef0d99 Merge "msm_rmnet.h: Add new ioctl to add any number of parameters of any size" 2021-02-03 12:02:58 -08:00
qctecmdr
c4f0b4f1f6 Merge "kernel: changes to enable tcpdump in sfe" 2021-02-03 07:49:39 -08:00
qctecmdr
2b839629df Merge "defconfig: Add PIL config to defconfig fragment" 2021-02-03 07:49:39 -08:00
qctecmdr
9ce344985c Merge "defconfig: Add SPMI config for sdxnightjar perf build" 2021-02-03 07:49:39 -08:00
qctecmdr
10564f5015 Merge "defconfig: enable memory dump on sdxlemur" 2021-02-03 07:49:38 -08:00
qctecmdr
46942c3812 Merge "Bluetooth: Add conditional check before requesting gpio" 2021-02-03 07:49:38 -08:00
qctecmdr
f4dfd154e3 Merge "drivers: soc: rename block device nodes" 2021-02-03 07:49:38 -08:00
qctecmdr
75f7b23e75 Merge "iommu: arm-smmu: optimize arch write sync delay" 2021-02-03 07:49:38 -08:00
qctecmdr
092a8d06db Merge "defconfig: Enable cnss for sdxnightjar" 2021-02-03 07:49:37 -08:00
qctecmdr
1d2c6f3cc9 Merge "usb: gsi: Initialize 'info' with zero" 2021-02-03 07:49:37 -08:00
qctecmdr
b7903c2301 Merge "interconnect: qcom: Enable QoS for Yupik" 2021-02-02 06:56:40 -08:00
qctecmdr
3b61092dd4 Merge "net: qrtr: haven: Rearrange init order" 2021-02-02 06:56:39 -08:00
qctecmdr
53446469f9 Merge "net: qrtr: Revert lock sock changes in qrtr_recvmsg" 2021-02-02 06:56:39 -08:00
qctecmdr
a455836680 Merge "input: touchscreen: focaltech: cancel pending resume work" 2021-02-02 06:56:39 -08:00
Ajay Agarwal
4ee28c3cb7 usb: phy: snps: Enable autoresume for FS/HS peripherals only
Currently the driver enables autoresume for all the connected
peripherals. In a case where an LS device is connected but fails
the enumeration, this autoresume enablement is leading to PHY
keeping the Dm pulled up even when the peripheral is detached.
Hence, the detach hs_phy_irq is never fired and disconnect is
not processed.
Since remote wakeup from LS peripherals is not a requirement on
our platforms, enable autoresume for FS/HS devices only.

Change-Id: I0a62d08e58af18b523af322c64529f5183d55907
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2021-02-01 22:59:05 -08:00
Ajay Agarwal
fe6ad78765 usb: dwc3-msm: Set host mode HSPHY speed flags based on CCS
Currently the driver checks whether the PED bit of the PORTSC
register is set to decide whether any device is connected, and
then checks the PORTSPEED field to check for the speed and
accordingly updates the HSPHY speed flag with LS or FS/HS. Hence,
the PDC is programmed to fire HS_PHY_IRQ only on the rising edge
of Dp/Dm.
In a case where the connected peripheral has failed to enumerate,
the PED bit can be cleared by the host driver. When such a device
is disconnected, there is no HS_PHY_IRQ fired to wakeup SW and
disconnect handling does not happen.
Fix this by setting HSPHY speed flags based on the CCS bit of the
PORTSC register so that the PDC is programmed to fire HS_PHY_IRQ
on the falling edge of Dp/Dm.

Change-Id: I122d170434da19fd6aeb022a5fa8a85f1ea6f541
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2021-02-01 22:58:44 -08:00
Veera Vegivada
f3936114ce defconfig: sdmsteppeauto: Enable SPMI PMIC drivers
Enable MFD SPMI PMIC driver and several SPMI and PMIC drivers
which are needed to provide baseline support of PMIC peripherals.

Change-Id: I965b40eb0931c2e22e9fab28626e9ca753ad3ff8
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-02-02 11:27:05 +05:30
qctecmdr
8e71903aa7 Merge "arm64: defconfig: Enable clock controllers for SM6150" 2021-02-01 21:25:04 -08:00
Minghao Zhang
9899d8bfba defconfig: arm64: Enable MAX31760 Fan Controller for Lahaina HHG
Enable MAX31760 Fan Controller for Lahaina HHG.

Change-Id: I1b8d588ee25ff1a788c85b8cfd2cfaf7ffd5858f
Signed-off-by: Minghao Zhang <minghao@codeaurora.org>
2021-02-01 20:22:41 -08:00
Veera Vegivada
22f7eed317 interconnect: qcom: Add qos configuration for scshrike
Enable qos configuration for the interconnect nodes.

Change-Id: Id841c208f9cdca6509fe20b1d846c7202286397e
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-02-02 09:26:43 +05:30
Melody Olvera
e6bfca4b0e defconfig: sdxlemur: Enable serial on sdxlemur perf
Enable serial on sdxlemur perf builds.

Change-Id: Ib6740e5c3e7d754457532ccf0918e8ba39bc2e96
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
2021-02-01 15:18:11 -08:00
qctecmdr
503b958af6 Merge "mmc: host: sdhci-msm: Don't clear IO_PAD_PWR_SWITCH when faking 3V support" 2021-02-01 13:34:03 -08:00
qctecmdr
bba3255a66 Merge "soc: qcom: Fixed interrupts not work on sdxnightjar" 2021-02-01 13:34:03 -08:00
qctecmdr
ba929c2d6f Merge "usb: dwc3: Set current accordingly based on type of charger detection" 2021-02-01 13:34:02 -08:00
qctecmdr
3e6e29afed Merge "usb: dwc3: Clear err_evt_seen flag on disconnect" 2021-02-01 13:34:01 -08:00
qctecmdr
08ae823c39 Merge "msm: kgsl: Add GBIF L2 CGC control with A6x CGC" 2021-02-01 13:34:01 -08:00
qctecmdr
6a8be39791 Merge "WLAN subsystem: Sysctl support for key TCP/IP parameters" 2021-02-01 13:34:01 -08:00
qctecmdr
9b3af48029 Merge "power: supply: qcom: Add support to make SMBLITE charger GKI compliant" 2021-02-01 13:34:01 -08:00
Minghao Zhang
f4fda140fd max31760: Maxim Fan Controller Driver
This adds support for MAX31760 Fan Controller.
Fan is enabled and its speed can be controlled.

Change-Id: Ie716b8558ebbd357f85d2484eaa66121eb09f52d
Signed-off-by: Minghao Zhang <minghao@codeaurora.org>
2021-02-01 21:18:09 +08:00