This config enables msm shared memory driver.
This driver allocates shared-memory to be used by the modem processor.
Change-Id: I622d032c1abb8884027f9cc4f4428dbf53ac7035
Signed-off-by: Richard Patrick <richardp@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>
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>
When MHI pipes are disconnected, host doesn't expect any
further communication from device. Make a change to not
to update the state during pipe disconnect.
Change-Id: Ia2315e3a94049ba3adda4b42d363ce2f7108d89f
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
This change enables spcom driver on Lahaina.
Change-Id: Ia8cbb369c3dd201389f83c8183dc573ecec71bb2
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>