dt-bindings: clock: Move ti-dra7-atl.h to dt-bindings/clock
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 14 Nov 2019 10:18:17 +0000 (12:18 +0200)
committerTero Kristo <t-kristo@ti.com>
Mon, 20 Jan 2020 07:34:37 +0000 (09:34 +0200)
Most of the clock related dt-binding header files are located in
dt-bindings/clock folder. It would be good to keep all the similar
header files at a single location.

Suggested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Documentation/devicetree/bindings/clock/ti/dra7-atl.txt
arch/arm/boot/dts/dra7-evm-common.dtsi
arch/arm/boot/dts/dra72-evm-common.dtsi
include/dt-bindings/clk/ti-dra7-atl.h [deleted file]
include/dt-bindings/clock/ti-dra7-atl.h [new file with mode: 0644]

index 10f7047755f39817d7d5bf3d4b369ebd46227fa0..21c002d28b9b1b9c361a08f6a2fa7cfa50ae88fd 100644 (file)
@@ -43,7 +43,7 @@ Configuration of ATL instances:
        - aws : Audio word select signal selection
 };
 
-For valid word select signals, see the dt-bindings/clk/ti-dra7-atl.h include
+For valid word select signals, see the dt-bindings/clock/ti-dra7-atl.h include
 file.
 
 Examples:
@@ -83,7 +83,7 @@ atl: atl@4843c000 {
        clock-names = "fck";
 };
 
-#include <dt-bindings/clk/ti-dra7-atl.h>
+#include <dt-bindings/clock/ti-dra7-atl.h>
 
 &atl {
 
index 82eeba8faef164a18148a74d83f16c513ec600fc..23244b5a994297fac0619ba82d0bb36316f235f7 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/clk/ti-dra7-atl.h>
+#include <dt-bindings/clock/ti-dra7-atl.h>
 #include <dt-bindings/input/input.h>
 
 / {
index 8641a3d7d8adf7fec4acbc07e42eb1dbfff5ad6f..9eabfd1502da1b423fd6b3fde3ef6bc873f399dd 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "dra72x.dtsi"
 #include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/clk/ti-dra7-atl.h>
+#include <dt-bindings/clock/ti-dra7-atl.h>
 
 / {
        compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7";
diff --git a/include/dt-bindings/clk/ti-dra7-atl.h b/include/dt-bindings/clk/ti-dra7-atl.h
deleted file mode 100644 (file)
index 42dd416..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * This header provides constants for DRA7 ATL (Audio Tracking Logic)
- *
- * The constants defined in this header are used in dts files
- *
- * Copyright (C) 2013 Texas Instruments, Inc.
- *
- * Peter Ujfalusi <peter.ujfalusi@ti.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
-
-#ifndef _DT_BINDINGS_CLK_DRA7_ATL_H
-#define _DT_BINDINGS_CLK_DRA7_ATL_H
-
-#define DRA7_ATL_WS_MCASP1_FSR         0
-#define DRA7_ATL_WS_MCASP1_FSX         1
-#define DRA7_ATL_WS_MCASP2_FSR         2
-#define DRA7_ATL_WS_MCASP2_FSX         3
-#define DRA7_ATL_WS_MCASP3_FSX         4
-#define DRA7_ATL_WS_MCASP4_FSX         5
-#define DRA7_ATL_WS_MCASP5_FSX         6
-#define DRA7_ATL_WS_MCASP6_FSX         7
-#define DRA7_ATL_WS_MCASP7_FSX         8
-#define DRA7_ATL_WS_MCASP8_FSX         9
-#define DRA7_ATL_WS_MCASP8_AHCLKX      10
-#define DRA7_ATL_WS_XREF_CLK3          11
-#define DRA7_ATL_WS_XREF_CLK0          12
-#define DRA7_ATL_WS_XREF_CLK1          13
-#define DRA7_ATL_WS_XREF_CLK2          14
-#define DRA7_ATL_WS_OSC1_X1            15
-
-#endif
diff --git a/include/dt-bindings/clock/ti-dra7-atl.h b/include/dt-bindings/clock/ti-dra7-atl.h
new file mode 100644 (file)
index 0000000..42dd416
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * This header provides constants for DRA7 ATL (Audio Tracking Logic)
+ *
+ * The constants defined in this header are used in dts files
+ *
+ * Copyright (C) 2013 Texas Instruments, Inc.
+ *
+ * Peter Ujfalusi <peter.ujfalusi@ti.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed "as is" WITHOUT ANY WARRANTY of any
+ * kind, whether express or implied; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef _DT_BINDINGS_CLK_DRA7_ATL_H
+#define _DT_BINDINGS_CLK_DRA7_ATL_H
+
+#define DRA7_ATL_WS_MCASP1_FSR         0
+#define DRA7_ATL_WS_MCASP1_FSX         1
+#define DRA7_ATL_WS_MCASP2_FSR         2
+#define DRA7_ATL_WS_MCASP2_FSX         3
+#define DRA7_ATL_WS_MCASP3_FSX         4
+#define DRA7_ATL_WS_MCASP4_FSX         5
+#define DRA7_ATL_WS_MCASP5_FSX         6
+#define DRA7_ATL_WS_MCASP6_FSX         7
+#define DRA7_ATL_WS_MCASP7_FSX         8
+#define DRA7_ATL_WS_MCASP8_FSX         9
+#define DRA7_ATL_WS_MCASP8_AHCLKX      10
+#define DRA7_ATL_WS_XREF_CLK3          11
+#define DRA7_ATL_WS_XREF_CLK0          12
+#define DRA7_ATL_WS_XREF_CLK1          13
+#define DRA7_ATL_WS_XREF_CLK2          14
+#define DRA7_ATL_WS_OSC1_X1            15
+
+#endif