uniphier_thermal.c (79b2027097dd3046ff95a2701af441405f1ff298) uniphier_thermal.c (9272d2d43b6e532d0c0b6d3a597cf75c9ca1e183)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * uniphier_thermal.c - Socionext UniPhier thermal driver
4 * Copyright 2014 Panasonic Corporation
5 * Copyright 2016-2017 Socionext Inc.
6 * Author:
7 * Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
8 */
9
10#include <linux/bitops.h>
11#include <linux/interrupt.h>
12#include <linux/mfd/syscon.h>
13#include <linux/module.h>
14#include <linux/of.h>
15#include <linux/of_device.h>
16#include <linux/platform_device.h>
17#include <linux/regmap.h>
18#include <linux/thermal.h>
19
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * uniphier_thermal.c - Socionext UniPhier thermal driver
4 * Copyright 2014 Panasonic Corporation
5 * Copyright 2016-2017 Socionext Inc.
6 * Author:
7 * Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
8 */
9
10#include <linux/bitops.h>
11#include <linux/interrupt.h>
12#include <linux/mfd/syscon.h>
13#include <linux/module.h>
14#include <linux/of.h>
15#include <linux/of_device.h>
16#include <linux/platform_device.h>
17#include <linux/regmap.h>
18#include <linux/thermal.h>
19
20#include "thermal_core.h"
21
22/*
23 * block registers
24 * addresses are the offset from .block_base
25 */
26#define PVTCTLEN 0x0000
27#define PVTCTLEN_EN BIT(0)
28
29#define PVTCTLMODE 0x0004

--- 349 unchanged lines hidden ---
20/*
21 * block registers
22 * addresses are the offset from .block_base
23 */
24#define PVTCTLEN 0x0000
25#define PVTCTLEN_EN BIT(0)
26
27#define PVTCTLMODE 0x0004

--- 349 unchanged lines hidden ---