1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Information for the Marvell Armada MMP camera
6 #include <media/v4l2-mediabus.h>
9 DPHY3_ALGO_DEFAULT = 0,
14 struct mmp_camera_platform_data {
15 struct platform_device *i2c_device;
16 int sensor_power_gpio;
17 int sensor_reset_gpio;
18 enum v4l2_mbus_type bus_type;
19 int mclk_min; /* The minimal value of MCLK */
20 int mclk_src; /* which clock source the MCLK derives from */
21 int mclk_div; /* Clock Divider Value for MCLK */
25 int dphy[3]; /* DPHY: CSI2_DPHY3, CSI2_DPHY5, CSI2_DPHY6 */
26 enum dphy3_algo dphy3_algo; /* algos for calculate CSI2_DPHY3 */
27 int lane; /* ccic used lane number; 0 means DVP mode */