Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: r8a7790: Add INTC-SYS clock to device tree

Link the ARM GIC to the INTC-SYS module clock, and add it to the "always
on" PM Domain, so it can be power managed using that clock.

Note that currently the GIC-400 driver doesn't support module clocks nor
Runtime PM, so this must be handled as a critical clock.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

authored by

Geert Uytterhoeven and committed by
Simon Horman
9e585236 c11333cc

+7 -3
+6 -3
arch/arm/boot/dts/r8a7790.dtsi
··· 185 185 <0 0xf1004000 0 0x2000>, 186 186 <0 0xf1006000 0 0x2000>; 187 187 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 188 + clocks = <&mstp4_clks R8A7790_CLK_INTC_SYS>; 189 + clock-names = "clk"; 190 + power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; 188 191 }; 189 192 190 193 gpio0: gpio@e6050000 { ··· 1367 1364 mstp4_clks: mstp4_clks@e6150140 { 1368 1365 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; 1369 1366 reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>; 1370 - clocks = <&cp_clk>; 1367 + clocks = <&cp_clk>, <&zs_clk>; 1371 1368 #clock-cells = <1>; 1372 - clock-indices = <R8A7790_CLK_IRQC>; 1373 - clock-output-names = "irqc"; 1369 + clock-indices = <R8A7790_CLK_IRQC R8A7790_CLK_INTC_SYS>; 1370 + clock-output-names = "irqc", "intc-sys"; 1374 1371 }; 1375 1372 mstp5_clks: mstp5_clks@e6150144 { 1376 1373 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
+1
include/dt-bindings/clock/r8a7790-clock.h
··· 82 82 83 83 /* MSTP4 */ 84 84 #define R8A7790_CLK_IRQC 7 85 + #define R8A7790_CLK_INTC_SYS 8 85 86 86 87 /* MSTP5 */ 87 88 #define R8A7790_CLK_AUDIO_DMAC1 1