Skip to content

Commit

Permalink
imx296-overlay: clock-frequency defaults to 54MHz but can be overridden
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Hollinghurst <[email protected]>
  • Loading branch information
njhollinghurst authored and popcornmix committed Nov 21, 2022
1 parent 957030f commit a95e73e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -2207,6 +2207,9 @@ Params: rotation Mounting rotation of the camera sensor (0 or
configuring the sensor (default on)
cam0 Adopt the default configuration for CAM0 on a
Compute Module (CSI0, i2c_vc, and cam0_reg).
clock-frequency Sets the clock frequency to match that used on
the board, which should be one of 54000000
(the default), 37125000 or 74250000.


Name: imx327
Expand Down
5 changes: 3 additions & 2 deletions arch/arm/boot/dts/overlays/imx296-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

clk_frag: fragment@1 {
target = <&cam1_clk>;
__overlay__ {
clk_over: __overlay__ {
status = "okay";
clock-frequency = <37125000>;
clock-frequency = <54000000>;
};
};

Expand Down Expand Up @@ -99,5 +99,6 @@
<&clk_frag>, "target:0=",<&cam0_clk>,
<&imx296>, "clocks:0=",<&cam0_clk>,
<&imx296>, "VANA-supply:0=",<&cam0_reg>;
clock-frequency = <&clk_over>, "clock-frequency:0";
};
};

0 comments on commit a95e73e

Please sign in to comment.