arm64: dts: exynos5433: G3D TMU uses different sensor configuration.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Fri, 31 Jul 2015 02:13:40 +0000 (11:13 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:47:00 +0000 (13:47 +0900)
There are 5 thermal sensors on EXYNOS5433, ATLAS0,1, G3D and APOLLO, ISP.
And G3D's sensor is different with others. Thus it has to use suitable
configuration. It uses diffenet reference voltage and mux address.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
arch/arm64/boot/dts/exynos/exynos5433-tmu-g3d-sensor-conf.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/exynos/exynos5433-tmu-sensor-conf.dtsi
arch/arm64/boot/dts/exynos/exynos5433.dtsi

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tmu-g3d-sensor-conf.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tmu-g3d-sensor-conf.dtsi
new file mode 100644 (file)
index 0000000..8aacbc0
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Device tree sources for Exynos5433 TMU sensor configuration
+ *
+ * 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 = <8>;
+samsung,tmu_reference_voltage = <23>;
+samsung,tmu_noise_cancel_mode = <4>;
+samsung,tmu_efuse_value = <75>;
+samsung,tmu_min_efuse_value = <40>;
+samsung,tmu_max_efuse_value = <150>;
+samsung,tmu_first_point_trim = <25>;
+samsung,tmu_second_point_trim = <85>;
+samsung,tmu_default_temp_offset = <50>;
+samsung,tmu_mux_addr = <6>;
index 396e60f..743ca9c 100644 (file)
@@ -20,3 +20,4 @@ samsung,tmu_max_efuse_value = <150>;
 samsung,tmu_first_point_trim = <25>;
 samsung,tmu_second_point_trim = <85>;
 samsung,tmu_default_temp_offset = <50>;
+samsung,tmu_mux_addr = <0>;
index 2aa93af..65d47cb 100644 (file)
                        clocks = <&cmu_peris CLK_PCLK_TMU1_APBIF>,
                                 <&cmu_peris CLK_SCLK_TMU1>;
                        clock-names = "tmu_apbif", "tmu_sclk";
-                       #include "exynos5433-tmu-sensor-conf.dtsi"
+                       #include "exynos5433-tmu-g3d-sensor-conf.dtsi"
                        status = "disabled";
                };