Commit Graph

1013011 Commits

Author SHA1 Message Date
Amrit Anand
dacdf7a6aa drivers: qcom: llcc: Update SCT table for neo
Updating SCT table support for neo target.

Change-Id: I89e07507a663a16140c79e144e148d2ef25d8721
Signed-off-by: Amrit Anand <quic_amrianan@quicinc.com>
2022-06-01 16:52:06 +05:30
Rohan Sethi
a59a0ef09b arm64: defconfig: Enable KGSL process reclaim for Parrot
Enable KGSL process reclaim feature on Parrot SoC.

Change-Id: Ibceedea2bfe360a99598b69c614888173fefcfb2
Signed-off-by: Rohan Sethi <quic_rohsethi@quicinc.com>
2022-06-01 16:51:31 +05:30
qctecmdr
a8d83bbf37 Merge "msm: kgsl: Initialize cx gate completion before notifier registration" 2022-06-01 02:17:35 -07:00
Rakesh Kota
424454604b neo: Add bq27xxx_battery.ko to modules.list of neo le/la
Enable bq27xxx_battery modules for neo LE/LA platforms.

Add bq27xxx_battery.ko to modules.list.neo_le and
module.list.neo_la, to enable loading during first
stage init.

Change-Id: I7261b3ed0143100edd20bdf49b8101417da78429
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
2022-06-01 12:15:43 +05:30
qctecmdr
0ae5d57fd8 Merge "msm: kgsl: Update recovered flag correctly for GMU based targets" 2022-05-31 23:27:28 -07:00
Raviteja Narayanam
31dad7d31f msm: kgsl: Do not take snapshot during reset path
Currently, snapshot is triggered even during reset path.
Due to this, faultcount is incremented twice for each fault
that involves recovery. Fix this by preventing snapshot
trigger during reset path.

Also, remove setting gmu_fault in gmu_core_fault_snapshot
as it is done inside kgsl_device_snapshot.

Change-Id: I5db423263f4975bb80e68101b568e14a460c1bf5
Signed-off-by: Raviteja Narayanam <quic_ravnar@quicinc.com>
2022-06-01 11:17:34 +05:30
qctecmdr
9e21459034 Merge "soc: qcom: llcc-qcom: Add scratchpad slice data for neo" 2022-05-31 12:15:21 -07:00
qctecmdr
0e1935ffeb Merge "i2c: i2c-msm-geni: Add error bits to handle error inside ISR" 2022-05-31 12:15:20 -07:00
qctecmdr
376de1ffcb Merge "defconfig: Enable CONFIG_QCOM_RUN_QUEUE_STATS for neo_la" 2022-05-31 07:57:22 -07:00
qctecmdr
bf8cc3b210 Merge "arm64: defconfig: enable MHI configs for anorak" 2022-05-31 07:57:21 -07:00
qctecmdr
d1650771e8 Merge "defconfig: parrot: Add additional timeout configs" 2022-05-31 07:57:20 -07:00
qctecmdr
2087556c6f Merge "arm64: defconfig: Enable arm smmu selftest config for ravelin" 2022-05-31 07:57:19 -07:00
qctecmdr
bb4f794083 Merge "Revert "net: qrtr: ns: Fix Announce services for all nodes"" 2022-05-31 07:57:19 -07:00
qctecmdr
fe4a3724d6 Merge "modules.list: Add msm_rtb to modules list for neo" 2022-05-31 07:57:18 -07:00
Yahui Wang
e05b587819 arm64: defconfig: update isl97900 config for neo le platform
Update isl97900 config for neo le platform.

Change-Id: I84dd4205e15cbbc7987d4bb56f0d52790413ea64
Signed-off-by: Yahui Wang <quic_yahuiw@quicinc.com>
2022-05-31 06:55:13 -07:00
Yahui Wang
0730de5a74 misc: Add support for isl97900 led driver
Add support for isl97900 rgb led driver.

Change-Id: I497b7e341bde8648063aa7355f4e75997383e4d7
Signed-off-by: Yahui Wang <quic_yahuiw@quicinc.com>
2022-05-31 06:54:39 -07:00
Kamati Srinivas
cb3242b718 modules.list: Add msm_rtb to modules list for neo
Add msm_rtb to modules list for neo.

Change-Id: I358b485cf762b8d5ac1f890ed2bce0c350d62515
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2022-05-31 16:47:25 +05:30
qctecmdr
01f3182ced Merge "arm64: defconfig: Enable AW2016 LED driver for neo_le" 2022-05-31 03:22:13 -07:00
qctecmdr
9cc7333bb8 Merge "defconfig: Disable stability configs on neo" 2022-05-31 03:22:13 -07:00
qctecmdr
9652c40521 Merge "rpmsg: glink: Do not serve intent request if no callback present" 2022-05-31 03:22:13 -07:00
qctecmdr
fbae9e9021 Merge "soc: qcom: llcc-qcom: Add support for scratchpad memory" 2022-05-31 03:22:12 -07:00
qctecmdr
980242ed32 Merge "iio: adc: spmi-adc5: Add scale function for PMR735A/PMR735B thermistors" 2022-05-31 03:22:11 -07:00
Mukesh Kumar Savaliya
80987dee8f i2c: i2c-msm-geni: Add error bits to handle error inside ISR
Right now ISR is handling the respective Error bits but it's missing
to handle primary check to enter into the condition before handling
the error.

