linux/drivers/acpi/pmic/intel_pmic_bxtwc.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Intel BXT WhiskeyCove PMIC operation region driver
 *
 * Copyright (C) 2015 Intel Corporation. All rights reserved.
 */

#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/mfd/intel_soc_pmic.h>
#include <linux/regmap.h>
#include <linux/platform_device.h>
#include "intel_pmic.h"

#define WHISKEY_COVE_ALRT_HIGH_BIT_MASK
#define WHISKEY_COVE_ADC_HIGH_BIT(x)
#define WHISKEY_COVE_ADC_CURSRC(x)
#define VR_MODE_DISABLED
#define VR_MODE_AUTO
#define VR_MODE_NORMAL
#define VR_MODE_SWITCH
#define VR_MODE_ECO
#define VSWITCH2_OUTPUT
#define VSWITCH1_OUTPUT
#define VUSBPHY_CHARGE

static const struct pmic_table power_table[] =;

static const struct pmic_table thermal_table[] =;

static int intel_bxtwc_pmic_get_power(struct regmap *regmap, int reg,
		int bit, u64 *value)
{}

static int intel_bxtwc_pmic_update_power(struct regmap *regmap, int reg,
		int bit, bool on)
{}

static int intel_bxtwc_pmic_get_raw_temp(struct regmap *regmap, int reg)
{}

static int
intel_bxtwc_pmic_update_aux(struct regmap *regmap, int reg, int raw)
{}

static int
intel_bxtwc_pmic_get_policy(struct regmap *regmap, int reg, int bit, u64 *value)
{}

static int
intel_bxtwc_pmic_update_policy(struct regmap *regmap,
				int reg, int bit, int enable)
{}

static const struct intel_pmic_opregion_data intel_bxtwc_pmic_opregion_data =;

static int intel_bxtwc_pmic_opregion_probe(struct platform_device *pdev)
{}

static const struct platform_device_id bxt_wc_opregion_id_table[] =;

static struct platform_driver intel_bxtwc_pmic_opregion_driver =;
builtin_platform_driver();