linux/drivers/regulator/lm363x-regulator.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * TI LM363X Regulator Driver
 *
 * Copyright 2015 Texas Instruments
 *
 * Author: Milo Kim <[email protected]>
 */

#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/mfd/ti-lmu.h>
#include <linux/mfd/ti-lmu-register.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/gpio/consumer.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/of_regulator.h>
#include <linux/slab.h>

/* LM3631 */
#define LM3631_BOOST_VSEL_MAX
#define LM3631_LDO_VSEL_MAX
#define LM3631_CONT_VSEL_MAX
#define LM3631_VBOOST_MIN
#define LM3631_VCONT_MIN
#define LM3631_VLDO_MIN
#define ENABLE_TIME_USEC

/* LM3632 */
#define LM3632_BOOST_VSEL_MAX
#define LM3632_LDO_VSEL_MAX
#define LM3632_VBOOST_MIN
#define LM3632_VLDO_MIN

/* LM36274 */
#define LM36274_BOOST_VSEL_MAX
#define LM36274_LDO_VSEL_MAX
#define LM36274_VOLTAGE_MIN

/* Common */
#define LM363X_STEP_50mV
#define LM363X_STEP_500mV

static const int ldo_cont_enable_time[] =;

static int lm363x_regulator_enable_time(struct regulator_dev *rdev)
{}

static const struct regulator_ops lm363x_boost_voltage_table_ops =;

static const struct regulator_ops lm363x_regulator_voltage_table_ops =;

static const struct regulator_desc lm363x_regulator_desc[] =;

static struct gpio_desc *lm363x_regulator_of_get_enable_gpio(struct device *dev, int id)
{}

static int lm363x_regulator_set_ext_en(struct regmap *regmap, int id)
{}

static int lm363x_regulator_probe(struct platform_device *pdev)
{}

static struct platform_driver lm363x_regulator_driver =;

module_platform_driver();

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