linux/drivers/thermal/qcom/tsens-v2.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018, Linaro Limited
 */

#include <linux/bitops.h>
#include <linux/regmap.h>
#include "tsens.h"

/* ----- SROT ------ */
#define SROT_HW_VER_OFF
#define SROT_CTRL_OFF

/* ----- TM ------ */
#define TM_INT_EN_OFF
#define TM_UPPER_LOWER_INT_STATUS_OFF
#define TM_UPPER_LOWER_INT_CLEAR_OFF
#define TM_UPPER_LOWER_INT_MASK_OFF
#define TM_CRITICAL_INT_STATUS_OFF
#define TM_CRITICAL_INT_CLEAR_OFF
#define TM_CRITICAL_INT_MASK_OFF
#define TM_Sn_UPPER_LOWER_THRESHOLD_OFF
#define TM_Sn_CRITICAL_THRESHOLD_OFF
#define TM_Sn_STATUS_OFF
#define TM_TRDY_OFF
#define TM_WDOG_LOG_OFF

/* v2.x: 8996, 8998, sdm845 */

static struct tsens_features tsens_v2_feat =;

static struct tsens_features ipq8074_feat =;

static const struct reg_field tsens_v2_regfields[MAX_REGFIELDS] =;

static const struct tsens_ops ops_generic_v2 =;

struct tsens_plat_data data_tsens_v2 =;

struct tsens_plat_data data_ipq8074 =;

/* Kept around for backward compatibility with old msm8996.dtsi */
struct tsens_plat_data data_8996 =;