Enable panel event notifier driver for pineapple gki defconfig.
Change-Id: I7ada21d7420c0eafcae01289b223d9fa4df40d0b
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
Add a case in the wcd939x i2c driver for connecting a headset microphone
via the USB subsystem. Update corresponding header file.
Change-Id: Ia01804a8ffde36d055a65c11692cef20297e30ca
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
This patch is required for qrtr communication for attaches
over mhi.
Change-Id: I625c91590d0d080000a0aecd2a0ebeabb0ef6478
Signed-off-by: Deepak Kumar Singh <quic_deesin@quicinc.com>
Signed-off-by: Tony Truong <quic_truong@quicinc.com>
Add i2c_transfer and regulator_bulk_enable to the ABI list
to be used in the wcd usbss i2c driver.
Change-Id: I045618c55e63b91d3a316967a9ab942f7e658f45
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
The IPA modules can likely be probed much before the USB GSI function is
initialized by userspace. If the IPA ready callback is received before
configFS is initialized, then the wait_for_ipa_ready completion will be
reset, leading to subsequent GSI bind timeouts, since IPAM only notifies at
the IPA probe time.
Change-Id: I6e31a368a68635d5eed0f0d9b99526ae998f2bbb
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
mdwc->dwc3 is seen NULL when dwc3_msm_notify_event() is getting
called from dwc3 driver's probe context as mdwc->dwc3 is being
initialized later. Actual call flow is as below:
of_platform_populate()
--> dwc3_probe()
--> dwc3_gadget_core_init_mode()
--> dwc3_gadget_init()
--> usb_add_gadget()
--> check_pending_gadget_drivers()
--> udc_bind_to_driver()
--> dwc3_gadget_pullup()
--> __dwc3_gadget_start()
--> entry___dwc3_gadget_start()
--> dwc3_msm_notify_event(DWC3_CONTROLLER_SOFT_RESET)
--> dwc3_device_core_soft_reset()
As reference to dwc3 is already available, and there is no specific
handling perform with dwc3_device_core_soft_reset() other than
reconfiguring USB GSI endpoint related event buffers. Fix this issue
by invoking dwc3_msm_notify_event() with DWC3_GSI_EVT_BUF_SETUP and
remove usage of dwc3_device_core_soft_reset() API, and use passed
dwc3 reference instead of trying to access mdwc->dwc3.
Change-Id: I0b9dcc6148bebbcc3f8399c7ada4e3e298fb260f
Signed-off-by: Mayank Rana <quic_mrana@quicinc.com>
Due to a newly added sequence to issue a core soft reset before enabling
the pullup, the GSI event buffers also need to be reset as well:
commit 0066472de1 ("usb: dwc3: Issue core soft reset before enabling
run/stop").
Failure to do so will result in a SMMU fault, showing that the DWC3
controller is attempting to access a FAR=0x0.
Add a kretprobe to gadget start, as that is executed before enabling
run/stop, so that we can initialize the GSI event buffers properly.
Change-Id: I612bfcd24bba54b5c5850950838f5ad53523045a
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
This change is to add missing initialization.
Change-Id: Icdec51afb78bb294b4649c85b6fef087dc554984
Signed-off-by: Tushar Nimkar <quic_tnimkar@quicinc.com>
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
Enable CPU pause cooling device driver which is able to pause a CPU
from being scheduled and hence allow the CPU to power collapse.
Change-Id: If4f194d3ae2d47d0ec48bcb8e39ed88b9667e39d
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
Enable userspace cooling device driver to be used by userspace
clients for pineapple.
Change-Id: Ib2b58a4cc6b7e8fe0f003c025cfa032c252d94c9
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
Enable CPU hotplug and CPU voltage cooling device drivers for
pineapple-gki. This cooling device will perform CPU cooling under
thermal conditions.
Change-Id: I850ac710e0acd4b32dd228276df92b24792562d1
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
The canonical location of msm_kernel_extensions.bzl is changing.
Update the load() calls to the new location.
Change-Id: I27df6131de155cd0592cad5d57202ca01c4affb5
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Add Config and make rules for panel_event_notifier
driver.
Change-Id: Id8975ac19e3201a1ac7396821c1be0288bfa8617
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
Enable the fastmap driver for the IOMMU.
Change-Id: Ie3a01ffe230fd3459e6a1408f5f78b64fbfae3b6
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>