diff --git a/patch/kernel/rk35xx-vendor-6.1/dt/rk3588-adakta-ad-base-camera.dtsi b/patch/kernel/rk35xx-vendor-6.1/dt/rk3588-adakta-ad-base-camera.dtsi index 772d25539cec..3ab89e78a355 100644 --- a/patch/kernel/rk35xx-vendor-6.1/dt/rk3588-adakta-ad-base-camera.dtsi +++ b/patch/kernel/rk35xx-vendor-6.1/dt/rk3588-adakta-ad-base-camera.dtsi @@ -37,6 +37,13 @@ #clock-cells = <0>; }; + fake_ov5647_clk: fake-ov5647-clock { + compatible = "fixed-clock"; + clock-frequency = <25000000>; + clock-output-names = "CLK_CAMERA_25MHZ"; + #clock-cells = <0>; + }; + camera_vdddo_1v8: camera-vdddo-1v8 { compatible = "regulator-fixed"; regulator-name = "camera_vdddo_1v8"; diff --git a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam0-ov5647.dts b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam0-ov5647.dts index c44a443e24f1..b12d745bf729 100644 --- a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam0-ov5647.dts +++ b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam0-ov5647.dts @@ -30,11 +30,11 @@ rockchip,grf = <&sys_grf>; pinctrl-names = "default"; - pinctrl-0 = <&mipim0_camera1_clk &aw9523_cam0_powerdown_pins>; + pinctrl-0 = <&aw9523_cam0_reset_pins>; - pwdn-gpios = <&aw9523 1 GPIO_ACTIVE_LOW>; + pwdn-gpios = <&aw9523 0 GPIO_ACTIVE_LOW>; - clocks = <&cru CLK_MIPI_CAMARAOUT_M1>; + clocks = <&fake_ov5647_clk>; clock-names = "xvclk"; rockchip,camera-module-index = <0>; diff --git a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam1-ov5647.dts b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam1-ov5647.dts index f15c525562c9..d31940d3f117 100644 --- a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam1-ov5647.dts +++ b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam1-ov5647.dts @@ -30,11 +30,11 @@ rockchip,grf = <&sys_grf>; pinctrl-names = "default"; - pinctrl-0 = <&mipim0_camera2_clk &aw9523_cam1_powerdown_pins>; + pinctrl-0 = <&aw9523_cam1_reset_pins>; - pwdn-gpios = <&aw9523 3 GPIO_ACTIVE_LOW>; + pwdn-gpios = <&aw9523 2 GPIO_ACTIVE_LOW>; - clocks = <&cru CLK_MIPI_CAMARAOUT_M2>; + clocks = <&fake_ov5647_clk>; clock-names = "xvclk"; rockchip,camera-module-index = <1>; diff --git a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam2-ov5647.dts b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam2-ov5647.dts index efede7624569..cc3c8dfc5b26 100644 --- a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam2-ov5647.dts +++ b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam2-ov5647.dts @@ -30,11 +30,11 @@ rockchip,grf = <&sys_grf>; pinctrl-names = "default"; - pinctrl-0 = <&mipim0_camera3_clk &aw9523_cam2_powerdown_pins>; + pinctrl-0 = <&aw9523_cam2_reset_pins>; - pwdn-gpios = <&aw9523 5 GPIO_ACTIVE_LOW>; + pwdn-gpios = <&aw9523 4 GPIO_ACTIVE_LOW>; - clocks = <&cru CLK_MIPI_CAMARAOUT_M3>; + clocks = <&fake_ov5647_clk>; clock-names = "xvclk"; rockchip,camera-module-index = <2>; diff --git a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam3-ov5647.dts b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam3-ov5647.dts index 0e669a2a06ea..30e02a1c2b5e 100644 --- a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam3-ov5647.dts +++ b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam3-ov5647.dts @@ -30,11 +30,11 @@ rockchip,grf = <&sys_grf>; pinctrl-names = "default"; - pinctrl-0 = <&mipim0_camera4_clk &aw9523_cam3_powerdown_pins>; + pinctrl-0 = <&aw9523_cam3_reset_pins>; - pwdn-gpios = <&aw9523 7 GPIO_ACTIVE_LOW>; + pwdn-gpios = <&aw9523 6 GPIO_ACTIVE_LOW>; - clocks = <&cru CLK_MIPI_CAMARAOUT_M4>; + clocks = <&fake_ov5647_clk>; clock-names = "xvclk"; rockchip,camera-module-index = <3>; diff --git a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam4-ov5647.dts b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam4-ov5647.dts index aaffe0de652c..4cc91862bafd 100644 --- a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam4-ov5647.dts +++ b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam4-ov5647.dts @@ -27,11 +27,11 @@ reg = <0x36>; pinctrl-names = "default"; - pinctrl-0 = <&aw9523_cam4_powerdown_pins>; + pinctrl-0 = <&aw9523_cam4_reset_pins>; - pwdn-gpios = <&aw9523 9 GPIO_ACTIVE_LOW>; + pwdn-gpios = <&aw9523 8 GPIO_ACTIVE_LOW>; - clocks = <&ext_cam_clk>; + clocks = <&fake_ov5647_clk>; clock-names = "xvclk"; rockchip,camera-module-index = <4>; diff --git a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam5-ov5647.dts b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam5-ov5647.dts index 45e043eab396..751f165d15cc 100644 --- a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam5-ov5647.dts +++ b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-ad-cam5-ov5647.dts @@ -27,11 +27,11 @@ reg = <0x36>; pinctrl-names = "default"; - pinctrl-0 = <&aw9523_cam5_powerdown_pins>; + pinctrl-0 = <&aw9523_cam5_reset_pins>; - pwdn-gpios = <&aw9523 11 GPIO_ACTIVE_LOW>; + pwdn-gpios = <&aw9523 10 GPIO_ACTIVE_LOW>; - clocks = <&ext_cam_clk>; + clocks = <&fake_ov5647_clk>; clock-names = "xvclk"; rockchip,camera-module-index = <5>;