This change adds the error bit check and then handles those error
interrupts. Also remove GP_IRQ_0_EN which is not of use for i2c.

Change-Id: Ided8b80cf8456cc0452422f587abeac9bcd76563
Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
2022-05-31 14:10:05 +05:30
Kamati Srinivas
09da611a48 defconfig: Enable CONFIG_QCOM_RUN_QUEUE_STATS for neo_la
Enable config CONFIG_QCOM_RUN_QUEUE_STATS neo_la target.

Change-Id: Ib41f052e5c65dda78159a6a0b5e7d72f07c3384e
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2022-05-31 12:39:18 +05:30
Naina Mehta
d3406db587 defconfig: parrot: Add additional timeout configs
Add additional timeout configs in Parrot gki defconfig as Waipio.

Change-Id: Ie8db74478ab293ff2f4c96e2c4800766a6c2c22e
Signed-off-by: Naina Mehta <quic_nainmeht@quicinc.com>
2022-05-31 12:05:48 +05:30
Krishna chaitanya chundru
d4816bc023 arm64: defconfig: enable MHI configs for anorak
Add MHI configs for anorak platform.

Change-Id: Ib8e73bbfb7120fd671fceebb39347b437d34b22e
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
2022-05-30 23:30:54 -07:00
qctecmdr
63e64cdf84 Merge "interconnect: qcom: Enable QOS for Parrot" 2022-05-30 22:40:23 -07:00
qctecmdr
23909010d7 Merge "power: BQ256xxx: Add support for debug board detection" 2022-05-30 22:40:23 -07:00
qctecmdr
bb3cff8d97 Merge "soc: qcom: sys_pm_vx: Add drv names for neo" 2022-05-30 22:40:22 -07:00
Krishna chaitanya chundru
5fb2094eae pci: msm: enable RC mode in rumi
RC mode is enabled in the RTL build only for previous targets.
That is missed in the anorak target.

Adding that change so that if it missed in the future targets also
driver handling that.

Change-Id: I4b1809477b348dba2134991700905dfa3a28df63
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
2022-05-31 08:12:48 +05:30
qctecmdr
43c9e0490b Merge "soc: qcom: Add compatible string for ravelin" 2022-05-30 16:54:11 -07:00
Ashish Chavan
88d7afbea4 power: BQ256xxx: Add support for debug board detection
Disable charging when a debug board is detected.
Debug board is reported based on a GPIO state, add support
to sample this GPIO and disable charging by setting
the VINDP to 5.4V.

Change-Id: I8b8a0a833b4f50e24e0223cf9f2510c7e4ec8056
Signed-off-by: Ashish Chavan <quic_ashichav@quicinc.com>
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
2022-05-30 19:33:14 +05:30
Rakesh Kota
4287efc036 arm64: defconfig: Enable AW2016 LED driver for neo_le
Enalbe AW2016 LED driver for neo_le platform.

Change-Id: Ide17d287dc1669e3e1471b87686db1cf9d970400
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
2022-05-30 18:52:54 +05:30
Hui Liu
4186138225 leds: aw2016: update breath sysfs node name
Update the blink sysfs node name to "breath"
to make sure the userspace code can access it
correctly. Meanwhile, replace msleep() with
usleep_range() for better sleeping delay precision,
and update the device sysfs node permission to 0644.

Change-Id: I0957087747fcf01f5a036f25c44ce83787b071a9
Signed-off-by: Hui Liu <huliu@codeaurora.org>
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
2022-05-30 18:52:53 +05:30
Hui Liu
7e000463bc leds: add initial driver for AW2016 LED device
Add initial driver for AW2016 LED device
which can support up to 3 LED channels.

Signed-off-by: liweilei <liweilei@awinic.com>
Git-commit: ed6556f262cf7e2086d7728c2f752be4cf94b4d1
Git-repo: https://github.com/awinic-driver/aw2016.git
[huliu@codeaurora.org: move the driver to leds folder
 and make corresponding changes in Kconfig and Makefile,
 also remove the dtsi config file and modify the code
 style.]
Signed-off-by: Hui Liu <huliu@codeaurora.org>
Change-Id: I252ca2710d393ff6dcbb691a2a530433ffbd21e3
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
2022-05-30 18:52:27 +05:30
Amrit Anand
74b32ef49e defconfig: Disable stability configs on neo
defconfig: Disable Debug Stability configs on Neo.
   CONFIG_DEBUG_LOCK_ALLOC
   CONFIG_DEBUG_LOCKDEP

Change-Id: I6b108902fa1fef38ef8cb98b291fab62c0ff7b4f
Signed-off-by: Amrit Anand <quic_amrianan@quicinc.com>
2022-05-30 15:35:31 +05:30
Mukesh Ojha
946c77b433 gunyah: virtio: Fix race between close_vb_dev and mmio_init
There can be race where cross vm thread is closing the backend
device while mmio initialization is in place which could
result in NULL pointer dereference issue.

