linux/drivers/regulator/pbias-regulator.c

/*
 * pbias-regulator.c
 *
 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
 * Author: Balaji T K <[email protected]>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation version 2.
 *
 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
 * kind, whether express or implied; without even the implied warranty
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#include <linux/err.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/mfd/syscon.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/of_regulator.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/of.h>

struct pbias_reg_info {};

struct pbias_of_data {};

static const unsigned int pbias_volt_table_3_0V[] =;

static const unsigned int pbias_volt_table_3_3V[] =;

static const struct regulator_ops pbias_regulator_voltage_ops =;

static const struct pbias_reg_info pbias_mmc_omap2430 =;

static const struct pbias_reg_info pbias_sim_omap3 =;

static const struct pbias_reg_info pbias_mmc_omap4 =;

static const struct pbias_reg_info pbias_mmc_omap5 =;

static struct of_regulator_match pbias_matches[] =;
#define PBIAS_NUM_REGS

/* Offset from SCM general area (and syscon) base */

static const struct pbias_of_data pbias_of_data_omap2 =;

static const struct pbias_of_data pbias_of_data_omap3 =;

static const struct pbias_of_data pbias_of_data_omap4 =;

static const struct pbias_of_data pbias_of_data_omap5 =;

static const struct pbias_of_data pbias_of_data_dra7 =;

static const struct of_device_id pbias_of_match[] =;
MODULE_DEVICE_TABLE(of, pbias_of_match);

static int pbias_regulator_probe(struct platform_device *pdev)
{}

static struct platform_driver pbias_regulator_driver =;

module_platform_driver();

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