IPA driver moved to techpack. Remove IPA and GSI folders
from kernel. IPA framework layer replaces IPA driver in the
kernel.
Change-Id: I7a46345db4e2bc6e68f7633dfb4ff8fec5d62668
Signed-off-by: Amir Levy <[email protected]>
Define DT compatible strings to identify PMICs and use them instead of
externally querying the PMIC type. With this the driver does not have
any external API dependencies.
While at it, drop the support for PM660L rev < 2.
Change-Id: I7f2b8c12f1d0e74341e916fb7c51c02b63254885
Signed-off-by: Jishnu Prakash <[email protected]>
wait_for_completion_interruptible() returns ERESTARTSYS when
the device goes to low power mode.
The SPU subsystem is shutdown on deep low power mode,
so the interrupted operation is not recoverable.
return EINTR to user space to propagate the error to the user app.
Change-Id: I3b47b971d4411f977a0f68c1ce838fd92198c75d
Signed-off-by: Amir Samuelov <[email protected]>
the print format has "%s" but is missing the "name" parameter.
Change-Id: Ib2fcbcf2d477552c8d2fbf16487854ac13c1b3ca
Signed-off-by: Amir Samuelov <[email protected]>
Current SW limit is not matching the HW limit, update
limit to align with the available HW limit.
Change-Id: I6e221136142785a98e3cd378915b2139904f1551
Signed-off-by: Santosh Mardi <[email protected]>
The sample_ms should never be larger than the devfreq polling
interval. If userspace tries to configure this invalid
configuration, return an error.
Devfreq polling interval should be always greater then the
sample_ms add check in the governor interval event to update
the polling interval accordingly.
Change-Id: I2d07c95668a7fc8e3b2f16e49448ad2e3da8785c
Signed-off-by: Santosh Mardi <[email protected]>
[[email protected]: Replaced snprintf with scnprintf]
Signed-off-by: Amir Vajid <[email protected]>
HV-haptics module with V2 revision supports 640 bytes FIFO memory and
each byte contains a FIFO sample. There are 4 adjacent SPMI registers
which can be used for filling 4 FIFO samples together by using SPMI
burst writes and also a single register for filling FIFO samples while
the samples are less than 4.
Also update the logic of writing FIFO samples: Check the available
FIFO memory first and then write FIFO with samples no more than the
available FIFO memory space. With this new logic, it's not necessory
to read FIFO_READY_STS register before writing FIFO samples and this
helps on reducing FIFO writing latency.
Change-Id: If65a81327dfd2c6af0d58055c0ae93ad6c1dcba0
Signed-off-by: Fenglin Wu <[email protected]>
Enable the mem-buf driver on the genericarmv8-64 configuration.
Change-Id: I566dcdd02e5ff36e92f8291bda8294e4ce80f850
Signed-off-by: Isaac J. Manjarres <[email protected]>
The mem-buf driver doesn't strictly depend on the secure
buffer functionality. For example, it can still be functional
in environments where it is used purely for requesting memory
from other VMs. Thus, remove the dependency.
Change-Id: Ie4e39c00473509ee3552e6da849c633ccfab21ce
Signed-off-by: Isaac J. Manjarres <[email protected]>
Enable CONFIG_VM_EVENT_COUNT_CLEAN_PAGE_RECLAIM and
CONFIG_BALANCE_ANON_FILE_RECLAIM on genericarmv8-64.
Change-Id: I9810575dcabd14a2e39c2e08d502e3213877ed69
Signed-off-by: Isaac J. Manjarres <[email protected]>
In some multi card tray designs, removing the SD card may cause
the SD card power supply pin to come in contact with the SIM card.
Ensure the SD card power is not turned on when the SD card is removed
to avoid the SD card power supply to cause damage to the SIM card.
Change-Id: Ic2a2e21e592d46dbd011a4e3f2ac108e9275f92c
Signed-off-by: Bao D. Nguyen <[email protected]>
Port the regulator, quirks/caps logic from Qualcomm's Kona target
to Lahaina target.
This is a snapshot of the sdhci-msm driver changes taken as of
msm-4.19 commit <74f401c241ba>
("mmc: sdhci-msm: Port base platform driver from 4.14 to 4.19").
Change-Id: I5f5e4af3249ccd8d7f0767e8370860dcae5d78dd
Signed-off-by: Bao D. Nguyen <[email protected]>
Enable the memory hotplug and hotremove configs for the
genericarmv8-64 configuration.
Change-Id: I80ac4cd226a42a36a8dbecab7af99783f0875c27
Signed-off-by: Isaac J. Manjarres <[email protected]>
Enabling the movable zone shouldn't depend on QCOM_MEM_OFFLINE,
so remove the dependency.
Change-Id: Id5bd1a7b79adbf6f85c2007cd7d690a387258c83
Signed-off-by: Isaac J. Manjarres <[email protected]>
Enable the interconnect debugfs nodes, which are required for debugging,
testing, and performance profiling.
Change-Id: If939909c27fdb4044189b9d08ae03a5f644d3a4b
Signed-off-by: Mike Tipton <[email protected]>
Expose a debugfs node so that user can manually input WFC call
status QMI message for debug purpose.
Change-Id: I02d2b0064a0ba5622c2ee3523e577ec2f3fec36b
Signed-off-by: Yue Ma <[email protected]>
Enable the configs necessary to enable ZRAM functionality
on genericarmv8-64.
Change-Id: Iebb618a4b716f0dee27f6ddd7e14975481d4a3c8
Signed-off-by: Isaac J. Manjarres <[email protected]>