linux/drivers/regulator/pcap-regulator.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * PCAP2 Regulator Driver
 *
 * Copyright (c) 2009 Daniel Ribeiro <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/mfd/ezx-pcap.h>

static const unsigned int V1_table[] =;

static const unsigned int V2_table[] =;

static const unsigned int V3_table[] =;

static const unsigned int V4_table[] =;

static const unsigned int V5_table[] =;

static const unsigned int V6_table[] =;

static const unsigned int V7_table[] =;

#define V8_table

static const unsigned int V9_table[] =;

static const unsigned int V10_table[] =;

static const unsigned int VAUX1_table[] =;

#define VAUX2_table

static const unsigned int VAUX3_table[] =;

static const unsigned int VAUX4_table[] =;

static const unsigned int VSIM_table[] =;

static const unsigned int VSIM2_table[] =;

static const unsigned int VVIB_table[] =;

static const unsigned int SW1_table[] =;

#define SW2_table

struct pcap_regulator {};

#define NA

#define VREG_INFO(_vreg, _reg, _en, _index, _stby, _lowpwr)

static struct pcap_regulator vreg_table[] =;

static int pcap_regulator_set_voltage_sel(struct regulator_dev *rdev,
					  unsigned selector)
{}

static int pcap_regulator_get_voltage_sel(struct regulator_dev *rdev)
{}

static int pcap_regulator_enable(struct regulator_dev *rdev)
{}

static int pcap_regulator_disable(struct regulator_dev *rdev)
{}

static int pcap_regulator_is_enabled(struct regulator_dev *rdev)
{}

static const struct regulator_ops pcap_regulator_ops =;

#define VREG(_vreg)

static const struct regulator_desc pcap_regulators[] =;

static int pcap_regulator_probe(struct platform_device *pdev)
{}

static struct platform_driver pcap_regulator_driver =;

static int __init pcap_regulator_init(void)
{}

static void __exit pcap_regulator_exit(void)
{}

subsys_initcall(pcap_regulator_init);
module_exit(pcap_regulator_exit);

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();