k3_bandgap.c (61b7369483efb5e0a9f3b48e75fac00d46d661e0) k3_bandgap.c (f6a756e8fb12923f0e3996a575e935e94f3594eb)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * TI Bandgap temperature sensor driver for K3 SoC Family
4 *
5 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
6 */
7
8#include <linux/err.h>
9#include <linux/init.h>
10#include <linux/io.h>
11#include <linux/kernel.h>
12#include <linux/module.h>
13#include <linux/of.h>
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * TI Bandgap temperature sensor driver for K3 SoC Family
4 *
5 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
6 */
7
8#include <linux/err.h>
9#include <linux/init.h>
10#include <linux/io.h>
11#include <linux/kernel.h>
12#include <linux/module.h>
13#include <linux/of.h>
14#include <linux/of_platform.h>
14#include <linux/platform_device.h>
15#include <linux/pm_runtime.h>
16#include <linux/thermal.h>
17#include <linux/types.h>
18
19#include "thermal_hwmon.h"
20
21#define K3_VTM_DEVINFO_PWR0_OFFSET 0x4
22#define K3_VTM_DEVINFO_PWR0_TEMPSENS_CT_MASK 0xf0

--- 246 unchanged lines hidden ---
15#include <linux/pm_runtime.h>
16#include <linux/thermal.h>
17#include <linux/types.h>
18
19#include "thermal_hwmon.h"
20
21#define K3_VTM_DEVINFO_PWR0_OFFSET 0x4
22#define K3_VTM_DEVINFO_PWR0_TEMPSENS_CT_MASK 0xf0

--- 246 unchanged lines hidden ---