summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSudhir Vyas <svyas@nvidia.com>2018-12-14 04:51:14 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2019-01-08 18:30:48 -0500
commitbbd5a6a314cb481e1b8e0686707e3ac7330c2ee0 (patch)
tree406ec1d54638753adcd5426aac9d95fefb293d17 /include/media
parent6ced1ece76854a9c9fb07026f17da1e05dba44ce (diff)
media: i2c: imx390: refactor driver internals
- Use vendor recommended 32bit frame-length and coarse-time v4l2 ctrls. TODO: convert to 64bit ctrls. - Rectify framelength address registers. - Update mode settings and resolution. - Correct line length and related settings to fix frame rate and buffer overflow issue. - Modify gmsl setup/reset interface, caller functions and sequence. - Let deserializer own the power functions to fix issues related to shared reset gpio. - Handle shared i2c passthrough2 to fix device communication issue. Bug 200407741 Change-Id: I1cbb6288dd150dbfc5d4b42a94f119c9775f6cff Signed-off-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1989915 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/max9296.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/media/max9296.h b/include/media/max9296.h
index d503e84ac..615582668 100644
--- a/include/media/max9296.h
+++ b/include/media/max9296.h
@@ -1,5 +1,5 @@
1/** 1/**
2 * Copyright (c) 2018, NVIDIA Corporation. All rights reserved. 2 * Copyright (c) 2018-2019, NVIDIA Corporation. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -19,9 +19,11 @@
19 19
20#include <media/gmsl-link.h> 20#include <media/gmsl-link.h>
21 21
22int max9296_setup_link(struct device *dev, struct device *s_dev);
23
22int max9296_setup_control(struct device *dev); 24int max9296_setup_control(struct device *dev);
23 25
24int max9296_reset_control(struct device *dev); 26int max9296_reset_control(struct device *dev, struct device *s_dev);
25 27
26int max9296_sdev_register(struct device *dev, struct gmsl_link_ctx *g_ctx); 28int max9296_sdev_register(struct device *dev, struct gmsl_link_ctx *g_ctx);
27 29
@@ -29,6 +31,8 @@ int max9296_sdev_unregister(struct device *dev, struct device *s_dev);
29 31
30int max9296_setup_streaming(struct device *dev, struct device *s_dev); 32int max9296_setup_streaming(struct device *dev, struct device *s_dev);
31 33
32int max9296_link_ex(struct device *dev, struct device *s_dev); 34int max9296_power_on(struct device *dev);
35
36void max9296_power_off(struct device *dev);
33 37
34#endif /* __MAX9296_H__ */ 38#endif /* __MAX9296_H__ */