[COMMON] thermal: samsung: support data ntrip support
authorHyeonseong Gil <hs.gil@samsung.com>
Fri, 14 Apr 2017 07:34:32 +0000 (16:34 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:18:44 +0000 (17:18 +0900)
Change-Id: Id4e05e32b4829f5d947e87b38329ee7530bbc826
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
drivers/thermal/samsung/exynos_tmu.c

index d27188c64d82336a228245841ffee80ea7433509..479f5fbff22a5f72a2e2d7d62272d2329c0e326f 100644 (file)
@@ -1396,6 +1396,7 @@ static int exynos_map_dt_data(struct platform_device *pdev)
                data->tmu_read = exynos8890_tmu_read;
                data->tmu_set_emulation = exynos8890_tmu_set_emulation;
                data->tmu_clear_irqs = exynos8890_tmu_clear_irqs;
+               data->ntrip = 8;
                break;
        case SOC_ARCH_EXYNOS8895:
                data->tmu_initialize = exynos8895_tmu_initialize;
@@ -1403,6 +1404,7 @@ static int exynos_map_dt_data(struct platform_device *pdev)
                data->tmu_read = exynos8895_tmu_read;
                data->tmu_set_emulation = exynos8895_tmu_set_emulation;
                data->tmu_clear_irqs = exynos8895_tmu_clear_irqs;
+               data->ntrip = 8;
                break;
        case SOC_ARCH_EXYNOS7872:
                data->tmu_initialize = exynos78XX_tmu_initialize;
@@ -1410,6 +1412,7 @@ static int exynos_map_dt_data(struct platform_device *pdev)
                data->tmu_read = exynos8895_tmu_read;
                data->tmu_set_emulation = exynos8895_tmu_set_emulation;
                data->tmu_clear_irqs = exynos8895_tmu_clear_irqs;
+               data->ntrip = 8;
                break;
        default:
                dev_err(&pdev->dev, "Platform not supported\n");