-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'renesas-rcar-sysc2-for-v4.7' into arm64-dt-pm-domain-for-v4.7
Second Round of Renesas ARM Based SoC R-Car SYSC Updates for v4.7 Introduce a DT-based driver for the R-Car System Controller, as found on Renesas R-Car H1, R-Car Gen2, and R-Car Gen3 SoCs.
- Loading branch information
Showing
33 changed files
with
1,023 additions
and
232 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
DT bindings for the Renesas R-Car System Controller | ||
|
||
== System Controller Node == | ||
|
||
The R-Car System Controller provides power management for the CPU cores and | ||
various coprocessors. | ||
|
||
Required properties: | ||
- compatible: Must contain exactly one of the following: | ||
- "renesas,r8a7779-sysc" (R-Car H1) | ||
- "renesas,r8a7790-sysc" (R-Car H2) | ||
- "renesas,r8a7791-sysc" (R-Car M2-W) | ||
- "renesas,r8a7792-sysc" (R-Car V2H) | ||
- "renesas,r8a7793-sysc" (R-Car M2-N) | ||
- "renesas,r8a7794-sysc" (R-Car E2) | ||
- "renesas,r8a7795-sysc" (R-Car H3) | ||
- reg: Address start and address range for the device. | ||
- #power-domain-cells: Must be 1. | ||
|
||
|
||
Example: | ||
|
||
sysc: system-controller@e6180000 { | ||
compatible = "renesas,r8a7791-sysc"; | ||
reg = <0 0xe6180000 0 0x0200>; | ||
#power-domain-cells = <1>; | ||
}; | ||
|
||
|
||
== PM Domain Consumers == | ||
|
||
Devices residing in a power area must refer to that power area, as documented | ||
by the generic PM domain bindings in | ||
Documentation/devicetree/bindings/power/power_domain.txt. | ||
|
||
Required properties: | ||
- power-domains: A phandle and symbolic PM domain specifier, as defined in | ||
<dt-bindings/power/r8a77*-sysc.h>. | ||
|
||
|
||
Example: | ||
|
||
L2_CA15: cache-controller@0 { | ||
compatible = "cache"; | ||
power-domains = <&sysc R8A7791_PD_CA15_SCU>; | ||
cache-unified; | ||
cache-level = <2>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
config CLK_RENESAS_CPG_MSSR | ||
bool | ||
default y if ARCH_R8A7795 | ||
|
||
config CLK_RENESAS_CPG_MSTP | ||
bool | ||
default y if ARCH_R7S72100 | ||
default y if ARCH_R8A73A4 | ||
default y if ARCH_R8A7740 | ||
default y if ARCH_R8A7778 | ||
default y if ARCH_R8A7779 | ||
default y if ARCH_R8A7790 | ||
default y if ARCH_R8A7791 | ||
default y if ARCH_R8A7793 | ||
default y if ARCH_R8A7794 | ||
default y if ARCH_SH73A0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
obj-$(CONFIG_ARCH_EMEV2) += clk-emev2.o | ||
obj-$(CONFIG_ARCH_R7S72100) += clk-rz.o clk-mstp.o | ||
obj-$(CONFIG_ARCH_R8A73A4) += clk-r8a73a4.o clk-mstp.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7740) += clk-r8a7740.o clk-mstp.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7778) += clk-r8a7778.o clk-mstp.o | ||
obj-$(CONFIG_ARCH_R8A7779) += clk-r8a7779.o clk-mstp.o | ||
obj-$(CONFIG_ARCH_R8A7790) += clk-rcar-gen2.o clk-mstp.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7791) += clk-rcar-gen2.o clk-mstp.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7793) += clk-rcar-gen2.o clk-mstp.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7794) += clk-rcar-gen2.o clk-mstp.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7795) += renesas-cpg-mssr.o \ | ||
r8a7795-cpg-mssr.o clk-div6.o | ||
obj-$(CONFIG_ARCH_SH73A0) += clk-sh73a0.o clk-mstp.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R7S72100) += clk-rz.o | ||
obj-$(CONFIG_ARCH_R8A73A4) += clk-r8a73a4.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7740) += clk-r8a7740.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7778) += clk-r8a7778.o | ||
obj-$(CONFIG_ARCH_R8A7779) += clk-r8a7779.o | ||
obj-$(CONFIG_ARCH_R8A7790) += clk-rcar-gen2.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7791) += clk-rcar-gen2.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7793) += clk-rcar-gen2.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7794) += clk-rcar-gen2.o clk-div6.o | ||
obj-$(CONFIG_ARCH_R8A7795) += r8a7795-cpg-mssr.o | ||
obj-$(CONFIG_ARCH_SH73A0) += clk-sh73a0.o clk-div6.o | ||
|
||
obj-$(CONFIG_CLK_RENESAS_CPG_MSSR) += renesas-cpg-mssr.o clk-div6.o | ||
obj-$(CONFIG_CLK_RENESAS_CPG_MSTP) += clk-mstp.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.