Linux-Kernel Archive: [PATCH v6 1/2] mips: dts: ingenic: Add TCU clock to x1000/x1830 tcu device node [PATCH v6 1/2] mips: dts: ingenic: Add TCU clock to x1000/x1830 tcu device node From: Aidan MacDonald Date: Fri Jun 17 2022 - 08:17:17 EST Next message: Fabio M. De Francesco: "Re: [RFC PATCH] btrfs: Replace kmap() with kmap_local_page() in zlib.c" Previous message: Aidan MacDonald: "[PATCH v6 0/2] Fix missing TCU clock for X1000/X1830 SoCs" In reply to: Aidan MacDonald: "[PATCH v6 0/2] Fix missing TCU clock for X1000/X1830 SoCs" Next in thread: Thomas Bogendoerfer: "Re: [PATCH v6 1/2] mips: dts: ingenic: Add TCU clock to x1000/x1830 tcu device node" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] 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. Reviewed-by: Paul Cercueil
Signed-off-by: Aidan MacDonald --- arch/mips/boot/dts/ingenic/x1000.dtsi | 5 +++-- arch/mips/boot/dts/ingenic/x1830.dtsi | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/mips/boot/dts/ingenic/x1000.dtsi b/arch/mips/boot/dts/ingenic/x1000.dtsi index b0a034b468bb..42e69664efd9 100644 --- a/arch/mips/boot/dts/ingenic/x1000.dtsi +++ b/arch/mips/boot/dts/ingenic/x1000.dtsi @@ -111,8 +111,9 @@ tcu: timer@10002000 { 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>; diff --git a/arch/mips/boot/dts/ingenic/x1830.dtsi b/arch/mips/boot/dts/ingenic/x1830.dtsi index dbf21afaccb1..65a5da71c199 100644 --- a/arch/mips/boot/dts/ingenic/x1830.dtsi +++ b/arch/mips/boot/dts/ingenic/x1830.dtsi @@ -104,8 +104,9 @@ tcu: timer@10002000 { 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>; -- 2.35.1 Next message: Fabio M. De Francesco: "Re: [RFC PATCH] btrfs: Replace kmap() with kmap_local_page() in zlib.c" Previous message: Aidan MacDonald: "[PATCH v6 0/2] Fix missing TCU clock for X1000/X1830 SoCs" In reply to: Aidan MacDonald: "[PATCH v6 0/2] Fix missing TCU clock for X1000/X1830 SoCs" Next in thread: Thomas Bogendoerfer: "Re: [PATCH v6 1/2] mips: dts: ingenic: Add TCU clock to x1000/x1830 tcu device node" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]