aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorJosh Wu <josh.wu@atmel.com>2014-07-25 06:13:38 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-30 18:35:06 -0400
commit3900623bfaffde4eeb93ca0ba0475598a1b0cef5 (patch)
tree88dcae1db1cb0921a3bcf3812f5f0eef2e6d8295 /include/media
parent47c71bd61b772cd72159dff4aae43734257a485a (diff)
[media] media: atmel-isi: add v4l2 async probe support
Signed-off-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/atmel-isi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/atmel-isi.h b/include/media/atmel-isi.h
index 2b023471ac89..c2e570336269 100644
--- a/include/media/atmel-isi.h
+++ b/include/media/atmel-isi.h
@@ -106,6 +106,8 @@
106#define ISI_DATAWIDTH_8 0x01 106#define ISI_DATAWIDTH_8 0x01
107#define ISI_DATAWIDTH_10 0x02 107#define ISI_DATAWIDTH_10 0x02
108 108
109struct v4l2_async_subdev;
110
109struct isi_platform_data { 111struct isi_platform_data {
110 u8 has_emb_sync; 112 u8 has_emb_sync;
111 u8 emb_crc_sync; 113 u8 emb_crc_sync;
@@ -118,6 +120,8 @@ struct isi_platform_data {
118 u32 frate; 120 u32 frate;
119 /* Using for ISI_MCK */ 121 /* Using for ISI_MCK */
120 u32 mck_hz; 122 u32 mck_hz;
123 struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */
124 int *asd_sizes; /* 0-terminated array of asd group sizes */
121}; 125};
122 126
123#endif /* __ATMEL_ISI_H__ */ 127#endif /* __ATMEL_ISI_H__ */