Commit graph

893,762 commits

Author SHA1 Message Date
Kavya Nunna
e2a23c00a3 power: smb1351-charger: Notify usb driver for ss hub
Notify usb driver with extcon notification for
ss hub enumeration.

Change-Id: I3e6748a791bb424505aa937da52a99cd48b496a3
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
2021-02-17 11:44:25 +05:30
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
Utkarsh Saxena
1dd7764c9e kernel: changes to enable tcpdump in sfe
The change includes passing the packet structure to the sfe module
which includes functional pointer to tpacket_rcv needed for tcpdump
log collection.

Change-Id: Icab7663dac3f7b8681386b96945b7e170a4325f3
Acked-by: Rishav LNU <rna@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2021-02-01 15:11:25 +05:30
Chris Lew
4b705a8072 net: qrtr: haven: Rearrange init order
Doorbells can be received immediately after registering. Ensure the
qrtr endpoint has been registered and initialized before enabling the
rx doorbell.

The tx doorbell should be done before registering the endpoint since
the qrtr core logic can attempt to send immediately after registration.

Change-Id: Ice332b4a053ea6e78bfded1e3625d8c527917e7b
Signed-off-by: Chris Lew <clew@codeaurora.org>
2021-01-29 14:29:53 -08:00
Subbaraman Narayanamurthy
d37101dfc3 power: supply: qpnp-qg: Fix some error logs
When battery_id is set to a value for which there exists no
battery profile, QG driver prints error logs frequently as
some properties doesn't exist.

[ 4305.969087] QG-K: qg_get_charge_counter: Failed to get FCC for charge-counter rc=-19
[ 4305.969123] QG-K: qg_iio_read_raw: Couldn't read IIO channel 73, rc = -19
[ 4305.976657] QG-K: qg_iio_read_raw: Couldn't read IIO channel 83, rc = -19
[ 4305.989355] QG-K: qg_iio_read_raw: Couldn't read IIO channel 84, rc = -19

Fix this by changing pr_err() to pr_err_ratelimited(). While at
it, change a pr_err() to pr_debug(). Also fix an error log to
correct that the error is for reading IIO channel and not for a
property.

Change-Id: I936409d4ffafd664c571976d17ec4baf1b8de218
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2021-01-29 14:25:15 -08:00
Chris Lew
daa0f471a9 net: neuron: channel: Move waitq init
Initialize the waitq before registering with the doorbell framework to
prevent uninitialized variable access.

Change-Id: Icb902b829a6af52716713b18891e4e35c0c2a620
Signed-off-by: Chris Lew <clew@codeaurora.org>
2021-01-29 13:15:21 -08:00
Michael Adisumarta
b2340800e8 msm_rmnet.h: Add new ioctl to add any number of parameters of any size
This also includes new extended ingress-egress ioctls for configuring
system pipe.

Change-Id: I96f3d57037f32e1f904737439cacc8026f7cdb1f
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-01-29 12:19:36 -08:00
Ravi Joshi
39893ddd65 WLAN subsystem: Sysctl support for key TCP/IP parameters
It has been observed that default values for some of key tcp/ip
parameters are affecting the tput/performance of the system. Hence
extending configuration capabilities to TCP/Ip stack through
sysctl interface.

Change-Id: I4287e9103769535f43e0934bac08435a524ee6a4
CRs-Fixed: 507581
Signed-off-by: Ravi Joshi <ravij@codeaurora.org>
Signed-off-by: Ganesh Babu Kumaravel <kganesh@codeaurora.org>
Signed-off-by: Mohit Khanna <mkhannaqca@codeaurora.org>
Signed-off-by: Manjunathappa Prakash <prakashpm@codeaurora.org>
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2021-01-29 16:50:05 +05:30
Pratham Pratap
9bbf449b96 usb: dwc3: Clear err_evt_seen flag on disconnect
Currently err_evt_seen flag is cleared only while clearing
run/stop. Consider a case where err_evt_seen flag is set and
controller is swtiching from peripheral mode to host mode.
Now, from dwc3_gadget_pullup driver will bail out since the
flag is set. Also since softconnect flag is not set run_stop
will not get cleared from vbus_session(0), leaving the err
evt_seen flag set. If any interrupt is generated then driver
will bail out from interrupt handler without processing the
interrupt, which can lead to irq storm. Fix this by clearing
the err_evt_seen flag in disconnect and also add a judgement
in pullup so that driver can proceed with clearing run/stop
if softconnect is cleared, even with the err_evt_seen flag is
set.

Change-Id: Ib7026dca8b4e76e943832419b19cef180ca96171
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2021-01-29 16:07:00 +05:30
Archit Saxena
256f833781 defconfig: Add PIL config to defconfig fragment
Add PIL related config to monaco config fragment.

Change-Id: Ie91fef05193280fec15c906f23a3e9e4268808c4
Signed-off-by: Archit Saxena <archsaxe@codeaurora.org>
2021-01-29 02:16:08 -08:00
Rohith Kollalsi
f98fb1fc9e usb: dwc3: Set current accordingly based on type of charger detection
For ADSP based charger detection set the current for all
charger types as it will again be handled on ADSP side.
Other wise set current only for SDP charger which is usb
based charger. For NON ADSP based charger detection if
'iio-channel-names' is passed in the device tree, charger
detection is done through iio channel or else it is
done by power_supply_get_property.

Change-Id: I17e65448459318ad26b7a2c36742296afa5f0adf
Signed-off-by: Rohith Kollalsi <rkollals@codeaurora.org>
2021-01-29 14:47:38 +05:30