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
bmx666 committed Nov 27, 2024
1 parent 8fffd66 commit 43b602d
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -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";
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>

@@ -29,13 +27,9 @@
pinctrl-names = "default";
pinctrl-0 = <&cif_clk>, <&cam0_powerdown>;

// powerdown in driver
reset-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;

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>;
Original file line number Diff line number Diff line change
@@ -29,10 +29,9 @@
pinctrl-names = "default";
pinctrl-0 = <&cam1_powerdown>;

// powerdown in driver
reset-gpios = <&gpio3 RK_PD3 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio3 RK_PD3 GPIO_ACTIVE_HIGH>;

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

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

0 comments on commit 43b602d

Please sign in to comment.