msm: camera: sensor: Add i3c bus support
Add i3c bus support for qup i3c based I3C target. CRs-Fixed: 3169593 Change-Id: I0209f799d800daf9afe7a846310a3d4f4f2ee420 Signed-off-by: Jigarkumar Zala <quic_jzala@quicinc.com> Signed-off-by: Jigar Agrawal <quic_jigar@quicinc.com>
This commit is contained in:

committato da
Camera Software Integration

parent
17e95f5f2f
commit
609d228234
@@ -364,6 +364,12 @@ void cam_compat_util_put_dmabuf_va(struct dma_buf *dmabuf, void *vaddr)
|
||||
|
||||
dma_buf_vunmap(dmabuf, &mapping);
|
||||
}
|
||||
|
||||
void cam_sensor_i3c_driver_remove(struct i3c_device *client)
|
||||
{
|
||||
CAM_DBG(CAM_SENSOR, "I3C remove invoked for %s", dev_name(i3cdev_to_dev(client)));
|
||||
}
|
||||
|
||||
#else
|
||||
void cam_smmu_util_iommu_custom(struct device *dev,
|
||||
dma_addr_t discard_start, size_t discard_length)
|
||||
@@ -402,4 +408,10 @@ void cam_compat_util_put_dmabuf_va(struct dma_buf *dmabuf, void *vaddr)
|
||||
{
|
||||
dma_buf_vunmap(dmabuf, vaddr);
|
||||
}
|
||||
|
||||
int cam_sensor_i3c_driver_remove(struct i3c_device *client)
|
||||
{
|
||||
CAM_DBG(CAM_SENSOR, "I3C remove invoked for %s", dev_name(i3cdev_to_dev(client)));
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
@@ -58,9 +58,11 @@ void cam_smmu_util_iommu_custom(struct device *dev,
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)
|
||||
int cam_req_mgr_ordered_list_cmp(void *priv,
|
||||
const struct list_head *head_1, const struct list_head *head_2);
|
||||
void cam_sensor_i3c_driver_remove(struct i3c_device *client);
|
||||
#else
|
||||
int cam_req_mgr_ordered_list_cmp(void *priv,
|
||||
struct list_head *head_1, struct list_head *head_2);
|
||||
int cam_sensor_i3c_driver_remove(struct i3c_device *client);
|
||||
#endif
|
||||
|
||||
#endif /* _CAM_COMPAT_H_ */
|
||||
|
Fai riferimento in un nuovo problema
Block a user