Skip to content

Commit

Permalink
mips: dts: ingenic: Add TCU clock to x1000/x1830 tcu device node
Browse files Browse the repository at this point in the history
This clock is a gate for the TCU hardware block on these SoCs, but
it wasn't included in the device tree since the ingenic-tcu driver
erroneously did not request it.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
  • Loading branch information
Aidan MacDonald authored and intel-lab-lkp committed Apr 11, 2022
1 parent b61b76d commit 12e87c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions arch/mips/boot/dts/ingenic/x1000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@

clocks = <&cgu X1000_CLK_RTCLK>,
<&cgu X1000_CLK_EXCLK>,
<&cgu X1000_CLK_PCLK>;
clock-names = "rtc", "ext", "pclk";
<&cgu X1000_CLK_PCLK>,
<&cgu X1000_CLK_TCU>;
clock-names = "rtc", "ext", "pclk", "tcu";

interrupt-controller;
#interrupt-cells = <1>;
Expand Down
5 changes: 3 additions & 2 deletions arch/mips/boot/dts/ingenic/x1830.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@

clocks = <&cgu X1830_CLK_RTCLK>,
<&cgu X1830_CLK_EXCLK>,
<&cgu X1830_CLK_PCLK>;
clock-names = "rtc", "ext", "pclk";
<&cgu X1830_CLK_PCLK>,
<&cgu X1830_CLK_TCU>;
clock-names = "rtc", "ext", "pclk", "tcu";

interrupt-controller;
#interrupt-cells = <1>;
Expand Down

0 comments on commit 12e87c8

Please sign in to comment.