Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
e7cd7886
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
170
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e7cd7886
编写于
5月 28, 2013
作者:
Z
Zhang Rui
浏览文件
操作
浏览文件
下载
差异文件
Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next
上级
5454f211
a1cf1150
c21bec86
794b2e25
变更
23
隐藏空白更改
内联
并排
Showing
23 changed file
with
14 addition
and
63 deletion
+14
-63
Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt
Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt
+0
-0
MAINTAINERS
MAINTAINERS
+2
-2
drivers/staging/Kconfig
drivers/staging/Kconfig
+0
-2
drivers/staging/Makefile
drivers/staging/Makefile
+0
-1
drivers/thermal/Kconfig
drivers/thermal/Kconfig
+3
-0
drivers/thermal/Makefile
drivers/thermal/Makefile
+1
-1
drivers/thermal/armada_thermal.c
drivers/thermal/armada_thermal.c
+0
-11
drivers/thermal/dove_thermal.c
drivers/thermal/dove_thermal.c
+1
-11
drivers/thermal/exynos_thermal.c
drivers/thermal/exynos_thermal.c
+0
-8
drivers/thermal/kirkwood_thermal.c
drivers/thermal/kirkwood_thermal.c
+1
-7
drivers/thermal/rcar_thermal.c
drivers/thermal/rcar_thermal.c
+1
-7
drivers/thermal/spear_thermal.c
drivers/thermal/spear_thermal.c
+5
-13
drivers/thermal/ti-soc-thermal/Kconfig
drivers/thermal/ti-soc-thermal/Kconfig
+0
-0
drivers/thermal/ti-soc-thermal/Makefile
drivers/thermal/ti-soc-thermal/Makefile
+0
-0
drivers/thermal/ti-soc-thermal/TODO
drivers/thermal/ti-soc-thermal/TODO
+0
-0
drivers/thermal/ti-soc-thermal/omap4-thermal-data.c
drivers/thermal/ti-soc-thermal/omap4-thermal-data.c
+0
-0
drivers/thermal/ti-soc-thermal/omap4xxx-bandgap.h
drivers/thermal/ti-soc-thermal/omap4xxx-bandgap.h
+0
-0
drivers/thermal/ti-soc-thermal/omap5-thermal-data.c
drivers/thermal/ti-soc-thermal/omap5-thermal-data.c
+0
-0
drivers/thermal/ti-soc-thermal/omap5xxx-bandgap.h
drivers/thermal/ti-soc-thermal/omap5xxx-bandgap.h
+0
-0
drivers/thermal/ti-soc-thermal/ti-bandgap.c
drivers/thermal/ti-soc-thermal/ti-bandgap.c
+0
-0
drivers/thermal/ti-soc-thermal/ti-bandgap.h
drivers/thermal/ti-soc-thermal/ti-bandgap.h
+0
-0
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
+0
-0
drivers/thermal/ti-soc-thermal/ti-thermal.h
drivers/thermal/ti-soc-thermal/ti-thermal.h
+0
-0
未找到文件。
drivers/staging/ti-soc-
thermal/ti_soc_thermal.txt
→
Documentation/devicetree/bindings/
thermal/ti_soc_thermal.txt
浏览文件 @
e7cd7886
文件已移动
MAINTAINERS
浏览文件 @
e7cd7886
...
...
@@ -8056,8 +8056,8 @@ F: drivers/platform/x86/thinkpad_acpi.c
TI BANDGAP AND THERMAL DRIVER
M: Eduardo Valentin <eduardo.valentin@ti.com>
L: linux-pm@vger.kernel.org
S:
Maintain
ed
F: drivers/
staging/omap
-thermal/
S:
Support
ed
F: drivers/
thermal/ti-soc
-thermal/
TI FLASH MEDIA INTERFACE DRIVER
M: Alex Dubov <oakad@yahoo.com>
...
...
drivers/staging/Kconfig
浏览文件 @
e7cd7886
...
...
@@ -118,8 +118,6 @@ source "drivers/staging/gdm72xx/Kconfig"
source "drivers/staging/csr/Kconfig"
source "drivers/staging/ti-soc-thermal/Kconfig"
source "drivers/staging/silicom/Kconfig"
source "drivers/staging/ced1401/Kconfig"
...
...
drivers/staging/Makefile
浏览文件 @
e7cd7886
...
...
@@ -52,7 +52,6 @@ obj-$(CONFIG_ANDROID) += android/
obj-$(CONFIG_USB_WPAN_HCD)
+=
ozwpan/
obj-$(CONFIG_WIMAX_GDM72XX)
+=
gdm72xx/
obj-$(CONFIG_CSR_WIFI)
+=
csr/
obj-$(CONFIG_TI_SOC_THERMAL)
+=
ti-soc-thermal/
obj-$(CONFIG_NET_VENDOR_SILICOM)
+=
silicom/
obj-$(CONFIG_CED1401)
+=
ced1401/
obj-$(CONFIG_DRM_IMX)
+=
imx-drm/
...
...
drivers/thermal/Kconfig
浏览文件 @
e7cd7886
...
...
@@ -169,4 +169,7 @@ config INTEL_POWERCLAMP
enforce idle time which results in more package C-state residency. The
user interface is exposed via generic thermal framework.
menu "Texas Instruments thermal drivers"
source "drivers/thermal/ti-soc-thermal/Kconfig"
endmenu
endif
drivers/thermal/Makefile
浏览文件 @
e7cd7886
...
...
@@ -23,4 +23,4 @@ obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
obj-$(CONFIG_ARMADA_THERMAL)
+=
armada_thermal.o
obj-$(CONFIG_DB8500_CPUFREQ_COOLING)
+=
db8500_cpufreq_cooling.o
obj-$(CONFIG_INTEL_POWERCLAMP)
+=
intel_powerclamp.o
obj-$(CONFIG_TI_SOC_THERMAL)
+=
ti-soc-thermal/
drivers/thermal/armada_thermal.c
浏览文件 @
e7cd7886
...
...
@@ -169,21 +169,11 @@ static int armada_thermal_probe(struct platform_device *pdev)
return
-
ENOMEM
;
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
if
(
!
res
)
{
dev_err
(
&
pdev
->
dev
,
"Failed to get platform resource
\n
"
);
return
-
ENODEV
;
}
priv
->
sensor
=
devm_ioremap_resource
(
&
pdev
->
dev
,
res
);
if
(
IS_ERR
(
priv
->
sensor
))
return
PTR_ERR
(
priv
->
sensor
);
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
1
);
if
(
!
res
)
{
dev_err
(
&
pdev
->
dev
,
"Failed to get platform resource
\n
"
);
return
-
ENODEV
;
}
priv
->
control
=
devm_ioremap_resource
(
&
pdev
->
dev
,
res
);
if
(
IS_ERR
(
priv
->
control
))
return
PTR_ERR
(
priv
->
control
);
...
...
@@ -210,7 +200,6 @@ static int armada_thermal_exit(struct platform_device *pdev)
platform_get_drvdata
(
pdev
);
thermal_zone_device_unregister
(
armada_thermal
);
platform_set_drvdata
(
pdev
,
NULL
);
return
0
;
}
...
...
drivers/thermal/dove_thermal.c
浏览文件 @
e7cd7886
...
...
@@ -134,25 +134,16 @@ static int dove_thermal_probe(struct platform_device *pdev)
struct
resource
*
res
;
int
ret
;
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
if
(
!
res
)
{
dev_err
(
&
pdev
->
dev
,
"Failed to get platform resource
\n
"
);
return
-
ENODEV
;
}
priv
=
devm_kzalloc
(
&
pdev
->
dev
,
sizeof
(
*
priv
),
GFP_KERNEL
);
if
(
!
priv
)
return
-
ENOMEM
;
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
priv
->
sensor
=
devm_ioremap_resource
(
&
pdev
->
dev
,
res
);
if
(
IS_ERR
(
priv
->
sensor
))
return
PTR_ERR
(
priv
->
sensor
);
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
1
);
if
(
!
res
)
{
dev_err
(
&
pdev
->
dev
,
"Failed to get platform resource
\n
"
);
return
-
ENODEV
;
}
priv
->
control
=
devm_ioremap_resource
(
&
pdev
->
dev
,
res
);
if
(
IS_ERR
(
priv
->
control
))
return
PTR_ERR
(
priv
->
control
);
...
...
@@ -182,7 +173,6 @@ static int dove_thermal_exit(struct platform_device *pdev)
platform_get_drvdata
(
pdev
);
thermal_zone_device_unregister
(
dove_thermal
);
platform_set_drvdata
(
pdev
,
NULL
);
return
0
;
}
...
...
drivers/thermal/exynos_thermal.c
浏览文件 @
e7cd7886
...
...
@@ -925,11 +925,6 @@ static int exynos_tmu_probe(struct platform_device *pdev)
INIT_WORK
(
&
data
->
irq_work
,
exynos_tmu_work
);
data
->
mem
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
if
(
!
data
->
mem
)
{
dev_err
(
&
pdev
->
dev
,
"Failed to get platform resource
\n
"
);
return
-
ENOENT
;
}
data
->
base
=
devm_ioremap_resource
(
&
pdev
->
dev
,
data
->
mem
);
if
(
IS_ERR
(
data
->
base
))
return
PTR_ERR
(
data
->
base
);
...
...
@@ -1001,7 +996,6 @@ static int exynos_tmu_probe(struct platform_device *pdev)
return
0
;
err_clk:
platform_set_drvdata
(
pdev
,
NULL
);
clk_unprepare
(
data
->
clk
);
return
ret
;
}
...
...
@@ -1016,8 +1010,6 @@ static int exynos_tmu_remove(struct platform_device *pdev)
clk_unprepare
(
data
->
clk
);
platform_set_drvdata
(
pdev
,
NULL
);
return
0
;
}
...
...
drivers/thermal/kirkwood_thermal.c
浏览文件 @
e7cd7886
...
...
@@ -75,16 +75,11 @@ static int kirkwood_thermal_probe(struct platform_device *pdev)
struct
kirkwood_thermal_priv
*
priv
;
struct
resource
*
res
;
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
if
(
!
res
)
{
dev_err
(
&
pdev
->
dev
,
"Failed to get platform resource
\n
"
);
return
-
ENODEV
;
}
priv
=
devm_kzalloc
(
&
pdev
->
dev
,
sizeof
(
*
priv
),
GFP_KERNEL
);
if
(
!
priv
)
return
-
ENOMEM
;
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
priv
->
sensor
=
devm_ioremap_resource
(
&
pdev
->
dev
,
res
);
if
(
IS_ERR
(
priv
->
sensor
))
return
PTR_ERR
(
priv
->
sensor
);
...
...
@@ -108,7 +103,6 @@ static int kirkwood_thermal_exit(struct platform_device *pdev)
platform_get_drvdata
(
pdev
);
thermal_zone_device_unregister
(
kirkwood_thermal
);
platform_set_drvdata
(
pdev
,
NULL
);
return
0
;
}
...
...
drivers/thermal/rcar_thermal.c
浏览文件 @
e7cd7886
...
...
@@ -389,11 +389,6 @@ static int rcar_thermal_probe(struct platform_device *pdev)
* platform has IRQ support.
* Then, drier use common register
*/
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
mres
++
);
if
(
!
res
)
{
dev_err
(
dev
,
"Could not get platform resource
\n
"
);
return
-
ENODEV
;
}
ret
=
devm_request_irq
(
dev
,
irq
->
start
,
rcar_thermal_irq
,
0
,
dev_name
(
dev
),
common
);
...
...
@@ -405,6 +400,7 @@ static int rcar_thermal_probe(struct platform_device *pdev)
/*
* rcar_has_irq_support() will be enabled
*/
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
mres
++
);
common
->
base
=
devm_ioremap_resource
(
dev
,
res
);
if
(
IS_ERR
(
common
->
base
))
return
PTR_ERR
(
common
->
base
);
...
...
@@ -487,8 +483,6 @@ static int rcar_thermal_remove(struct platform_device *pdev)
rcar_thermal_irq_disable
(
priv
);
}
platform_set_drvdata
(
pdev
,
NULL
);
pm_runtime_put_sync
(
dev
);
pm_runtime_disable
(
dev
);
...
...
drivers/thermal/spear_thermal.c
浏览文件 @
e7cd7886
...
...
@@ -104,7 +104,7 @@ static int spear_thermal_probe(struct platform_device *pdev)
struct
thermal_zone_device
*
spear_thermal
=
NULL
;
struct
spear_thermal_dev
*
stdev
;
struct
device_node
*
np
=
pdev
->
dev
.
of_node
;
struct
resource
*
stres
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
)
;
struct
resource
*
res
;
int
ret
=
0
,
val
;
if
(
!
np
||
!
of_property_read_u32
(
np
,
"st,thermal-flags"
,
&
val
))
{
...
...
@@ -112,11 +112,6 @@ static int spear_thermal_probe(struct platform_device *pdev)
return
-
EINVAL
;
}
if
(
!
stres
)
{
dev_err
(
&
pdev
->
dev
,
"memory resource missing
\n
"
);
return
-
ENODEV
;
}
stdev
=
devm_kzalloc
(
&
pdev
->
dev
,
sizeof
(
*
stdev
),
GFP_KERNEL
);
if
(
!
stdev
)
{
dev_err
(
&
pdev
->
dev
,
"kzalloc fail
\n
"
);
...
...
@@ -124,12 +119,10 @@ static int spear_thermal_probe(struct platform_device *pdev)
}
/* Enable thermal sensor */
stdev
->
thermal_base
=
devm_ioremap
(
&
pdev
->
dev
,
stres
->
start
,
resource_size
(
stres
));
if
(
!
stdev
->
thermal_base
)
{
dev_err
(
&
pdev
->
dev
,
"ioremap failed
\n
"
);
return
-
ENOMEM
;
}
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
stdev
->
thermal_base
=
devm_ioremap_resource
(
&
pdev
->
dev
,
res
);
if
(
IS_ERR
(
stdev
->
thermal_base
))
return
PTR_ERR
(
stdev
->
thermal_base
);
stdev
->
clk
=
devm_clk_get
(
&
pdev
->
dev
,
NULL
);
if
(
IS_ERR
(
stdev
->
clk
))
{
...
...
@@ -174,7 +167,6 @@ static int spear_thermal_exit(struct platform_device *pdev)
struct
spear_thermal_dev
*
stdev
=
spear_thermal
->
devdata
;
thermal_zone_device_unregister
(
spear_thermal
);
platform_set_drvdata
(
pdev
,
NULL
);
/* Disable SPEAr Thermal Sensor */
actual_mask
=
readl_relaxed
(
stdev
->
thermal_base
);
...
...
drivers/
staging
/ti-soc-thermal/Kconfig
→
drivers/
thermal
/ti-soc-thermal/Kconfig
浏览文件 @
e7cd7886
文件已移动
drivers/
staging
/ti-soc-thermal/Makefile
→
drivers/
thermal
/ti-soc-thermal/Makefile
浏览文件 @
e7cd7886
文件已移动
drivers/
staging
/ti-soc-thermal/TODO
→
drivers/
thermal
/ti-soc-thermal/TODO
浏览文件 @
e7cd7886
文件已移动
drivers/
staging
/ti-soc-thermal/omap4-thermal-data.c
→
drivers/
thermal
/ti-soc-thermal/omap4-thermal-data.c
浏览文件 @
e7cd7886
文件已移动
drivers/
staging
/ti-soc-thermal/omap4xxx-bandgap.h
→
drivers/
thermal
/ti-soc-thermal/omap4xxx-bandgap.h
浏览文件 @
e7cd7886
文件已移动
drivers/
staging
/ti-soc-thermal/omap5-thermal-data.c
→
drivers/
thermal
/ti-soc-thermal/omap5-thermal-data.c
浏览文件 @
e7cd7886
文件已移动
drivers/
staging
/ti-soc-thermal/omap5xxx-bandgap.h
→
drivers/
thermal
/ti-soc-thermal/omap5xxx-bandgap.h
浏览文件 @
e7cd7886
文件已移动
drivers/
staging
/ti-soc-thermal/ti-bandgap.c
→
drivers/
thermal
/ti-soc-thermal/ti-bandgap.c
浏览文件 @
e7cd7886
文件已移动
drivers/
staging
/ti-soc-thermal/ti-bandgap.h
→
drivers/
thermal
/ti-soc-thermal/ti-bandgap.h
浏览文件 @
e7cd7886
文件已移动
drivers/
staging
/ti-soc-thermal/ti-thermal-common.c
→
drivers/
thermal
/ti-soc-thermal/ti-thermal-common.c
浏览文件 @
e7cd7886
文件已移动
drivers/
staging
/ti-soc-thermal/ti-thermal.h
→
drivers/
thermal
/ti-soc-thermal/ti-thermal.h
浏览文件 @
e7cd7886
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录