History

thermal: db8500: Finalize device tree conversion

At some point there was an attempt to convert the DB8500 thermal sensor to device tree: a probe path was added and the device tree was augmented for the Snowball board. The switchover was never completed: instead the thermal devices came from from the PRCMU MFD device and the probe on the Snowball was confused as another set of configuration appeared from the device tree. Move over to a device-tree only approach, as we fixed up the device trees.

Linus Walleij committed 7 years ago

Commit cb063a81 parent dd89d824 files · +17 −97Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/platform_data/db8500_thermal.h+0−29
@@ -1,29 +0,0 @@
1−/* SPDX-License-Identifier: GPL-2.0-or-later */
2−/*
3− * db8500_thermal.h - DB8500 Thermal Management Implementation
4− *
5− * Copyright (C) 2012 ST-Ericsson
6− * Copyright (C) 2012 Linaro Ltd.
7− *
8− * Author: Hongbo Zhang <hongbo.zhang@linaro.com>
9− */
10−
11−#ifndef _DB8500_THERMAL_H_
12−#define _DB8500_THERMAL_H_
13−
14−#include <linux/thermal.h>
15−
16−#define COOLING_DEV_MAX 8
17−
18−struct db8500_trip_point {
19− unsigned long temp;
20− enum thermal_trip_type type;
21− char cdev_name[COOLING_DEV_MAX][THERMAL_NAME_LENGTH];
22−};
23−
24−struct db8500_thsens_platform_data {
25− struct db8500_trip_point trip_points[THERMAL_MAX_TRIPS];
26− int num_trips;
27−};
28−
29−#endif /* _DB8500_THERMAL_H_ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t