While at it, also handle it at some of similar place where
this race could occur by protecting with appropriate lock.

Change-Id: I6d01071ce452a95e6f5483a6de12c60d3ae41a65
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2022-05-30 14:31:57 +05:30
Kishore Kumar Ravi
f26c0db1e6 rpmsg: glink: Do not serve intent request if no callback present
Sometime remote may try to send packet before receive callback is
assigned. Which can result in dropping of packets.

Acknowledge intent request but queue the intent only when receive
callback assignment is complete.

Change-Id: I6866132ab2fab5e0d0db34085eb85cc41abbd385
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2022-05-29 22:36:11 -07:00
Rohan Sethi
8c838b6290 msm: kgsl: Add debugfs entry to configure uche client
Create new kgsl debugfs node 'gpu_client_pf' to configure
A6xx/Gen7_UCHE_CLIENT_PF register during runtime. This would
help identify the faulting block ID and make debugging easier.

Change-Id: I35d110eded33ec3d4e5727553f931e0ecc8e65ca
Signed-off-by: Rohan Sethi <quic_rohsethi@quicinc.com>
2022-05-30 08:52:05 +05:30
qctecmdr
129ce2fe67 Merge "power: bq256xx: Handle interrupt while suspended" 2022-05-27 23:24:32 -07:00
qctecmdr
ad07ce1e29 Merge "icnss2: Support wlan PON/POFF Sequence via PMIC" 2022-05-27 23:24:32 -07:00
qctecmdr
935ab64555 Merge "clk: qcom: gdsc-regulator: Update collapse-vote gdsc logic" 2022-05-27 13:10:39 -07:00
Sivaji Boddupilli
302f77fe3e rpmsg: glink: avoid race for intent lock
Add spinlock irqsave and restore variants to intent
lock to avoid race and hogging the cpu in glink send
and receive path.


Change-Id: Id5ae417e3199d23cd405b25c520fa8230a780456
Signed-off-by: Sivaji Boddupilli <quic_boddupil@quicinc.com>
2022-05-28 00:11:26 +05:30
Kaushal Kumar
3f6ae94612 soc: qcom: llcc-qcom: Add scratchpad slice data for neo
Add the LLCC slice configuration for the scratchpad
memory for neo.

Change-Id: I848d8c6e509378ed823c3d52785d7795203c4339
Signed-off-by: Kaushal Kumar <quic_kaushalk@quicinc.com>
2022-05-27 08:53:50 -07:00
Kaushal Kumar
94ea81583c soc: qcom: llcc-qcom: Add support for scratchpad memory
Add register program sequence for LLCC scratchpad activation
and sleep functionality. The write sequence is broadcasted
to each of the scratchpad instances.

Change-Id: I5a86bd14a4dc9854e050435d5ee9baa2f2620023
Signed-off-by: Kaushal Kumar <quic_kaushalk@quicinc.com>
2022-05-27 08:53:26 -07:00
Sivaji Boddupilli
abeb6d4782 Revert "net: qrtr: ns: Fix Announce services for all nodes"
This reverts commit 26e3327adc.

Change-Id: I567c5b3db906134e9c8066e2da4e931fb9d54eaf
Signed-off-by: Sivaji Boddupilli <quic_boddupil@quicinc.com>
2022-05-27 19:51:26 +05:30
Raviteja Laggyshetty
ae57f05f42 interconnect: qcom: Enable QOS for Parrot
Enable QoS for the master ports on Parrot with
predefined values for priority and urgency.

Change-Id: I6e6581bd3170c1ecdd9abc76ba12cbe3207730b2
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2022-05-27 19:04:21 +05:30
nakul kachhwaha
38857e954d icnss2: Support wlan PON/POFF Sequence via PMIC
Add support for wlan chip PON/POFF Sequence via PMIC.
In some platforms the actually PMIC/LDOs that supply
the WLAN chip are driven by another PMIC GPIO.

Change-Id: If670ac2af7931c01de0a87b2daaa87a9adf3aedf
CRs-Fixed: 3207596
Signed-off-by: nakul kachhwaha <quic_nkachhwa@quicinc.com>
2022-05-27 05:08:31 -07:00
qctecmdr
57d905a5ad Merge "arm64: defconfig: neo: Enable msm_perf" 2022-05-27 04:20:02 -07:00
Rakesh Kota
5fe2532d31 power: bq256xx: Handle interrupt while suspended
The i2c controller device once suspended fails all the
i2c transactions. There is a possibility that an slave i2c
interrupt occurs while the device is suspended and the
interrupt callback does the i2c transactions before the controller
has resumed.

Handle this case by maintaining a suspend/resume flag and handle
the interrupt (i2c transactions) after the device has resumed.

Change-Id: I4a505d17cfe594f70fbeac8020d3116697c0806f
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
2022-05-27 15:50:24 +05:30