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 8f3e2d3
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,19 @@
*/

/ {
ext_cam_clk: external-camera-clock {
clk_cam_24m: external-camera-clock-24m {
status = "okay";
compatible = "fixed-clock";
clock-frequency = <25000000>;
clock-output-names = "CLK_CAMERA_25MHZ";
clock-frequency = <24000000>;
clock-output-names = "clk_cam_24m";
#clock-cells = <0>;
};

fake_imx219_clk: fake-imx219-clock {
clk_cam_25m: external-camera-clock-25m {
status = "okay";
compatible = "fixed-clock";
clock-frequency = <24000000>;
clock-output-names = "CLK_CAMERA_24MHZ";
clock-frequency = <25000000>;
clock-output-names = "clk_cam_25m";
#clock-cells = <0>;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

reset-gpios = <&aw9523 0 GPIO_ACTIVE_HIGH>;

clocks = <&fake_imx219_clk>;
clocks = <&clk_cam_24m>;
clock-names = "xvclk";

VANA-supply = <&camera_vdda_2v8>; /* 2.8v */
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_reset_pins>;

pwdn-gpios = <&aw9523 1 GPIO_ACTIVE_LOW>;
pwdn-gpios = <&aw9523 0 GPIO_ACTIVE_LOW>;

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

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

reset-gpios = <&aw9523 2 GPIO_ACTIVE_HIGH>;

clocks = <&fake_imx219_clk>;
clocks = <&clk_cam_24m>;
clock-names = "xvclk";

VANA-supply = <&camera_vdda_2v8>; /* 2.8v */
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_reset_pins>;

pwdn-gpios = <&aw9523 3 GPIO_ACTIVE_LOW>;
pwdn-gpios = <&aw9523 2 GPIO_ACTIVE_LOW>;

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

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

reset-gpios = <&aw9523 4 GPIO_ACTIVE_HIGH>;

clocks = <&fake_imx219_clk>;
clocks = <&clk_cam_24m>;
clock-names = "xvclk";

VANA-supply = <&camera_vdda_2v8>; /* 2.8v */
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_reset_pins>;

pwdn-gpios = <&aw9523 5 GPIO_ACTIVE_LOW>;
pwdn-gpios = <&aw9523 4 GPIO_ACTIVE_LOW>;

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

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

reset-gpios = <&aw9523 6 GPIO_ACTIVE_HIGH>;

clocks = <&fake_imx219_clk>;
clocks = <&clk_cam_24m>;
clock-names = "xvclk";

VANA-supply = <&camera_vdda_2v8>; /* 2.8v */
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_reset_pins>;

pwdn-gpios = <&aw9523 7 GPIO_ACTIVE_LOW>;
pwdn-gpios = <&aw9523 6 GPIO_ACTIVE_LOW>;

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

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

reset-gpios = <&aw9523 8 GPIO_ACTIVE_HIGH>;

clocks = <&fake_imx219_clk>;
clocks = <&clk_cam_24m>;
clock-names = "xvclk";

VANA-supply = <&camera_vdda_2v8>; /* 2.8v */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
reset-gpios = <&aw9523 8 GPIO_ACTIVE_LOW>;
powerdown-gpios = <&aw9523 9 GPIO_ACTIVE_HIGH>;

clocks = <&ext_cam_clk>;
clocks = <&clk_cam_25m>;
clock-names = "xclk";

AVDD-supply = <&camera_vdda_2v8>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <&clk_cam_25m>;
clock-names = "xvclk";

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

reset-gpios = <&aw9523 10 GPIO_ACTIVE_HIGH>;

clocks = <&fake_imx219_clk>;
clocks = <&clk_cam_24m>;
clock-names = "xvclk";

VANA-supply = <&camera_vdda_2v8>; /* 2.8v */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
reset-gpios = <&aw9523 10 GPIO_ACTIVE_LOW>;
powerdown-gpios = <&aw9523 11 GPIO_ACTIVE_HIGH>;

clocks = <&ext_cam_clk>;
clocks = <&clk_cam_25m>;
clock-names = "xclk";

AVDD-supply = <&camera_vdda_2v8>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <&clk_cam_25m>;
clock-names = "xvclk";

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

0 comments on commit 8f3e2d3

Please sign in to comment.