mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
20ea6adbf1
Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
From bf29731068a77344efdf241a7a932ffdd3e8f931 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Jakub=20Van=C4=9Bk?= <linuxtardis@gmail.com>
|
|
Date: Tue, 28 Dec 2021 15:43:10 +0100
|
|
Subject: [PATCH] dtoverlays: Enable cam1_clock when using tc358743 or
|
|
irs1125
|
|
|
|
This fixes a regression introduced in 131f1322039284932ccb601a5cffdd9ca5d36d96
|
|
(see also https://github.com/raspberrypi/linux/issues/4791).
|
|
The tc358743 driver refused to bind to the device. The irs1125
|
|
driver is likely behaving similarly.
|
|
|
|
The new unified cam1_clk node that represents the fixed on-board
|
|
oscillator is marked as disabled by default. These overlays didn't
|
|
expect this and so the clock nodes were stuck in disabled state.
|
|
|
|
This commit just adds the required status = "okay" line. Other sensor
|
|
drivers do this too.
|
|
---
|
|
arch/arm/boot/dts/overlays/irs1125-overlay.dts | 1 +
|
|
arch/arm/boot/dts/overlays/tc358743-overlay.dts | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/irs1125-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/irs1125-overlay.dts
|
|
@@ -75,6 +75,7 @@
|
|
clk_frag: fragment@5 {
|
|
target = <&cam1_clk>;
|
|
__overlay__ {
|
|
+ status = "okay";
|
|
clock-frequency = <26000000>;
|
|
};
|
|
};
|
|
--- a/arch/arm/boot/dts/overlays/tc358743-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/tc358743-overlay.dts
|
|
@@ -78,6 +78,7 @@
|
|
clk_frag: fragment@6 {
|
|
target = <&cam1_clk>;
|
|
__overlay__ {
|
|
+ status = "okay";
|
|
clock-frequency = <27000000>;
|
|
};
|
|
};
|