Remove "battery.o" file from SMB1351 config to avoid
the linking issues when SMB1351 config is enabled.
Change-Id: Ia70d7f5d4fa12247542786785ebc303aba32d276
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
Enable the virtual subsystem notification driver on the Auto
virtual machine.
Change-Id: I4b46d42e2012effb2186cd4854d494f15c621bcc
Signed-off-by: Anant Goel <anantg@codeaurora.org>
Enable the Shared Memory (SMEM) driver on the Auto
virtual machine.
Change-Id: Ia2d043972e4e69b78cccb2a61206baf7fc60eb01
Signed-off-by: Anant Goel <anantg@codeaurora.org>
The spss-util driver provides utilities required for the Secure
Processor Subsystem (SPSS). It provides the fuse state for key
selection and the SPSS HW version.
Legacy spss not support load spss by UEFI and also not support
CMAC/IAR feature.
Change-Id: Iea0d66ed66a2817850f99f74bf716d33db956812
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
The direct connect registers base need to keep differently for
sm8150 since it used per tile registers in devicetree.
pinctrl driver does tile plus hmss base address for configuring
direct connect interrupts. Update the tile address to correctly
point to direct connect registers.
Change-Id: Ic959ed067be30dd457449e874298be30b696cd07
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Update following settings in LRA frequency detection sequence according
to HW recommendation:
1) Increase to 6 drive cycles before enabling High-Z period for auto
resonance config.
2) Disable adaptive drive duty function.
Change-Id: I551974603c99fcdad5d38fdef6edf15746c0033e
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
adding python3 support to make it compatible with newer mdms
Change-Id: If0452676d2983b535d9564b81477e6f89c53fc70
Signed-off-by: Remil Ram <remilr@codeaurora.org>
This change adds subsystem sleep stats driver.
When userspace issues ioctl to read stats data, the driver
reads from smem and same passes to userspace.
Change-Id: Ia8ddb9096eb5f387922e8a7c0ad48ed71b736a85
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
Remove __GFP_NOWARN and __GFP_NORETRY gfp masks
from kvcalloc calls to avoid out of memory errors
because of not triggering shrinker in cases we are
in low memory situations.
Change-Id: I79936816f895d0f79c7620cda00114457893b349
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Enable CONFIG_QCOM_KGSL and CONFIG_QCOM_KGSL_IOCOHERENCY_DEFAULT
to enable KGSL support.
Enable CONFIG_MSM_ADSPRPC, CONFIG_MSM_CDSP_LOADER, and
CONFIG_MSM_FASTCVPD to enable FastRPC on sdmsteppeauto.
Enable CONFIG_QCOM_SECURE_BUFFER to enable secure buffer
transactions.
Enable IOMMU related configs for fastmap, selftest, and other
related configs.
Change-Id: Id9665df61851d26d3113081d65e1807585d99f81
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
GPIOs that are in wakeirq_map have direct interrupt to GIC and they
do not use tlmm's summary irq. On certain devices its needed to
disable direct connect and gpio irq is not used for wakeup however
require to use tlmm's summary irq when device is awake.
Add support to list such gpios in target device tree and disable
wakeup and configure to not use direct connect interrupt.
Change-Id: I669f5df6d642679216e04708c54f620de8d9517b
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Fix compiler error due to multiple definitions
of boot_marker_enabled function.
Change-Id: Ibeb5a33e8b13ad97d9109847c412a2442979653e
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
In case of cma allocation failure, req-size is logged, but instead of
requested size we are printing total size. Fix it.
Fixes: 45422bc880 ("mm: cma: Print region name on failure")
Change-Id: Ifc96209a0ccdb295fbb9767d3d93b3a567fa16fd
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
Rename quinvmauto to autogvm to have superset configs for
all gen linux guest.
Change-Id: Ic4a87ebdf4aa3d97ee4dd8265e4dcbde630637e7
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
For MDM targets with single CPU, CONFIG_SMP won't be enabled so
irq_set_affinity_hint will always return EINVAL leading to unnecessary
WARN_ON.
Use irq_set_affinity_hint only for multiple CPU's or when CONFIG_SMP
enabled.
Change-Id: Id37299759927953e485850fb015a3739fd3daed7
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Add initial defconfig fragments for Direwolf which includes
GKI, QGKI and debug config files.
Change-Id: Icbaf8479d4bacdc2531d735b5dc762dcbffb3433
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
Add option "CONFIG_DIREWOLF" to enable to compilation for
the Direwolf platform.
Change-Id: Id556b35e251002d07f7ee38023725f744ee682c3
Signed-off-by: Anant Goel <anantg@codeaurora.org>
qcom,converged-dt is meant to use one DT node which has multiple
sub-nodes to support multiple devices. There is also one simple
scenario that one same DT node can be directly used by multiple
devices without creating sub-nodes. Use separate DT entry for such
case to add firmware path prefix to simplify implementation and
avoid conflicts.
Change-Id: I3beb3dfce30d31f086eeb6667afa83560880ff32
Signed-off-by: Yue Ma <yuem@codeaurora.org>
In order to support MBIM in a multi-config usb composition
make use of composite gadget driver support for OS descriptor.
This allows Host to identify preferred configuration to choose.
Pass signature field, vendor code, compatibleID and
subCompatibleID from user space. Also remove redundant MBIM OS
descriptor related data structure definitions in the driver.
Change-Id: I6fd8b950d53ef700be2d435e5973dd2c74525cd8
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
The policy engine interrupt disables during apps power collapse. But
there is a chance that still other subsystem SDPM voting can be
changed and that could cause policy engine violation. It leads to
non handling of interrupt and mitigation during apps power collapse.
Enable pe interrupt as wake up interrupt.
Re-order PE interrupt clear and handling mitigation sequence in
pe interrupt handler so that there is no chance to miss interrupt
post handling of previous interrupt.
Change-Id: I2c7d3014617acc99be30d3ae727736d5695c15e1
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
This change is to port NPU driver(v1) from 4.14 to 5.4 kernel.
Change-Id: I3c9d61c638cfb3b85da6f12e679c2c27f7ac0a42
Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
Porgramming guide for tcu clock testbus controller says:
1) Write to the ARM_SMMU_TESTBUS_SEL_HLOS1_NS.
2) Read from the ARM_SMMU_TCU_TESTBUS_HLOS1_NS
to know the internal smmu clock status. Program them accordingly.
Change-Id: I6140d877c2d8366030699fb04099078ebb3b6e2c
Fixes: 47b2cb7ab2 ("iommu: arm-smmu: update access to SMMU TCU testbus registers with scm call")
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
SPI Transfer mode selection is based on length but in SPI responder case
we get some latency for FIFO mode transfer that will cause some delay
in SPI responder transfer and we get "TX_FIFO_RD_ERR" interrupt. Moving
SPI responder to DMA mode for all transfer will not have this latency
issue and SPI requester/responder will be in sync and we won't get any
error related to SPI requester/responder sync.
Change-Id: I6b9676aad2a4875a9ff6c4d998a45d2cd8a14cfa
Signed-off-by: Ashish Kori <akori@codeaurora.org>
For programming the CP Protect register for SMMU in A3xx GPU, pass
correct values for SMMU registers base offset and the count of
registers to be protected.
Change-Id: I9fa809db79efc79bb7a59304fa2b4607ed1fc567
Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
This driver provides unified interface for applications, and communicate
with backend. So applications run in GVM but use backend eavb stack.
Change-Id: Ief3d033e5477696fa336e7225b58867fbf6aac5e
Signed-off-by: Baowei Liu <baowei@codeaurora.org>