Commit graph

894,770 commits

Author SHA1 Message Date
Yingjie Zhu
433d417c1d defconfig: autogvm: Enable btpower
Enable BT power driver in quin VM defconfigs.

Change-Id: Ie88ba70366bc886dc912e6c3197fd136e2bf0967
Signed-off-by: Yingjie Zhu <yingzhu@codeaurora.org>
2021-03-18 17:37:54 -07:00
Veera Vegivada
9b2d1d4e57 arm64: defconfig: Enable mailbox for genericarmv8
Enable mailbox driver in genericarmv8 defconfig.

Change-Id: Iec24a9b516fbf036699c5c1dc3f4b18f16d3aa63
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-03-18 18:21:17 +05:30
Raghavendra Kakarla
167d16f625 defconfig: Enable MPM, SPM and legacy LPM drivers
Enable MPM, SPM and legacy LPM drivers for sdxnightjar.

Change-Id: Iacfbf418a60881db19fdf049a2e0aa8b7abb10ab
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-17 21:32:09 -07:00
Raghavendra Kakarla
bf15a2e3b0 drivers: pinctrl: Add the mpm map for wakeup gpios
Add mpm pin mapping for the wakeup capable gpio for sdxnightjar.

Change-Id: I3ecf690960585bba495eaa98c8fdec139eea0a7b
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-17 21:32:00 -07:00
Tushar Nimkar
98dfb46503 irqchip: mpm: Add check for irq_set_affinity implementation
GIC-V2 driver does not implement irq_set_affinity function.

This change checks same before calling.

Change-Id: I3adb5681281b85bf5fa272d6ad7e968a01b95398
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-17 21:31:44 -07:00
Ping Jiang
5f6621754d defconfig: autogvm: Enable virtual power reset and watchdog
Enable the virtual power reset and watchdog driver
in autogvm defconfigs.

Change-Id: I04fa915e137035b30dd687b43a7e6f8d3cedb1be
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
2021-03-18 11:21:12 +08:00
Tony Truong
dce1b10e40 switch: qcom: enable PCI device and set BME
During the PCI probe for each port, enable its PCI device so that
it's ready for its driver. Also, set the bus master so that
any traffic from downstream can be forward to upstream.

Add PCI remove to handle the clean up.

Change-Id: I959ab50ebba2b4351590f83e8e1b780a670ca730
Signed-off-by: Tony Truong <truong@codeaurora.org>
2021-03-17 11:46:10 -07:00
Tony Truong
5ad3313b4a switch: qcom: support erratas for multiple vendors
Update the driver to support erratas for different vendors.
Other vendors will not have the exact same errata as Diode.
Thus, expand the support to other switch vendors.

Change-Id: Ic9a3d93f9fef36757f5df42364f6e72030740f75
Signed-off-by: Tony Truong <truong@codeaurora.org>
2021-03-17 11:46:06 -07:00
Nagireddy Annem
1f12678246 defconfig: Update Kernel configs for monaco
Enable Android configs and disable page poison configs.

Change-Id: I171f16e04740ccb7986a085371989f2e5ad570b7
Signed-off-by: Nagireddy Annem <nannem@codeaurora.org>
2021-03-17 23:10:41 +05:30
Tushar Nimkar
dcf29b078b pinctrl: qcom: Fix msm_gpio_wakeirq to correctly find parent hwirq
For mpm gpio irq chip domain do not handle wakeup but the parent hwirq
still need to send to mpm gpio chip. Add change to skip sending parent
irq where domain handles wakeup.

Change-Id: I1eb6fdefe6811dcf3d77cca4d54cce8b4efdc6b6
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-17 22:00:50 +05:30
Jishnu Prakash
d02fbd0d0d backlight: qcom-spmi-wled: Add support for exponential dimming
Add support to enable writing a lookup table of brightness values
into WLED_SINK peripheral to enable more granular control over
brightness, to help end user see brightness change smoothly
instead of in visible steps.

Change-Id: Ifd2dd382bf3e1274a5b994e8d83b87833c975970
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-03-17 21:12:03 +05:30
qctecmdr
08db65b8bf Merge "defconfig: sdmsteppe: Enable set_ddr_capped_freq interface" 2021-03-17 06:25:19 -07:00
qctecmdr
7422f86139 Merge "irqchip: mpm: Add mpm mapping for gic wakeup capable irqs" 2021-03-17 06:25:18 -07:00
qctecmdr
f0f94e22c2 Merge "drivers: scm: Add SCM call support to set warmboot addr" 2021-03-17 06:25:18 -07:00
qctecmdr
38082631ec Merge "Revert "Merge "Use environment variable to find unifdef tool for auto target""" 2021-03-17 06:25:18 -07:00
qctecmdr
e5d17666ae Merge "usb: dwc3: gadget: Properly handle ClearFeature(halt)" 2021-03-17 06:25:17 -07:00
qctecmdr
6b101e39d6 Merge "power: reset: fix compilation error" 2021-03-17 06:25:17 -07:00
qctecmdr
d7e2efd740 Merge "drivers: soc: qcom: pm: Add legacy PM and Warmboot set address API support" 2021-03-17 06:25:16 -07:00
Deepak Kumar Singh
237e8a5045 soc: qcom: add dev_pm_ops for tracking no irq phase
Glink native interrupt handler need to wakeup local host
only in post noirq phase of suspend.

