Skip to content

Commit d261fd9

Browse files
JakubVanekpelwell
authored andcommitted
dtoverlays: Enable cam1_clock when using tc358743 or irs1125
This fixes a regression introduced in 131f132 (see also raspberrypi#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.
1 parent 606d1fc commit d261fd9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/arm/boot/dts/overlays/irs1125-overlay.dts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
clk_frag: fragment@5 {
7676
target = <&cam1_clk>;
7777
__overlay__ {
78+
status = "okay";
7879
clock-frequency = <26000000>;
7980
};
8081
};

‎arch/arm/boot/dts/overlays/tc358743-overlay.dts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
clk_frag: fragment@6 {
7979
target = <&cam1_clk>;
8080
__overlay__ {
81+
status = "okay";
8182
clock-frequency = <27000000>;
8283
};
8384
};

0 commit comments

Comments
 (0)