.. | .. |
---|
16 | 16 | struct rk1608_fmt_inf { |
---|
17 | 17 | u32 data_type; |
---|
18 | 18 | u32 mipi_lane; |
---|
| 19 | + u32 mipi_lane_out; |
---|
19 | 20 | u32 hactive; |
---|
20 | 21 | u32 vactive; |
---|
21 | 22 | u32 htotal; |
---|
.. | .. |
---|
23 | 24 | struct v4l2_mbus_framefmt mf; |
---|
24 | 25 | struct rk1608_chinf in_ch[4]; |
---|
25 | 26 | struct rk1608_chinf out_ch[4]; |
---|
| 27 | + u32 hcrop; |
---|
| 28 | + u32 vcrop; |
---|
| 29 | +}; |
---|
| 30 | + |
---|
| 31 | +struct rk1608_sub_sensor_cfg { |
---|
| 32 | + u32 id; |
---|
| 33 | + u32 in_mipi; |
---|
| 34 | + u32 out_mipi; |
---|
| 35 | + u32 reserved; |
---|
26 | 36 | }; |
---|
27 | 37 | |
---|
28 | 38 | struct rk1608_dphy { |
---|
.. | .. |
---|
60 | 70 | struct rk1608_fmt_inf fmt_inf[RK1608_MAX_FMTINF]; |
---|
61 | 71 | |
---|
62 | 72 | bool first_stream; |
---|
| 73 | + |
---|
| 74 | + /* for virtual sub sensor */ |
---|
| 75 | + u32 sub_sensor_num; |
---|
| 76 | + struct rk1608_sub_sensor_cfg sub_sensor[4]; |
---|
| 77 | + struct i2c_client *link_sensor_client; |
---|
63 | 78 | }; |
---|
64 | 79 | |
---|
65 | 80 | #endif |
---|