#include <linux/pinctrl/consumer.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
+#include <linux/of_gpio.h>
#include <linux/rockchip/cpu.h>
#include <media/camsys_head.h>
+#include <linux/rockchip-iovmm.h>
*v0.9.0: 1) set isp freq to 210M
*v0.a.0:
* 1) fix camsys_i2c_write and camsys_i2c_write can't support reg_size=0;
+*v0.b.0:
+ 1) control ddr freq by marvin self other than by clk unit.
+*v0.c.0:
+* 1) add flash_trigger_out control
+*v0.d.0:
+* 1) add Isp_SoftRst for rk3288;
+*v0.e.0:
+* 1) isp_clk 208.8M for 1lane, isp_clk 416.6M for 2lane;
+*v0.f.0:
+ 1) mi_mis register may read erro, this may cause mistaken mi frame_end irqs.
+*v0.0x10.0:
+ 1) add flash_prelight control.
+*v0.0x11.0:
+ 1) raise qos of isp up to the same as lcdc.
+*v0.0x12.0:
+ 1) support iommu.
*/
-#define CAMSYS_DRIVER_VERSION KERNEL_VERSION(0,0xa,0)
+#define CAMSYS_DRIVER_VERSION KERNEL_VERSION(0,0x12,0)
#define CAMSYS_PLATFORM_DRV_NAME "RockChip-CamSys"
int (*phy_cb) (camsys_extdev_t *extdev, camsys_sysctrl_t *devctl, void* ptr);
int (*iomux)(camsys_extdev_t *extdev,void *ptr);
int (*platform_remove)(struct platform_device *pdev);
+ int (*flash_trigger_cb)(void *ptr, unsigned int on);
+ int (*iommu_cb)(void *ptr,camsys_sysctrl_t *devctl);
} camsys_dev_t;