]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: rename omap-thermal driver to ti-soc-thermal
authorEduardo Valentin <eduardo.valentin@ti.com>
Tue, 19 Mar 2013 14:54:19 +0000 (10:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:25:35 +0000 (11:25 -0700)
Because this driver will support also OMAP derivatives,
this patch does a big rename inside this driver, so it
better fits its usage.

This patch only renames the directory, file names,
includes, Makefiles and Kconfig includes.

Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Benoit <b-cousson@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 files changed:
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/omap-thermal/Makefile [deleted file]
drivers/staging/ti-soc-thermal/Kconfig [moved from drivers/staging/omap-thermal/Kconfig with 88% similarity]
drivers/staging/ti-soc-thermal/Makefile [new file with mode: 0644]
drivers/staging/ti-soc-thermal/TODO [moved from drivers/staging/omap-thermal/TODO with 90% similarity]
drivers/staging/ti-soc-thermal/omap4-thermal-data.c [moved from drivers/staging/omap-thermal/omap4-thermal-data.c with 99% similarity]
drivers/staging/ti-soc-thermal/omap4xxx-bandgap.h [moved from drivers/staging/omap-thermal/omap4xxx-bandgap.h with 100% similarity]
drivers/staging/ti-soc-thermal/omap5-thermal-data.c [moved from drivers/staging/omap-thermal/omap5-thermal-data.c with 99% similarity]
drivers/staging/ti-soc-thermal/omap5xxx-bandgap.h [moved from drivers/staging/omap-thermal/omap5xxx-bandgap.h with 100% similarity]
drivers/staging/ti-soc-thermal/ti-bandgap.c [moved from drivers/staging/omap-thermal/omap-bandgap.c with 99% similarity]
drivers/staging/ti-soc-thermal/ti-bandgap.h [moved from drivers/staging/omap-thermal/omap-bandgap.h with 100% similarity]
drivers/staging/ti-soc-thermal/ti-thermal-common.c [moved from drivers/staging/omap-thermal/omap-thermal-common.c with 99% similarity]
drivers/staging/ti-soc-thermal/ti-thermal.h [moved from drivers/staging/omap-thermal/omap-thermal.h with 99% similarity]
drivers/staging/ti-soc-thermal/ti_soc_thermal.txt [moved from drivers/staging/omap-thermal/omap_bandgap.txt with 100% similarity]

index d4775a5de65cb64449ed73bf5e2f77ea1fc84335..5e62d00fb9e5f324cdb6b10bf63782a77319482d 100644 (file)
@@ -120,7 +120,7 @@ source "drivers/staging/gdm72xx/Kconfig"
 
 source "drivers/staging/csr/Kconfig"
 
-source "drivers/staging/omap-thermal/Kconfig"
+source "drivers/staging/ti-soc-thermal/Kconfig"
 
 source "drivers/staging/silicom/Kconfig"
 
index e1ed6ad01c8e677200b159d03ee3adc6577b8c99..284624c52adf9c6cf26f9a8daea0f5bd09a65c72 100644 (file)
@@ -53,7 +53,7 @@ obj-$(CONFIG_ANDROID)         += android/
 obj-$(CONFIG_USB_WPAN_HCD)     += ozwpan/
 obj-$(CONFIG_WIMAX_GDM72XX)    += gdm72xx/
 obj-$(CONFIG_CSR_WIFI)         += csr/
-obj-$(CONFIG_OMAP_BANDGAP)     += omap-thermal/
+obj-$(CONFIG_OMAP_BANDGAP)     += ti-soc-thermal/
 obj-$(CONFIG_NET_VENDOR_SILICOM)       += silicom/
 obj-$(CONFIG_CED1401)          += ced1401/
 obj-$(CONFIG_DRM_IMX)          += imx-drm/
diff --git a/drivers/staging/omap-thermal/Makefile b/drivers/staging/omap-thermal/Makefile
deleted file mode 100644 (file)
index fbd14d1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-obj-$(CONFIG_OMAP_BANDGAP)     += omap-thermal.o
-omap-thermal-y                 := omap-bandgap.o
-omap-thermal-$(CONFIG_OMAP_THERMAL)    += omap-thermal-common.o
-omap-thermal-$(CONFIG_OMAP4_THERMAL)   += omap4-thermal-data.o
-omap-thermal-$(CONFIG_OMAP5_THERMAL)   += omap5-thermal-data.o
similarity index 88%
rename from drivers/staging/omap-thermal/Kconfig
rename to drivers/staging/ti-soc-thermal/Kconfig
index 52170bfaf15d023355781ff9458f49dee7d1f3c6..6b3f3dbc57e5cbd8f4f4a74c1c6d38b284a58514 100644 (file)
@@ -16,8 +16,10 @@ config OMAP_THERMAL
        depends on CPU_THERMAL
        help
          If you say yes here you want to get support for generic thermal
-         framework for the Texas Instruments OMAP4460+ on die bandgap
-         temperature sensor.
+         framework for the Texas Instruments on die bandgap temperature sensor.
+
+         This includes trip points definitions, extrapolation rules and
+         CPU cooling device bindings.
 
 config OMAP4_THERMAL
        bool "Texas Instruments OMAP4 thermal support"
diff --git a/drivers/staging/ti-soc-thermal/Makefile b/drivers/staging/ti-soc-thermal/Makefile
new file mode 100644 (file)
index 0000000..3539474
--- /dev/null
@@ -0,0 +1,5 @@
+obj-$(CONFIG_OMAP_BANDGAP)             += ti-soc-thermal.o
+ti-soc-thermal-y                       := ti-bandgap.o
+ti-soc-thermal-$(CONFIG_OMAP_THERMAL)  += ti-thermal-common.o
+ti-soc-thermal-$(CONFIG_OMAP4_THERMAL) += omap4-thermal-data.o
+ti-soc-thermal-$(CONFIG_OMAP5_THERMAL) += omap5-thermal-data.o
similarity index 90%
rename from drivers/staging/omap-thermal/TODO
rename to drivers/staging/ti-soc-thermal/TODO
index d45f556a7fb3faac28c047dcd90cfb3900f43cfa..9b4c84170a7c58802033aa0412d79fa136338b32 100644 (file)
@@ -1,13 +1,13 @@
 List of TODOs (by Eduardo Valentin)
 
-on omap-bandgap.c:
+on ti-bandgap.c:
 - Test every exposed API to userland
 - Add support to hwmon
 - Revisit PM support
 - Revisit data structures and simplify them
 - Once SCM-core api settles, update this driver accordingly
 
-on omap-thermal-common.c/omap-thermal.h:
+on ti-thermal-common.c/ti-thermal.h:
 - Revisit extrapolation constants for O4/O5
 - Revisit need for locking
 - Revisit trips and its definitions
similarity index 99%
rename from drivers/staging/omap-thermal/omap4-thermal-data.c
rename to drivers/staging/ti-soc-thermal/omap4-thermal-data.c
index 88ed01446d7cba00c9ee0302449442045b229932..97544f79f4937550e0d284d380725d1ccca64e10 100644 (file)
@@ -16,8 +16,8 @@
  *
  */
 
-#include "omap-thermal.h"
-#include "omap-bandgap.h"
+#include "ti-thermal.h"
+#include "ti-bandgap.h"
 #include "omap4xxx-bandgap.h"
 
 /*
similarity index 99%
rename from drivers/staging/omap-thermal/omap5-thermal-data.c
rename to drivers/staging/ti-soc-thermal/omap5-thermal-data.c
index a48c286dde014c56bd2369f3f39bd9965385a65d..172b4ada0119e891d0abcf777a71521b0379a03c 100644 (file)
@@ -16,9 +16,9 @@
  *
  */
 
-#include "omap-bandgap.h"
+#include "ti-thermal.h"
+#include "ti-bandgap.h"
 #include "omap5xxx-bandgap.h"
-#include "omap-thermal.h"
 
 /*
  * OMAP5430 has three instances of thermal sensor for MPU, GPU & CORE,
similarity index 99%
rename from drivers/staging/omap-thermal/omap-bandgap.c
rename to drivers/staging/ti-soc-thermal/ti-bandgap.c
index 1189ca731a54fca519665315c2eca963d1d0640b..5a8ae9c115eabe65bbc54ba72ffb6ab9c52c9203 100644 (file)
@@ -40,7 +40,7 @@
 #include <linux/of_irq.h>
 #include <linux/io.h>
 
-#include "omap-bandgap.h"
+#include "ti-bandgap.h"
 
 /***   Helper functions to access registers and their bitfields   ***/
 
similarity index 99%
rename from drivers/staging/omap-thermal/omap-thermal-common.c
rename to drivers/staging/ti-soc-thermal/ti-thermal-common.c
index 9f7a77b6078d03a76666091f29b05a26d0b1997e..feab2f4d6d5dfb0794aa7a8055406dd7a9c2a2a2 100644 (file)
@@ -32,8 +32,8 @@
 #include <linux/cpumask.h>
 #include <linux/cpu_cooling.h>
 
-#include "omap-thermal.h"
-#include "omap-bandgap.h"
+#include "ti-thermal.h"
+#include "ti-bandgap.h"
 
 /* common data structures */
 struct omap_thermal_data {
similarity index 99%
rename from drivers/staging/omap-thermal/omap-thermal.h
rename to drivers/staging/ti-soc-thermal/ti-thermal.h
index 26cfc8d3495fc10c8175cac6ae687a1f55e263e2..6fed8ac8032bb35c061acbbaca752e75aef833b6 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef __OMAP_THERMAL_H
 #define __OMAP_THERMAL_H
 
-#include "omap-bandgap.h"
+#include "ti-bandgap.h"
 
 /* sensors gradient and offsets */
 #define OMAP_GRADIENT_SLOPE_4460                               348