exynos_tmu.c (79b2027097dd3046ff95a2701af441405f1ff298) | exynos_tmu.c (9272d2d43b6e532d0c0b6d3a597cf75c9ca1e183) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * exynos_tmu.c - Samsung Exynos TMU (Thermal Management Unit) 4 * 5 * Copyright (C) 2014 Samsung Electronics 6 * Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> 7 * Lukasz Majewski <l.majewski@samsung.com> 8 * --- 6 unchanged lines hidden (view full) --- 15#include <linux/io.h> 16#include <linux/interrupt.h> 17#include <linux/module.h> 18#include <linux/of_device.h> 19#include <linux/of_address.h> 20#include <linux/of_irq.h> 21#include <linux/platform_device.h> 22#include <linux/regulator/consumer.h> | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * exynos_tmu.c - Samsung Exynos TMU (Thermal Management Unit) 4 * 5 * Copyright (C) 2014 Samsung Electronics 6 * Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> 7 * Lukasz Majewski <l.majewski@samsung.com> 8 * --- 6 unchanged lines hidden (view full) --- 15#include <linux/io.h> 16#include <linux/interrupt.h> 17#include <linux/module.h> 18#include <linux/of_device.h> 19#include <linux/of_address.h> 20#include <linux/of_irq.h> 21#include <linux/platform_device.h> 22#include <linux/regulator/consumer.h> |
23#include <linux/thermal.h> |
|
23 24#include <dt-bindings/thermal/thermal_exynos.h> 25 | 24 25#include <dt-bindings/thermal/thermal_exynos.h> 26 |
26#include "../thermal_core.h" 27 | |
28/* Exynos generic registers */ 29#define EXYNOS_TMU_REG_TRIMINFO 0x0 30#define EXYNOS_TMU_REG_CONTROL 0x20 31#define EXYNOS_TMU_REG_STATUS 0x28 32#define EXYNOS_TMU_REG_CURRENT_TEMP 0x40 33#define EXYNOS_TMU_REG_INTEN 0x70 34#define EXYNOS_TMU_REG_INTSTAT 0x74 35#define EXYNOS_TMU_REG_INTCLEAR 0x78 --- 1150 unchanged lines hidden --- | 27/* Exynos generic registers */ 28#define EXYNOS_TMU_REG_TRIMINFO 0x0 29#define EXYNOS_TMU_REG_CONTROL 0x20 30#define EXYNOS_TMU_REG_STATUS 0x28 31#define EXYNOS_TMU_REG_CURRENT_TEMP 0x40 32#define EXYNOS_TMU_REG_INTEN 0x70 33#define EXYNOS_TMU_REG_INTSTAT 0x74 34#define EXYNOS_TMU_REG_INTCLEAR 0x78 --- 1150 unchanged lines hidden --- |