diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2015-01-30 08:26:03 +0900 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-02-27 05:22:58 +0900 |
commit | 6562504dfe4128608b417397b92d7fd943648535 (patch) | |
tree | f5ae306e2355b1cda2b22e7820f031b8ff8faf4b /arch/arm/boot/dts/exynos5440-tmu-sensor-conf.dtsi | |
parent | 328829a6ad70670605adceb566db49099cc5889f (diff) | |
download | blackbird-obmc-linux-6562504dfe4128608b417397b92d7fd943648535.tar.gz blackbird-obmc-linux-6562504dfe4128608b417397b92d7fd943648535.zip |
ARM: dts: Trip points and sensor configuration data for exynos5440
This commit provides information about Exynos5440 device configuration.
Previously this information was available in exynos_tmu_data.c file.
Now it is available in the device tree.
Such approach allows reusing some common code for thermal.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5440-tmu-sensor-conf.dtsi')
-rw-r--r-- | arch/arm/boot/dts/exynos5440-tmu-sensor-conf.dtsi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5440-tmu-sensor-conf.dtsi b/arch/arm/boot/dts/exynos5440-tmu-sensor-conf.dtsi new file mode 100644 index 000000000000..7b2fba0ae92b --- /dev/null +++ b/arch/arm/boot/dts/exynos5440-tmu-sensor-conf.dtsi @@ -0,0 +1,24 @@ +/* + * Device tree sources for Exynos5440 TMU sensor configuration + * + * Copyright (c) 2014 Lukasz Majewski <l.majewski@samsung.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +#include <dt-bindings/thermal/thermal_exynos.h> + +#thermal-sensor-cells = <0>; +samsung,tmu_gain = <5>; +samsung,tmu_reference_voltage = <16>; +samsung,tmu_noise_cancel_mode = <4>; +samsung,tmu_efuse_value = <0x5d2d>; +samsung,tmu_min_efuse_value = <16>; +samsung,tmu_max_efuse_value = <76>; +samsung,tmu_first_point_trim = <25>; +samsung,tmu_second_point_trim = <70>; +samsung,tmu_default_temp_offset = <25>; +samsung,tmu_cal_type = <TYPE_ONE_POINT_TRIMMING>; |