Skip to content

Commit

Permalink
ARM: dts: r8a7791: Convert to new CPG/MSSR bindings
Browse files Browse the repository at this point in the history
Convert the R-Car M2-W SoC from the old "Renesas R-Car Gen2 Clock Pulse
Generator (CPG)", "Renesas CPG DIV6 Clock", and "Renesas CPG Module Stop
(MSTP) Clocks" DT bindings to the new unified "Renesas Clock Pulse
Generator / Module Standby and Software Reset" DT bindings.

This simplifies the DTS files, and allows to add support for reset
control later.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Geert Uytterhoeven authored and Simon Horman committed Sep 19, 2017
1 parent a7b8f48 commit 362b334
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 461 deletions.
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/r8a7791-koelsch.dts
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,7 @@
pinctrl-names = "default";
status = "okay";

clocks = <&mstp7_clks R8A7791_CLK_DU0>,
<&mstp7_clks R8A7791_CLK_DU1>,
<&mstp7_clks R8A7791_CLK_LVDS0>,
clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 726>,
<&x13_clk>, <&x2_clk>;
clock-names = "du.0", "du.1", "lvds.0",
"dclkin.0", "dclkin.1";
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/r8a7791-porter.dts
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,7 @@
pinctrl-names = "default";
status = "okay";

clocks = <&mstp7_clks R8A7791_CLK_DU0>,
<&mstp7_clks R8A7791_CLK_DU1>,
<&mstp7_clks R8A7791_CLK_LVDS0>,
clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 726>,
<&x3_clk>, <&x16_clk>;
clock-names = "du.0", "du.1", "lvds.0",
"dclkin.0", "dclkin.1";
Expand Down
Loading

0 comments on commit 362b334

Please sign in to comment.