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

irqchip: renesas-irqc: Add functional clock to bindings

The external IRQ controller has a functional clock, which is used for
power management. Document it.

Fix a typo in the r8a73a4 SoC name while we're at it.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Link: https://lkml.kernel.org/r/1426704961-27322-4-git-send-email-geert+renesas@glider.be
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

authored by

Geert Uytterhoeven and committed by
Jason Cooper
5593ce64 51b05f6b

+3 -1
+3 -1
Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt
··· 4 4 5 5 - compatible: has to be "renesas,irqc-<soctype>", "renesas,irqc" as fallback. 6 6 Examples with soctypes are: 7 - - "renesas,irqc-r8a73a4" (R-Mobile AP6) 7 + - "renesas,irqc-r8a73a4" (R-Mobile APE6) 8 8 - "renesas,irqc-r8a7790" (R-Car H2) 9 9 - "renesas,irqc-r8a7791" (R-Car M2-W) 10 10 - "renesas,irqc-r8a7792" (R-Car V2H) ··· 12 12 - "renesas,irqc-r8a7794" (R-Car E2) 13 13 - #interrupt-cells: has to be <2>: an interrupt index and flags, as defined in 14 14 interrupts.txt in this directory 15 + - clocks: Must contain a reference to the functional clock. 15 16 16 17 Optional properties: 17 18 ··· 30 29 <0 1 IRQ_TYPE_LEVEL_HIGH>, 31 30 <0 2 IRQ_TYPE_LEVEL_HIGH>, 32 31 <0 3 IRQ_TYPE_LEVEL_HIGH>; 32 + clocks = <&mstp4_clks R8A7790_CLK_IRQC>; 33 33 };