Skip to content

Commit

Permalink
patch: kernel: rk35xx-vendor-6.1: adakta-smarc: upd camera
Browse files Browse the repository at this point in the history
  • Loading branch information
bmx666 committed Nov 27, 2024
1 parent 8fffd66 commit e807f3a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
#clock-cells = <0>;
};

fake_imx219_clk: fake-imx219-clock {
compatible = "fixed-clock";
clock-frequency = <24000000>;
clock-output-names = "CLK_CAMERA_24MHZ";
#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
@@ -1,8 +1,6 @@
/dts-v1/;
/plugin/;

#include <dt-bindings/clock/rk3568-cru.h>
#include <dt-bindings/power/rk3568-power.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>

Expand Down Expand Up @@ -32,10 +30,7 @@
// powerdown in driver
reset-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>;

power-domains = <&power RK3568_PD_VI>;
rockchip,grf = <&grf>;

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

rockchip,camera-module-index = <0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// powerdown in driver
reset-gpios = <&gpio3 RK_PD3 GPIO_ACTIVE_LOW>;

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

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

0 comments on commit e807f3a

Please sign in to comment.