提交 7372add4 编写于 作者: E Eduardo Valentin 提交者: Greg Kroah-Hartman

staging: rename omap-thermal driver to ti-soc-thermal

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: NEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d7f080e6
...@@ -120,7 +120,7 @@ source "drivers/staging/gdm72xx/Kconfig" ...@@ -120,7 +120,7 @@ source "drivers/staging/gdm72xx/Kconfig"
source "drivers/staging/csr/Kconfig" source "drivers/staging/csr/Kconfig"
source "drivers/staging/omap-thermal/Kconfig" source "drivers/staging/ti-soc-thermal/Kconfig"
source "drivers/staging/silicom/Kconfig" source "drivers/staging/silicom/Kconfig"
......
...@@ -53,7 +53,7 @@ obj-$(CONFIG_ANDROID) += android/ ...@@ -53,7 +53,7 @@ obj-$(CONFIG_ANDROID) += android/
obj-$(CONFIG_USB_WPAN_HCD) += ozwpan/ obj-$(CONFIG_USB_WPAN_HCD) += ozwpan/
obj-$(CONFIG_WIMAX_GDM72XX) += gdm72xx/ obj-$(CONFIG_WIMAX_GDM72XX) += gdm72xx/
obj-$(CONFIG_CSR_WIFI) += csr/ 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_NET_VENDOR_SILICOM) += silicom/
obj-$(CONFIG_CED1401) += ced1401/ obj-$(CONFIG_CED1401) += ced1401/
obj-$(CONFIG_DRM_IMX) += imx-drm/ obj-$(CONFIG_DRM_IMX) += imx-drm/
......
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
...@@ -16,8 +16,10 @@ config OMAP_THERMAL ...@@ -16,8 +16,10 @@ config OMAP_THERMAL
depends on CPU_THERMAL depends on CPU_THERMAL
help help
If you say yes here you want to get support for generic thermal If you say yes here you want to get support for generic thermal
framework for the Texas Instruments OMAP4460+ on die bandgap framework for the Texas Instruments on die bandgap temperature sensor.
temperature sensor.
This includes trip points definitions, extrapolation rules and
CPU cooling device bindings.
config OMAP4_THERMAL config OMAP4_THERMAL
bool "Texas Instruments OMAP4 thermal support" bool "Texas Instruments OMAP4 thermal support"
......
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
List of TODOs (by Eduardo Valentin) List of TODOs (by Eduardo Valentin)
on omap-bandgap.c: on ti-bandgap.c:
- Test every exposed API to userland - Test every exposed API to userland
- Add support to hwmon - Add support to hwmon
- Revisit PM support - Revisit PM support
- Revisit data structures and simplify them - Revisit data structures and simplify them
- Once SCM-core api settles, update this driver accordingly - 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 extrapolation constants for O4/O5
- Revisit need for locking - Revisit need for locking
- Revisit trips and its definitions - Revisit trips and its definitions
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
* *
*/ */
#include "omap-thermal.h" #include "ti-thermal.h"
#include "omap-bandgap.h" #include "ti-bandgap.h"
#include "omap4xxx-bandgap.h" #include "omap4xxx-bandgap.h"
/* /*
......
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* *
*/ */
#include "omap-bandgap.h" #include "ti-thermal.h"
#include "ti-bandgap.h"
#include "omap5xxx-bandgap.h" #include "omap5xxx-bandgap.h"
#include "omap-thermal.h"
/* /*
* OMAP5430 has three instances of thermal sensor for MPU, GPU & CORE, * OMAP5430 has three instances of thermal sensor for MPU, GPU & CORE,
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <linux/of_irq.h> #include <linux/of_irq.h>
#include <linux/io.h> #include <linux/io.h>
#include "omap-bandgap.h" #include "ti-bandgap.h"
/*** Helper functions to access registers and their bitfields ***/ /*** Helper functions to access registers and their bitfields ***/
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
#include <linux/cpumask.h> #include <linux/cpumask.h>
#include <linux/cpu_cooling.h> #include <linux/cpu_cooling.h>
#include "omap-thermal.h" #include "ti-thermal.h"
#include "omap-bandgap.h" #include "ti-bandgap.h"
/* common data structures */ /* common data structures */
struct omap_thermal_data { struct omap_thermal_data {
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#ifndef __OMAP_THERMAL_H #ifndef __OMAP_THERMAL_H
#define __OMAP_THERMAL_H #define __OMAP_THERMAL_H
#include "omap-bandgap.h" #include "ti-bandgap.h"
/* sensors gradient and offsets */ /* sensors gradient and offsets */
#define OMAP_GRADIENT_SLOPE_4460 348 #define OMAP_GRADIENT_SLOPE_4460 348
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册