rk312x:cif: 1. soft reset cif before setting cif registers
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk312x-cif-sensor.dtsi
1 #include "rk312x.dtsi" 
2 #include "rk312x-pinctrl.dtsi"
3 #include "../../mach-rockchip/rk_camera_sensor_info.h"
4 /{
5         cif_sensor: cif_sensor{
6                         compatible = "rockchip,sensor";
7                         CONFIG_SENSOR_POWER_IOCTL_USR           = <1>;
8                         CONFIG_SENSOR_RESET_IOCTL_USR           = <0>;
9                         CONFIG_SENSOR_POWERDOWN_IOCTL_USR       = <0>;
10                         CONFIG_SENSOR_FLASH_IOCTL_USR           = <0>;
11                         CONFIG_SENSOR_AF_IOCTL_USR                      = <0>;
12
13                 ov2659{
14                         is_front = <1>; 
15                         rockchip,powerdown = <&gpio3 GPIO_D7 GPIO_ACTIVE_HIGH>;
16                         #rockchip,power = <>;
17                         mir = <0>;
18                         flash_attach = <0>;
19                         resolution = <ov2659_FULL_RESOLUTION>;
20                         pwdn_info = <ov2659_PWRDN_ACTIVE>;
21                         powerup_sequence = <ov2659_PWRSEQ>;             
22                         i2c_add = <ov2659_I2C_ADDR>;
23                         i2c_rata = <100000>;
24                         i2c_chl = <0>;
25                         cif_chl = <0>;
26                         mclk_rate = <24>;
27                 };
28         };
29 };
30