1 From 55eafc594a9ec1aaa8b01207c5361e79d6b52fe7 Mon Sep 17 00:00:00 2001
2 From: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
3 Date: Fri, 11 Nov 2022 13:36:07 +0000
4 Subject: [PATCH] imx296-overlay: clock-frequency defaults to 54MHz but
7 Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
9 arch/arm/boot/dts/overlays/README | 3 +++
10 arch/arm/boot/dts/overlays/imx296-overlay.dts | 5 +++--
11 2 files changed, 6 insertions(+), 2 deletions(-)
13 --- a/arch/arm/boot/dts/overlays/README
14 +++ b/arch/arm/boot/dts/overlays/README
15 @@ -2207,6 +2207,9 @@ Params: rotation Mounting
16 configuring the sensor (default on)
17 cam0 Adopt the default configuration for CAM0 on a
18 Compute Module (CSI0, i2c_vc, and cam0_reg).
19 + clock-frequency Sets the clock frequency to match that used on
20 + the board, which should be one of 54000000
21 + (the default), 37125000 or 74250000.
25 --- a/arch/arm/boot/dts/overlays/imx296-overlay.dts
26 +++ b/arch/arm/boot/dts/overlays/imx296-overlay.dts
29 clk_frag: fragment@1 {
32 + clk_over: __overlay__ {
34 - clock-frequency = <37125000>;
35 + clock-frequency = <54000000>;
40 <&clk_frag>, "target:0=",<&cam0_clk>,
41 <&imx296>, "clocks:0=",<&cam0_clk>,
42 <&imx296>, "VANA-supply:0=",<&cam0_reg>;
43 + clock-frequency = <&clk_over>, "clock-frequency:0";