Skip to content

Commit

Permalink
patch: kernel: rk35xx-vendor-6.1: adakta-ad: upd camera
Browse files Browse the repository at this point in the history
  • Loading branch information
bmx666 committed Dec 2, 2024
1 parent dd2a234 commit 5608b96
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
#clock-cells = <0>;
};

fake_ov5647_clk: fake-ov5647-clock {
compatible = "fixed-clock";
clock-frequency = <12000000>;
clock-output-names = "CLK_CAMERA_12MHZ";
#clock-cells = <0>;
};

camera_vdddo_1v8: camera-vdddo-1v8 {
compatible = "regulator-fixed";
regulator-name = "camera_vdddo_1v8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
rockchip,grf = <&sys_grf>;

pinctrl-names = "default";
pinctrl-0 = <&mipim0_camera1_clk &aw9523_cam0_powerdown_pins>;
pinctrl-0 = <&aw9523_cam0_powerdown_pins>;

pwdn-gpios = <&aw9523 1 GPIO_ACTIVE_LOW>;

clocks = <&cru CLK_MIPI_CAMARAOUT_M1>;
clocks = <&fake_ov5647_clk>;
clock-names = "xvclk";

rockchip,camera-module-index = <0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
rockchip,grf = <&sys_grf>;

pinctrl-names = "default";
pinctrl-0 = <&mipim0_camera2_clk &aw9523_cam1_powerdown_pins>;
pinctrl-0 = <&aw9523_cam1_powerdown_pins>;

pwdn-gpios = <&aw9523 3 GPIO_ACTIVE_LOW>;

clocks = <&cru CLK_MIPI_CAMARAOUT_M2>;
clocks = <&fake_ov5647_clk>;
clock-names = "xvclk";

rockchip,camera-module-index = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
rockchip,grf = <&sys_grf>;

pinctrl-names = "default";
pinctrl-0 = <&mipim0_camera3_clk &aw9523_cam2_powerdown_pins>;
pinctrl-0 = <&aw9523_cam2_powerdown_pins>;

pwdn-gpios = <&aw9523 5 GPIO_ACTIVE_LOW>;

clocks = <&cru CLK_MIPI_CAMARAOUT_M3>;
clocks = <&fake_ov5647_clk>;
clock-names = "xvclk";

rockchip,camera-module-index = <2>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
rockchip,grf = <&sys_grf>;

pinctrl-names = "default";
pinctrl-0 = <&mipim0_camera4_clk &aw9523_cam3_powerdown_pins>;
pinctrl-0 = <&aw9523_cam3_powerdown_pins>;

pwdn-gpios = <&aw9523 7 GPIO_ACTIVE_LOW>;

clocks = <&cru CLK_MIPI_CAMARAOUT_M4>;
clocks = <&fake_ov5647_clk>;
clock-names = "xvclk";

rockchip,camera-module-index = <3>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

pwdn-gpios = <&aw9523 9 GPIO_ACTIVE_LOW>;

clocks = <&ext_cam_clk>;
clocks = <&fake_ov5647_clk>;
clock-names = "xvclk";

rockchip,camera-module-index = <4>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

pwdn-gpios = <&aw9523 11 GPIO_ACTIVE_LOW>;

clocks = <&ext_cam_clk>;
clocks = <&fake_ov5647_clk>;
clock-names = "xvclk";

rockchip,camera-module-index = <5>;
Expand Down

0 comments on commit 5608b96

Please sign in to comment.