mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
793f8ab62c
Add kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
46 lines
1.6 KiB
Diff
46 lines
1.6 KiB
Diff
From 55eafc594a9ec1aaa8b01207c5361e79d6b52fe7 Mon Sep 17 00:00:00 2001
|
|
From: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
|
|
Date: Fri, 11 Nov 2022 13:36:07 +0000
|
|
Subject: [PATCH] imx296-overlay: clock-frequency defaults to 54MHz but
|
|
can be overridden
|
|
|
|
Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/overlays/README | 3 +++
|
|
arch/arm/boot/dts/overlays/imx296-overlay.dts | 5 +++--
|
|
2 files changed, 6 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -2207,6 +2207,9 @@ Params: rotation Mounting
|
|
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
|
|
--- a/arch/arm/boot/dts/overlays/imx296-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/imx296-overlay.dts
|
|
@@ -17,9 +17,9 @@
|
|
|
|
clk_frag: fragment@1 {
|
|
target = <&cam1_clk>;
|
|
- __overlay__ {
|
|
+ clk_over: __overlay__ {
|
|
status = "okay";
|
|
- clock-frequency = <37125000>;
|
|
+ clock-frequency = <54000000>;
|
|
};
|
|
};
|
|
|
|
@@ -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";
|
|
};
|
|
};
|