]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: exynos: Provide thermal_exynos.h file to be included in device tree files
authorLukasz Majewski <l.majewski@samsung.com>
Fri, 23 Jan 2015 12:09:55 +0000 (13:09 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Sat, 24 Jan 2015 21:30:22 +0000 (17:30 -0400)
commite108cdd17a2f2c0a527dd623bb96769742bf8ada
tree085163e04edc3b8058774b0aff6b8cce221a09e3
parent7f8ac32a284d045ec0651de84c7b8466a4bf25bd
thermal: exynos: Provide thermal_exynos.h file to be included in device tree files

This patch is a preparatory patch to be able to read Exynos thermal
configuration from the device tree.

It turned out that DTC is not able to interpret enums properly and hence
it is necessary to #define those values explicitly.

For this reason the ./include/dt-bindings/thermal/thermal_exynos.h file
has been introduced.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/samsung/exynos_tmu.h
include/dt-bindings/thermal/thermal_exynos.h [new file with mode: 0644]