GMU firmware to differentiate between A660 and A660 GPU variant
expects target version in bit 28-31. In device tree, target
version is specified in upper nibble of patch to align with
usermode driver expectation.
This change correctly formats the chipid before passing it to GMU
firmware to avoid boot-up issues.
Change-Id: I2d2ab742afedca849f87c7ba44c8184afe8a6737
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Verbose log out side the write lock is getting preempted by
other irq and incorrectly identified that mhi irq hogging
cpu when the other irq is responsible for that. Remove
verbose logging from mhi threaded irq which is not really
needed.
Change-Id: I1608d64a43600e662de9076642d0097e31b01a46
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Add Trusted touch support to lahaina QRD Touchscreen
driver. This feature enables driver to operate in
trusted touch mode in trusted virtual machine(TVM).
The primary virtual machine(PVM) lends resources such
as IO memory and touch irq to TVM prior to trusted touch
is initiated and reclaims those resources back after trusted
touch usecase finishes.The resource requirements of TVM
such as clock, regulators etc are taken care by PVM.
Change-Id: I342a0a19977365ef08ea0c8fc191a2505e6e3984
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
During any sensor threshold notification, the of-thermal framework
checks whether any trip of each thermal zone for that sensor is
violated or not. It requests thermal zone re-evaluation only for
those thermal zones those trip is violated. If trips are violated
for none of thermal zones due to some reason, then of-thermal ignores
that sensor notification and it leads to no active trip threshold
for that sensor forever.
Notify and request thermal zone re-evaluation for at least one thermal
zone for that sensor if trips are violated for none in of-thermal.
It makes sure that for every sensor notification, thermal zone
aggregate and set next active trip.
Change-Id: If9955977fe32929d853815ddb9408385291b3c58
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Currently dma handles are not freed in the RPC call with no parameters.
This will cause fastrpc driver to hold the memory of the dma handle, that
is freed in both DSP and application user space. Free dma handles even
in the RPC call with no parameters.
Change-Id: Ica5bfc98edc07b77f79bfaf75630508b8c9ee1af
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
Make sure that the delayed work invoked in suspend
are completed.
Change-Id: I29df22cdd44590fca3ebf0ecc58d6d88505cc156
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
After touch read is failed, reset touch IC and enable irq
before try to read by I2C once again.
Change-Id: I755ab9e41dcc953665f21df01ea03fe0f89b958d
Signed-off-by: Fei Mao <feim1@codeaurora.org>
Make the iommu clocks list dynamic so that we
can add new clocks to the list whenever needed.
Change-Id: I7a742c709d0bdc59d4f578329f7019959d4edb46
Signed-off-by: Nitheesh Muthuraj <nmuthuraj@codeaurora.org>
To help with power savings, disable haptics module when the device
enters suspend and enable it when it exits suspend.
Change-Id: I8956be849b876a2b514c1de49f8ff447267d28a1
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
During clock gating, after clocks are disabled, put hba into LPM to save
more power.
Change-Id: I1d8d76f3b72a2346c9ab6268555b0b416cb3b16f
Signed-off-by: Can Guo <cang@codeaurora.org>
Add a function md_get_region which returns md_region
when we pass minidump entry name to it.
Change-Id: Ibbd84737041c5b1c25cc46b9c740d415978de7e6
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>