Enable/Disable mpm wakeup bit when using GPIO as IRQ.
Change-Id: Ia1c6fbdf9d6e45dd031a647fb14a9ffa662ba42c
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
Add and remove headers which are missing and additionally added
to resolve compilation issues.
Change-Id: I2bdc34a33c13f84916d4e7570c579bfc2b1e9c98
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
The current register write to DBM_GEN_CFG to update the current speed
is overwriting the entire register. Avoid this, as this also
disables ZLT support on DBM. During validation of QDSS, a QDSS data
stall was seen, as the QDSS BAM generated a ZLT, while DBM did not
enable it. DBM ZLT support is recommended to be enabled in the HPG.
Change-Id: Ieef4a42d3ac6f2a836a5c25530492c95669047b0
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
There is a case where of-thermal invokes thermal zone re-evaluation
for a zone even if it is disabled during sensor violation. It may
lead to thermal zone throttling even if that thermal zone is disabled.
Update of-thermal to re-evaluate thermal zone only if it is in
enabled state.
Change-Id: I0764d4719668231d27b4e264c46e5593653d90b3
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Compilation errors are seen if host configs are disabled. Hence
fix those errors to make compilation successful with host configs
disabled.
Change-Id: Ib6fa2820dfada44a7a3fdeb2b2a9b9a18953b31b
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
On a device like a cellphone which is constantly suspending
and resuming CLOCK_MONOTONIC is not particularly useful for
keeping track of or reacting to external network events.
Instead you want to use CLOCK_BOOTTIME.
Hence add bpf_ktime_get_boot_ns() as a mirror of bpf_ktime_get_ns()
based around CLOCK_BOOTTIME instead of CLOCK_MONOTONIC.
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
(cherry picked from commit 71d19214776e61b33da48f7c1b46e522c7f78221)
Change-Id: Ifd62c410dcc5112fd1a473a7e1f70231ca514bc0
Free QDSS memory on every SSR and allocate it again
when QDSS trace memory indication is received from FW.
Change-Id: I1f4ed9dbfc597407992d2484deaf3767ce0d6c3c
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
Adding support for some user space clients that want
a notification to be sent to remote subsystem when a
local close call is made.
Change-Id: I5641ad649ad30b995093e11187f0a80a09ea39e7
Signed-off-by: Vivek Golani <vgolani@codeaurora.org>
Current mmc_scale_high logic don't work well for HS400 mode.
Infact we are ending up selecting HS200 mode instead of HS400 mode.
Update mmc_scale_high logic properly for HS400 mode.
Change-Id: Ic4960268866c35dd94b5ea9b41a813fc36ba8a94
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Enable QSEECOM,QRNG,smcinvoke config as modules.
Also enable the QTI crpto tz driver config, needed to enable
QTI inline encryption and disable HWKM as this is not
supported on HW.
1.CONFIG_QSEECOM=m
2.CONFIG_HW_RANDOM_MSM_LEGACY=m
3.CONFIG_QCOM_SMCINVOKE=m
4.CONFIG_QTI_CRYPTO_TZ=m.
Change-Id: Ie8730f1ab025d75ecbaf7c6937323e12b9438530
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
Some of the SoCs may not have support "rmb_general_purpose" register,
So handle the error path to load the firmware from kernel.
Change-Id: Id64c8e531bb6fe79ea40e6fa34b20aa2e1891ad8
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
Reduce repeated logic around expanding composite objects in preparation
for later commit to support nested composite objects.
Change-Id: I9f2f4788bd4a85f105432e4827f9984cd488b647
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Signed-off-by: Jeff Johnson <jjohnson@codeaurora.org>
Clear function suspend and remote wakeup related flags upon
config reset to restore the initial state.
Change-Id: I5178a9d5a37c301b97dc0ba9047cdb37725c0020
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
DWC3 XMIT_DEV command is timing out for USB function wakeup functionality
with current 500 iterations (i.e. timeout comes around 300us). USB DWC3
controller shall take more time to process this particular command. Hence
increase retry count from 500 to 3000 iterations (i.e same as dwc3 endpoint
command timeout value) to have sucessful USB function wakeup functionality.
Change-Id: I1b5a9dd64a01ad9592a04c275beef77eaee523be
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Set parent of touch device so that sysfs path to be
used by TUI App is proper.
Change-Id: Ibb714151a2dcb6789428fdb0a9759a86568cd135
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
Enable clock controller based PWM driver which
will configure duty cycle based on brightness.
Change-Id: I6732507e42eac4123a757bf9f91e5e384d72698f
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Duty cycle of the clock can be controlled by D register of the RCG.
Add support for configuring the duty cyles through LED framework's
brightness. Pinctrl settings are needed for configuring the pins to
output the core clock on the pin.
Change-Id: Id2dd3ef34943c07731e27ca8b7e1d04d1b8e231e
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>