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

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2019, Linaro Limited
 */

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

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

/* ----- TM ------ */
#define TM_INT_EN_OFF
#define TM_Sn_UPPER_LOWER_STATUS_CTRL_OFF
#define TM_Sn_STATUS_OFF
#define TM_TRDY_OFF
#define TM_HIGH_LOW_INT_STATUS_OFF
#define TM_HIGH_LOW_Sn_INT_THRESHOLD_OFF

static struct tsens_legacy_calibration_format tsens_qcs404_nvmem =;

static int calibrate_v1(struct tsens_priv *priv)
{}

/* v1.x: msm8956,8976,qcs404,405 */

static struct tsens_features tsens_v1_feat =;

static const struct reg_field tsens_v1_regfields[MAX_REGFIELDS] =;

static int __init init_8956(struct tsens_priv *priv) {}

static const struct tsens_ops ops_generic_v1 =;

struct tsens_plat_data data_tsens_v1 =;

static const struct tsens_ops ops_8956 =;

struct tsens_plat_data data_8956 =;

static const struct tsens_ops ops_8976 =;

struct tsens_plat_data data_8976 =;