stm_thermal.c (6f84981772535e670e4e2df051a672af229b6694) stm_thermal.c (9272d2d43b6e532d0c0b6d3a597cf75c9ca1e183)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) STMicroelectronics 2018 - All Rights Reserved
4 * Author: David Hernandez Sanchez <david.hernandezsanchez@st.com> for
5 * STMicroelectronics.
6 */
7
8#include <linux/clk.h>

--- 5 unchanged lines hidden (view full) ---

14#include <linux/iopoll.h>
15#include <linux/module.h>
16#include <linux/of.h>
17#include <linux/of_address.h>
18#include <linux/of_device.h>
19#include <linux/platform_device.h>
20#include <linux/thermal.h>
21
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) STMicroelectronics 2018 - All Rights Reserved
4 * Author: David Hernandez Sanchez <david.hernandezsanchez@st.com> for
5 * STMicroelectronics.
6 */
7
8#include <linux/clk.h>

--- 5 unchanged lines hidden (view full) ---

14#include <linux/iopoll.h>
15#include <linux/module.h>
16#include <linux/of.h>
17#include <linux/of_address.h>
18#include <linux/of_device.h>
19#include <linux/platform_device.h>
20#include <linux/thermal.h>
21
22#include "../thermal_core.h"
23#include "../thermal_hwmon.h"
24
25/* DTS register offsets */
26#define DTS_CFGR1_OFFSET 0x0
27#define DTS_T0VALR1_OFFSET 0x8
28#define DTS_RAMPVALR_OFFSET 0X10
29#define DTS_ITR1_OFFSET 0x14
30#define DTS_DR_OFFSET 0x1C

--- 570 unchanged lines hidden ---
22#include "../thermal_hwmon.h"
23
24/* DTS register offsets */
25#define DTS_CFGR1_OFFSET 0x0
26#define DTS_T0VALR1_OFFSET 0x8
27#define DTS_RAMPVALR_OFFSET 0X10
28#define DTS_ITR1_OFFSET 0x14
29#define DTS_DR_OFFSET 0x1C

--- 570 unchanged lines hidden ---