Add snd_soc_set_runtime_hwparams to the ABI list.
Change-Id: I255861c3330f97695a2a0110aba0ab69ba34b3c4
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
Currently, the Bazel build may fail if symlinks to the Bazel
extension files are not linked to the proper locations.
To make sure the build always works (falling back on default
extensions), configure the script to create the symlinks to the
default files in case they don't exist or are broken symlinks.
Change-Id: Ie385e4ede912d0f40026ef6c78a9c2fb60ca8924
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
When the Bazel subprocess exits unexpectedly, the wrapper script
gets an OSError exception while cleaning up the processes.
Ignore the OSError exception to make sure all subprocesses are
cleaned up properly.
Change-Id: I7c1062a900e70cfc2d90bd9695254ba80b07721b
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
update AUDIO mode to FSM when AATC plug detects and restore
to MANUAL once plug-out.
Change-Id: I2b31b67ab713823d2dca07327c141c386ac3b394
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
As dwc3 msm support override orientation and super speed phy lane flag,
it is better support orientation gpio here.
Change-Id: I2460286d8538bae3f2e768eb380e11f11faf97fc
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
Enable NB7VPQ904M redriver for pineapple, that is used to improve USB
super speed(plus) signal.
Change-Id: I128b6421530bb0ae283f6c9bebeea445b4e1ddb0
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
Add extra byte for trailing NUL to make sure we can use the whole 12 or
9 length of entry name.
Change-Id: I6438bdcebc993f6d4779fd2ea440a7d76045e720
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
Since "vmid_" is added as the prefix of entry name in TUIVM, we only
have 9 bytes left for minidump entries. The change is to shorten
minidump entry names to less than 9 bytes.
Change-Id: I7b38a61bc3fcd2022b03a6d9b88df4e004cc4563
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
Enable QCOM_RPROC_BOTH_DUMPS in GKI config for pineapple
to collect both full and mini dumps for SSRs in the case where
both dumps collection is enabled for subsystem.
Change-Id: Ie166199b91c95f3ab7a34c10a0a46260b4412f6d
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
Enable collection of both minidump and fulldump in SSR for mpss in
pineapple by setting the flag to true in adsp_data.
Change-Id: If85564b090dc60cbaf04403e67dbf86507bc6db6
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
Add a field for rproc client to enable collection of both minidump and
fulldump in coredump collection in recovery during SSR. Collect both
the dumps only if debug config is enabled, the flag for collecting
both dumps is set for the client and the collection of both dumps
is enabled by sysfs node by the user.
Change-Id: I6792da1c739bced7bee74b33ffa91d12792c758b
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
Add a debug config to allow collecting both minidump and fulldump for
the case where minidump is allowed by policy and enabled for a subsystem.
Helps finding the reason for crashes where minidump lacks required
information and fulldumps are not available.
Change-Id: I40a198f711e6ad52e4ee45129cae26bf1d946ccd
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
Add IPC logging for caching and writing various power states along
with channel switch and completion IRQ logging.
Change-Id: I4b7d263258b1228fcea1b7c2339e3c7cdf6dde8b
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
During DWC3 MSM probe, if extcon and usb role switch are both undefined,
the mode will be set to peripheral. However, in case EUD is defined, then
the extcon parameter will be non-null, and the probe routine will avoid
setting the default mode into peripheral, even though there is no valid
source for notifying cable events.
In case of when EUD is registered as the EXTCON device, continue to allow
setting the default mode as peripheral mode, as it does not send cable
events to DWC3 MSM. This is useful bringup scenarios where UCSI role
switch is not ready, but EUD is enabled.
Change-Id: I82263a125f67560558236356ddc733301c586de3
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
commit 9cdb3f58189d ("remoteproc: qcom: pas: Rename subsystem minidump
elf name") unknowingly make remoteproc driver to dependent on
qcom_ramdump with which remoteproc probe is failing.
However, qcom_ramdump is an optional and debug driver and remoteproc
should not depend on it. Fix this dependency.
Change-Id: I1021835cfe6432f21e173a73a6d2c9baf5231dd4
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Auditya Bhattaram <quic_audityab@quicinc.com>
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
Currently, the name of ELF remain same whether it is subsystem's
minidump or full dump and it was difficult for parsing tool to
identify the elf's between them.
As previous patch adds the support of creation of ramdump device
with a given name, now we would be creating separate dummy
minidump device for a subsystem with a name appended by _md.
which will help us in creating different name for subsystem's
minidump e.g remoteproc-adsp-md_2022-05-08_18-19-32.elf .
Change-Id: I6b49532b425b480e7351b7d1c86bb0ce29b09e1a
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
There was a requirement from client drivers to create ramdump
device with a given name so that they control the name of the elf.
This change adds the support to create/destroy ramdump device.
Change-Id: I411cc92a1b41d44e8b6fef95d383613280dae0c2
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
slice configuration for ALGO_CFGn registers are ovewritten by
subsequent slices. Modifying logic to read existing value in reg
OR/AND with current slice bit value & updating the register.
Change-Id: I72bd9d94a7f50f9859bb78014137f3a19653e854
Signed-off-by: Auditya Bhattaram <quic_audityab@quicinc.com>
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
This change fixes below items
1. Update cluster governors's now time stamp if CPU is of same cluster
2. Remove unnecessary condition from CPU idle state select
3. Skip updating cpu prediction history when sleep is disabled
Change-Id: I3f2870adf0b4005ca8cd02f2d355647a9c4ecd1a
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
CPUidle was disabled during suspend to avoid runtime PM not updating
the cluster genpd sd counter post late suspend phase.
The issue is now fixed with commit a2bd7be12b ("PM: sleep: Fix runtime
PM based cpuidle support").
Remove the changes so CPU idle states can be allowed post late suspend
stage.
Change-Id: Ie9f01a49326a560e579f34b6412989c573ce6094
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
Enable the download mode driver and turn on the default flag to enable
dump collection in case of panic or error conditions.
Change-Id: I7d8f5ec0269062bb1875f2212f9252cc24dd2e4c
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Enable watchdog and related configs for pineapple SoC.
Change-Id: Iba6e12856f4c201a3f64a6773266c42645a58fb9
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>