Skip to content

Commit

Permalink
ARM: STi: DT: Move reset controller constants into common location
Browse files Browse the repository at this point in the history
By popular vote, the DT binding includes for reset controllers are located
in include/dt-bindings/reset/. Move the STi reset constants in there, too,
to avoid confusion.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
  • Loading branch information
Philipp Zabel committed Aug 3, 2015
1 parent b2f6dd7 commit efdf5aa
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ Example:
};

Macro definitions for the supported reset channels can be found in:
include/dt-bindings/reset-controller/stih407-resets.h
include/dt-bindings/reset/stih407-resets.h
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/reset/st,sti-powerdown.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ example:

Macro definitions for the supported reset channels can be found in:

include/dt-bindings/reset-controller/stih415-resets.h
include/dt-bindings/reset-controller/stih416-resets.h
include/dt-bindings/reset/stih415-resets.h
include/dt-bindings/reset/stih416-resets.h
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/reset/st,sti-softreset.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ example:

Macro definitions for the supported reset channels can be found in:

include/dt-bindings/reset-controller/stih415-resets.h
include/dt-bindings/reset-controller/stih416-resets.h
include/dt-bindings/reset/stih415-resets.h
include/dt-bindings/reset/stih416-resets.h
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/stih407-family.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "stih407-pinctrl.dtsi"
#include <dt-bindings/mfd/st-lpc.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset-controller/stih407-resets.h>
#include <dt-bindings/reset/stih407-resets.h>
#include <dt-bindings/interrupt-controller/irq-st.h>
/ {
#address-cells = <1>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/stih415.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "stih415-clock.dtsi"
#include "stih415-pinctrl.dtsi"
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset-controller/stih415-resets.h>
#include <dt-bindings/reset/stih415-resets.h>
/ {

L2: cache-controller {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/stih416.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <dt-bindings/phy/phy.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset-controller/stih416-resets.h>
#include <dt-bindings/reset/stih416-resets.h>
#include <dt-bindings/interrupt-controller/irq-st.h>
/ {
L2: cache-controller {
Expand Down
2 changes: 1 addition & 1 deletion drivers/reset/sti/reset-stih407.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <dt-bindings/reset-controller/stih407-resets.h>
#include <dt-bindings/reset/stih407-resets.h>
#include "reset-syscfg.h"

/* STiH407 Peripheral powerdown definitions. */
Expand Down
2 changes: 1 addition & 1 deletion drivers/reset/sti/reset-stih415.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <linux/of_platform.h>
#include <linux/platform_device.h>

#include <dt-bindings/reset-controller/stih415-resets.h>
#include <dt-bindings/reset/stih415-resets.h>

#include "reset-syscfg.h"

Expand Down
2 changes: 1 addition & 1 deletion drivers/reset/sti/reset-stih416.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <linux/of_platform.h>
#include <linux/platform_device.h>

#include <dt-bindings/reset-controller/stih416-resets.h>
#include <dt-bindings/reset/stih416-resets.h>

#include "reset-syscfg.h"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit efdf5aa

Please sign in to comment.