Move the current code to support as per the upstream code and bring in
fixes required to support the EPSS driver. Fix em_register_perf_domain
as new API convention.
Change-Id: I267731a89a130d1fca5b1fb25aab95430a9099c7
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Enable cdsp loader driver as a DLKM module for
lahaina-gki configuration.
Change-Id: I89de24d1b2d09b8c856d569a4da217f6d41a3cc1
Signed-off-by: Edgar Flores <edgarf@codeaurora.org>
This change is for general scheduler improvement.
Change-Id: I33e9ec890f8b54d673770d5d02dba489a8e08ce7
Signed-off-by: Sai Harshini Nimmala <snimmala@codeaurora.org>
[satyap@codeaurora.org: port to 5.4 and resolve trivial merge conflicts]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
If this runqueue have iowait task and still force newly
idle load balance, will make iowait task performance
worse. Need to do the average idle time check if
there is iowait task on this runqueue to have upcoming
iowait task have enough cpu resource.
Change-Id: I8e4dd440edbbd14d5170fbcf358bdaf5cc5b26e8
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
Signed-off-by: Biao Long <blong@codeaurora.org>
This change is for general scheduler improvement.
Change-Id: I7e6cc760a6add9ebdab7d67a176559bc640f7790
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
[satyap@codeaurora.org: port to 5.4 and minor update for WALT]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
We often see traces that gold cpus goes to idle even when silver
has big tasks. This is because avg_idle checks does not allow
the gold cpus to enter idle balance. This is NOT okay when
silver CPUs have big tasks.
Change-Id: Ice00d43c70be105b5bc3ad09caa6047aa98d7402
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
[satyap@codeaurora.org: port to 5.4 and add WALT checks]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Enable compilation of fastrpc driver as DLKM module on Lahaina.
This driver will be part of Lahaina GKI config.
Change-Id: Ie34249640949b192557735ccc64ffd75526b48ed
Signed-off-by: Edgar Flores <edgarf@codeaurora.org>
Enable the qpnp-power-on driver so that the desired power off
type can be configured (i.e. shutdown, reset, or warm reset).
Change-Id: I9e1d0157423c4d032fd5d948af1b008d7851310e
Signed-off-by: David Collins <collinsd@codeaurora.org>
Add support to control PON_GEN3_PBS and PON_GEN3_HLOS subtype
PON peripherals. These support a more limited feature set than
previous PON peripherals.
Change-Id: Id76ccc6ffd285ac68f350fb194f70bbbb04bd558
Signed-off-by: David Collins <collinsd@codeaurora.org>
Add device tree bindings for Qualcomm Technologies, Inc. QPNP
Power-on devices. These are PMIC peripherals which manage PMIC
power on, power off, key presses, and other related activities.
This snapshot is taken as of msm-4.19
commit 47598dd0e809 ("input: misc: qpnp-power-on: add support
to power off a modem chip").
Change-Id: If5e727c812a3c8cdcc263a40c72de50bb3ffbc78
Signed-off-by: David Collins <collinsd@codeaurora.org>
The qpnp-power-on driver provides support for key presses via
several key specific PMIC inputs. It also supports reading
power-on reasons and configuring the power-off type (i.e.
restart, shutdown, etc).
This snapshot is taken as of msm-4.19
commit 47598dd0e809 ("input: misc: qpnp-power-on: add support
to power off a modem chip").
Note that support for boot_reason, cold_boot, and ship_mode
configuration was removed as these have unmet dependencies and
are no longer needed.
Change-Id: I8105cf74d65609932146157f82a8e99f29a4dde2
Signed-off-by: David Collins <collinsd@codeaurora.org>
Enable CONFIG_REGMAP_QTI_DEBUG and CONFIG_REGMAP_ALLOW_WRITE_DEBUGFS
to facilitate easier debugging.
Change-Id: I8a1f34819f80df9ee988aea59b3895bd0af0843a
Signed-off-by: David Collins <collinsd@codeaurora.org>
Enable the gpio-keys driver so that GPIO buttons can be monitored.
Change-Id: I6e73af4ad85dbba8a087cca80f2f1b9b99ff5799
Signed-off-by: David Collins <collinsd@codeaurora.org>
Enable several SPMI and PMIC drivers which are needed to provide
baseline support of PMIC peripherals.
Change-Id: Ifb4414083764bbae64904d8629528cc4dda3a39c
Signed-off-by: David Collins <collinsd@codeaurora.org>
Enable CONFIG_IIO in lahaina_QGKI.config so that drivers which
depend upon it can function before CONFIG_IIO is enabled in
gki_defconfig.
Change-Id: I6afa93e6054d67157b1d435aa10688ab37220612
Signed-off-by: David Collins <collinsd@codeaurora.org>
Generate a new irqchip struct for each pinctrl device that is
registered to avoid sharing the same irqchip between devices.
This corrects the following error which is printed when
registering more than one pinctrl-spmi-gpio device:
"detected irqchip that is shared with multiple gpiochips:
please fix the driver."
Change-Id: I80ce67fc674b96f4386499f547395ceed7480583
Signed-off-by: David Collins <collinsd@codeaurora.org>
Add support for qcom,pmr735a-gpio and qcom,pmr735b-gpio variants.
Change-Id: I773d2539af146be56b091ced8709ae8dabe6e36e
Signed-off-by: David Collins <collinsd@codeaurora.org>
Now with GKI, SMMU CB can be delayed in probe
due to dependencies. The change waits for the
probe before triggering fw loading and post_init
call.
Change-Id: I468edd730a91de01ba9619385ab0c76083bc9382
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
The VADC architecture on PMIC7 is changed as compared to PMIC5. The
major change from PMIC5 is that all SW communication to ADC goes through
PMK8350, which communicates with other PMICs through PBS when the VADC
on PMK8350 works in master mode. The SID register is used to identify the
PMICs with which the PBS needs to communicate. Add support for the same.
Change-Id: If5c651e01be9363a61d1bf546e0b6d82a023904c
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Add definitions for ADC channels and scaling function IDs for PMIC7
ADC drivers. Add virtual channel definitions per PMIC, to be used
by ADC clients for PMIC7.
Change-Id: If857612a8087b928901dc08327aea3a8f4df7b01
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
To update QMAP ID there is no need to start and stop the GSI
channel. Make changes to read only scratch2 register for WDI3
protocol and update the QMAP ID without affecting other registers.
Change-Id: I7f873386fd01d624629fed15b841c6abd558a9ce
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
If back to back SSR is triggered there is a possibility
of race condition where we try to send QMI sync indication
with a invalid handle. Make a change to validate the handle
before sending the indication.
Change-Id: If912b6676b562bd4a23c68512e9c80e6c0ac7a49
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Partial packets are not expected to be receievd on WAN_CONS
pipe. Make changes to handle gracefully if EOB packets
are received on WAN_CONS pipe in cases where network is
misbehaving.
Change-Id: I4a4ce96a0c86f353e1764d016edbb00011367205
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>