Adding dev_pm_ops to track suspend/resume noirq phase.

Change-Id: I338f6ca8da8956592d3c95b2676163651ea86361
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
2021-03-17 03:16:55 -07:00
Jishnu Prakash
5edb38f5dd dt-bindings: iio: Correct PM7325B IIN channel name
Correct PM7325B IIN_FB channel name, following HW recommendation.

Change-Id: If8d0b53fd6036e20ae038d7f14e282a229f66734
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-03-17 15:11:09 +05:30
Deepak Kumar Singh
ac790b1d1b rpmsg: glink: add dev_pm_ops for tracking no irq phase
Glink native interrupt handler need to wakeup local host
only in post noirq phase of suspend.

Adding dev_pm_ops to track suspend/resume noirq phase.

Change-Id: I46ff9108e28cd2355562ff95e54b955d3d90c07c
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
2021-03-17 15:10:33 +05:30
Deepak Kumar Singh
dad847b725 rpmsg: glink: Use IRQF_NO_SUSPEND and pm_system_wakeup() for glink irq
Glink irq should be wakeup capable, to achieve this irq is marked
with enable_irq_wake().

There are some use cases where glink communication is required in system
suspend path and glink interrupt handler needs to be run immediately.
But wakeup cpabale interrupts even if received during suspend will not
run immediately, this will be marked pending and run when system resumes
from suspend. In such scenario there can be a potential deadock in suspend
path due to any irq thread which is waiting for glink interrupt completion
while glink interrupt cannot be handled immediately.

One such use case is usb plugin interrupt received during suspend, which
calls regulator api to communicate with rpm over glink and waits for rpm
ack. RPM ack cannot be processed because glink interrupt received from rpm
goes in pending state. Suspend path is blocked because regulator irq thread
is still waiting.

So there is requirement to run glink interrupt handler in suspend path at
the same time making it wakeup capable. IRQ frameworks forbids usage of
both IRQF_NO_SUSPEND and enable_irq_wake() together. This patch adds
IRQF_NO_SUSPEND and pm_system_wakeup() for glink irq to implement this
requirement.

Change-Id: I1da199c9e10c640bb84d00e569c4fafc5c104d24
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
2021-03-17 15:06:16 +05:30
qctecmdr
b785a9833f Merge "clk: qcom: gdsc-regulator: Remove regulator_lock() call from GDSC driver" 2021-03-17 02:02:49 -07:00
qctecmdr
57c4cf0a4d Merge "defconfig: gen3auto: disable GLINK config" 2021-03-17 02:02:49 -07:00
qctecmdr
95721509aa Merge "defconfig: monaco: Add missing PMIC configs for monaco" 2021-03-17 02:02:48 -07:00
qctecmdr
d326c44fa2 Merge "usb: dwc3: gadget: Prevent queue on endpoints after bus reset" 2021-03-17 02:02:47 -07:00
qctecmdr
2fd974a64c Merge "lpm_levels_legacy: Rectified compilation errors" 2021-03-17 02:02:47 -07:00
qctecmdr
4e0dedf1d8 Merge "soc: qcom: socinfo: Add soc information for Blair" 2021-03-17 02:02:46 -07:00
qctecmdr
c45a1c86d9 Merge "soc: qcom: rpmh_master_stat: Initialize length to zero" 2021-03-17 02:02:46 -07:00
Tushar Nimkar
3d694851bd irqchip: mpm: Update mpm mapping for gic wakeup capable irqs
This change updates mpm mapping for gic wakeup capable irqs
for sdxnightjar.

Change-Id: I7a2b79e7c5bd59a179d73fca58d9557affa6b162
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-17 11:10:00 +05:30
Vinayak Menon
1b7ca44c71 mm: fix non-anon COW fault
Speculative page fault should skip non-anon COW
faults. But the check uses flags from vmf which is
not initialized at that point. Fix that.

