Skip to content

Commit 28c081c

Browse files
njhollinghurstpelwell
authored andcommitted
imx296-overlay: clock-frequency defaults to 54MHz but can be overridden
Signed-off-by: Nick Hollinghurst <[email protected]>
1 parent 31bf711 commit 28c081c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2207,6 +2207,9 @@ Params: rotation Mounting rotation of the camera sensor (0 or
22072207
configuring the sensor (default on)
22082208
cam0 Adopt the default configuration for CAM0 on a
22092209
Compute Module (CSI0, i2c_vc, and cam0_reg).
2210+
clock-frequency Sets the clock frequency to match that used on
2211+
the board, which should be one of 54000000
2212+
(the default), 37125000 or 74250000.
22102213

22112214

22122215
Name: imx327

arch/arm/boot/dts/overlays/imx296-overlay.dts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
clk_frag: fragment@1 {
1919
target = <&cam1_clk>;
20-
__overlay__ {
20+
clk_over: __overlay__ {
2121
status = "okay";
22-
clock-frequency = <37125000>;
22+
clock-frequency = <54000000>;
2323
};
2424
};
2525

@@ -99,5 +99,6 @@
9999
<&clk_frag>, "target:0=",<&cam0_clk>,
100100
<&imx296>, "clocks:0=",<&cam0_clk>,
101101
<&imx296>, "VANA-supply:0=",<&cam0_reg>;
102+
clock-frequency = <&clk_over>, "clock-frequency:0";
102103
};
103104
};

0 commit comments

Comments
 (0)