Skip to content

Commit

Permalink
dtoverlays: Enable cam1_clock when using tc358743 or irs1125
Browse files Browse the repository at this point in the history
This fixes a regression introduced in 131f132
(see also #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.
  • Loading branch information
JakubVanek authored and popcornmix committed Jan 24, 2022
1 parent c056b71 commit 15c6e05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/overlays/irs1125-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
clk_frag: fragment@5 {
target = <&cam1_clk>;
__overlay__ {
status = "okay";
clock-frequency = <26000000>;
};
};
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/overlays/tc358743-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
clk_frag: fragment@6 {
target = <&cam1_clk>;
__overlay__ {
status = "okay";
clock-frequency = <27000000>;
};
};
Expand Down

0 comments on commit 15c6e05

Please sign in to comment.