thermal: Add new Thermal Monitor module 66/174366/7
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 22 Mar 2018 09:34:13 +0000 (18:34 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 6 Apr 2018 05:49:37 +0000 (14:49 +0900)
commit49f1f60714bb1efb691f7677eefb404de14173b7
tree9b782877628dd8542e22cb330475971a6a8dc10e
parentbc00af81b9b9376069e66fbd9eb68f6988a83240
thermal: Add new Thermal Monitor module

PASS can monitor the various h/w resource such as CPU/GPU and so on.
The thermal information is one of them. Require the thermal monitoring
and then notify the meaningful data of thermal. So, Thermal Monitor
is required.

Thermal Monitor supports the configuration file in order to define
the thermal scenarios (e.g., ReleaseAction, ShutdownAction) according to
the user definition. It is very flexible to define the multiple thermal
scenarios. Thermal Monitor monitors the thermal information using
following two methods:
- uevent-based thermal monitoring (interrupt method)
- timer-baesd thermal monitoring (polling method)

[d-bus interface]
- d-bus interface: "org.tizen.system.pass.monitor.thermal"
- d-bus method : "thermal_scenario"
- configuration : /etc/pass/pass-thermal.conf

Change-Id: I63c138d33350f6e17f9ad9bb73bd837b4f2a278e
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
CMakeLists.txt
include/pass/gdbus-util.h
scripts/thermal-dbus.xml [new file with mode: 0644]
src/core/gdbus-util.c
src/thermal/thermal-parser.c [new file with mode: 0644]
src/thermal/thermal.c [new file with mode: 0644]
src/thermal/thermal.h [new file with mode: 0644]