Commit graph

893,782 commits

Author SHA1 Message Date
Yue Ma
112dc33583 cnss2: Use CONFIG_INTERCONNECT to protect icc related APIs
This makes sure CNSS2 driver is able to work in the platforms and
kernels which do not have on-chip interconnect management feature.

Change-Id: I282ef1a282fab9ce4910e7ab914f26789b34ba64
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:02:30 -08:00
Yue Ma
872b48bc98 cnss2: Use CONFIG_QCOM_COMMAND_DB to protect MSM command DB APIs
This makes sure CNSS2 driver is able to work in non-MSM platforms
which do not have command DB feature.

Change-Id: I9551bfc639e6db0256e475a27db5dec87bce74ed
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:02:18 -08:00
Yue Ma
a7ae359deb cnss2: Use CONFIG_IPC_LOGGING to protect MSM IPC logging APIs
This makes sure CNSS2 driver is able to work in non-MSM platforms
which do not have IPC logging feature.

Change-Id: I4c8fe3eb45e38fd106f47c28f0e4da82b0bdf76f
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:02:07 -08:00
Yue Ma
9c8b92051d cnss2: Use proper flags to protect MSM memory dump APIs
This makes sure CNSS2 driver is able to work in non-MSM platforms
which do not have memory dump and mini dump features.

Change-Id: I5193deed941ff8e2e2ca2693150396a53eb3db7d
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:01:57 -08:00
Yue Ma
e0af665bc1 cnss2: Abstract of_reserved_mem_device_init() API
Currently in MSM platform reserved memory is attached to PCI
device of_node which may not apply to other non-MSM platforms.
Hence abstract the API using CONFIG_ARCH_QCOM flag.

Change-Id: Ic02b087c188b8dcb0959e17c80e72bb4021a725c
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:01:25 -08:00
Yue Ma
7e108a73af cnss2: Use empty tables for default regulators and clocks
Current default regulator and clock tables are for MSM platform
only. Use empty tables for non-MSM platforms by default so that
proper regulators and clocks can be added later based on platforms.

Change-Id: I2705d8ca2a0fde636f346f01e677a762b4cf92b7
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-02-04 22:01:10 -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