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

PM / Domains: Add DT bindings for the R-Car System Controller

The Renesas R-Car System Controller provides power management for the
CPU cores and various coprocessors, following the generic PM domain
bindings in Documentation/devicetree/bindings/power/power_domain.txt.

This supports R-Car Gen1 (H1), Gen2, and Gen3.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

authored by

Geert Uytterhoeven and committed by
Simon Horman
a85fff3b f55532a0

+48
+48
Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt
··· 1 + DT bindings for the Renesas R-Car System Controller 2 + 3 + == System Controller Node == 4 + 5 + The R-Car System Controller provides power management for the CPU cores and 6 + various coprocessors. 7 + 8 + Required properties: 9 + - compatible: Must contain exactly one of the following: 10 + - "renesas,r8a7779-sysc" (R-Car H1) 11 + - "renesas,r8a7790-sysc" (R-Car H2) 12 + - "renesas,r8a7791-sysc" (R-Car M2-W) 13 + - "renesas,r8a7792-sysc" (R-Car V2H) 14 + - "renesas,r8a7793-sysc" (R-Car M2-N) 15 + - "renesas,r8a7794-sysc" (R-Car E2) 16 + - "renesas,r8a7795-sysc" (R-Car H3) 17 + - reg: Address start and address range for the device. 18 + - #power-domain-cells: Must be 1. 19 + 20 + 21 + Example: 22 + 23 + sysc: system-controller@e6180000 { 24 + compatible = "renesas,r8a7791-sysc"; 25 + reg = <0 0xe6180000 0 0x0200>; 26 + #power-domain-cells = <1>; 27 + }; 28 + 29 + 30 + == PM Domain Consumers == 31 + 32 + Devices residing in a power area must refer to that power area, as documented 33 + by the generic PM domain bindings in 34 + Documentation/devicetree/bindings/power/power_domain.txt. 35 + 36 + Required properties: 37 + - power-domains: A phandle and symbolic PM domain specifier, as defined in 38 + <dt-bindings/power/r8a77*-sysc.h>. 39 + 40 + 41 + Example: 42 + 43 + L2_CA15: cache-controller@0 { 44 + compatible = "cache"; 45 + power-domains = <&sysc R8A7791_PD_CA15_SCU>; 46 + cache-unified; 47 + cache-level = <2>; 48 + };