The user space spcomlib provides command buffer
for various commands.
Verify that the command buffer size matches the expected
command struct size.
CRs-Fixed: 1094143
Change-Id: If3ead54bd03368fa9338921e299b2ad8fb078297
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Add qseecom device node with all the necessary parameters,
to enable qseecom driver on msmfalcon.
Change-Id: Ib29962ebc7427391d7c0e355fa46156d2a8d15e5
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
1. Voltage regulator changes for front camera
and eeprom.
2. Gpio changes for front camera and eeprom.
3. Flash changes for rear and front camera.
Change-Id: I85128fab65611a66d7d04a896502c75d8212a736
Signed-off-by: Shankar Ravi <rshankar@codeaurora.org>
1. Voltage regulator changes for rear camera
and eeprom.
2. Gpio changes for rear camera and eeprom.
Change-Id: Ie59a748d016211d5ddbab2593ec310a313690f9e
Signed-off-by: Shankar Ravi <rshankar@codeaurora.org>
When creating a context allocate an ID but don't populate the slot
with the context pointer until we are done setup up the rest of the
process. This avoids a race if somebody tries to free the same
identifier before the create operation is complete.
Change-Id: Ic0dedbadca5b4cc4ce567afad48a33078b549439
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Dumpeti Sathish Kumar <sathyanov14@codeaurora.org>
RPM expects resource-id of each type of regulator to start from
0. Update the resource-id of SSC regulator accordingly.
Change-Id: Id9721e5b96df08a1090914b968c93436d15169a9
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Currently, there is a possibility that read buffers are
not initialized but diag ends up marking buffers busy and
stops reading from peripheral, which leads to port loss.
Also reset the in_busy variable for the buffer that reads
the data from smd channel when diag smd state is closed.
CRs-Fixed: 1093989
Change-Id: I1990d0ded5a212c9185c149ac297a3630d64bc59
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
There is no need to call handle_sys_error if it is
called already. So check the core state to return
if it is not in valid state.
CRs-Fixed: 1072500
Change-Id: Iaa77ea31f29190dcf35b4bfc4913b8eec0d638b0
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
If either instance state or core state is invalid, then
we should fail and return error from qbuf and prepare_buf.
CRs-Fixed: 1072500
Change-Id: I0efc3125b2c204dafbc90d011a4e9ad3fb1c1ba2
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Gamut mapping feature has a huge size 3D LUT table, which consumes
a lot of time to program. This patch optimizes the programming of
the 3D LUT to reduce about half of the register writes.
Change-Id: I4a9fcee6c1cd70d9c04426c394e480c11a6f4648
Signed-off-by: Ping Li <pingli@codeaurora.org>
Add actuator src and flash src of camera0 node for
support focus and flash function on msm8998 qrd skuk board.
Change-Id: I92ed864aedfdd38c8670e08fb35a6545e8abb142
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
Remove msm_bus bandwidth vote from DT for msm8998
as WLAN FW will take care of it.
CRs-Fixed: 1094917
Change-Id: Ied5dcb9e3283dc2ec7f5fd6f03465b070f989d8b
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Fix the GPIO settings by changing output of GPIO78 to 0 to flip
the on board AUX switch, and furthermore, setting the function
of GPIO38 to gpio. These updated GPIO settings enable flip plug
orientation to work by fixing the AUX switch and the PHY lane
configuration.
Change-Id: I0da80a4f524ba84cf6740521f6b1bfe63a85de38
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
CRs-Fixed: 1062508
Fix the PHY programming sequence for flip plug orientation by
ensuring that the correct PHY_MODE and LANE_MODE values are
selected, depending on the orientation and link rate
respectively.
Change-Id: I6e74c20c509b7007a86df9d99894a9a6c0baa946
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
CRs-Fixed: 1062508
Current clock driver requires that before enabling
the core clock after power collapse, the set rate
must be called. Ensure this sequence by always calling
the set rate for the mdp core clock before enable.
Change-Id: I872f18235b0b1685dfdee3de99827d031077a012
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>