Fixes: eed0466ffa ("mm: skip speculative path for non-anonymous COW faults")
Change-Id: I86c3032680461b1369650d97a06616fd14472632
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2021-03-17 10:25:16 +05:30
Singa Reddy Dasari
a555899a55 defconfig: gen3auto: enable configs needed for cpu isolated mask
Enable Configs to get cpu isolated mask.

Change-Id: I1eabd68ea757a0855e19b3e00955cf7e2e7c2f03
Signed-off-by: Singa Reddy Dasari <singredd@codeaurora.org>
2021-03-17 08:59:14 +05:30
Yue Ma
70da18c57f cnss2: Add support to populate device memory information
Update WLFW QMI service so firmware is able to send SRAM and CMEM
etc. device memory information using target capability QMI message
to CNSS driver which populates the same to WLAN host driver.

Change-Id: I6a68624dd29c4631dc2c5c9900ddd1d6c7f3fc14
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-03-16 14:58:34 -07:00
Vamsi Krishna Samavedam
6851e8ccd4 Usb: f_gsi: Add uevent support for connect/disconnect events
Currently gsi driver indicates the state change by sending zero length
packet. Send uevents to indicate to specific gsi protocol connect and
disconnect state as well.

Change-Id: Icfad5ccba74b7f33b1bacad685d4eb15520e72b5
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
2021-03-16 12:58:11 -07:00
Raghavendra Kakarla
5a9f546325 drivers: scm: Add SCM call support to set warmboot addr
Add the SCM call support for core hotplug and set warmboot address
for multi core.

Change-Id: I747858d1ffc1008b6d9033526110c98a3bb2401b
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-16 22:53:07 +05:30
Vinay Sudra
38abe9e64f Revert "Merge "Use environment variable to find unifdef tool for auto target""
This reverts commit 8a7d4fed84, reversing
changes made to bdf9093b71.

Change-Id: I6fbcfb72f49740223691f2e1edecbbfc28f420c5
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-16 09:58:23 -07:00
Raghavendra Kakarla
292ced4931 irqchip: mpm: Add mpm mapping for gic wakeup capable irqs
Add mpm mapping for gic wakeup capable interrupts for
sdxnightjar.

Change-Id: I1d895706dc9bfca7b1236200aabedfebf31d8c0c
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-16 22:15:16 +05:30
Vinay Sudra
aae685985e defconfig: sdmsteppe: Enable set_ddr_capped_freq interface
Enable set_ddr_capped_freq interface to send messages to AOP
using QMP transport.

Change-Id: I9e73f8d5dccf6a4b323075e1ba791e5c285b5b63
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-16 07:47:25 -07:00
qctecmdr
955691e21f Merge "defconfig: gen3auto: Enable set_ddr_capped_freq interface" 2021-03-16 07:41:09 -07:00
qctecmdr
9c93444578 Merge "usb: gsi: Set setup_pending if ep_queue on EP0 is successful" 2021-03-16 07:41:08 -07:00
qctecmdr
c973a48ede Merge "mmc: defconfig: Enable IPC logging for lahaina consolidate defconfig" 2021-03-16 07:41:08 -07:00
qctecmdr
4564831c3f Merge "usb: gadget: Give back request from ep_dequeue" 2021-03-16 07:41:07 -07:00
Kamal Agrawal
4147ed339d msm: kgsl: Enable BCL feature on A660
Enable BCL feature on A660.

Change-Id: I11fd4ef9cc03600a8147cde75c9b5fb0fae834d4
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
2021-03-16 03:44:10 -07:00
qctecmdr
a58483c01c Merge "atlantic forwarding driver v1.1.18" 2021-03-16 00:31:53 -07:00
qctecmdr
44b5ee971c Merge "msm: kgsl: Enable BCL feature for a635 GPU" 2021-03-16 00:31:52 -07:00
qctecmdr
cf721e0820 Merge "defconfig: autogvm: Enable spmi for autogvm" 2021-03-16 00:31:52 -07:00
qctecmdr
e3e2a15960 Merge "msm: pci: print RPMSG return type and LTSSM state on DRV suspend" 2021-03-16 00:31:51 -07:00
qctecmdr
637910d04d Merge "defconfig: autogvm: Enable exfat fs" 2021-03-16 00:31:51 -07:00
qctecmdr
f86ea7b6d5 Merge "defconfig: autogen3: Enable CNSS2 for QCA WLAN device" 2021-03-16 00:31:51 -07:00
Shyam Kumar Thella
a2450f015c defconfig: monaco: Add missing PMIC configs for monaco
Add missing PMIC configs required to support monaco.

Change-Id: Ifc9edab32e14f77ee715550e567f4b0cb9ba60d3
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2021-03-16 09:36:23 +05:30