linux/drivers/regulator/lp87565-regulator.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Regulator driver for LP87565 PMIC
 *
 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
 */

#include <linux/bitfield.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>

#include <linux/mfd/lp87565.h>

enum LP87565_regulator_id {};

#define LP87565_REGULATOR(_name, _id, _of, _ops, _n, _vr, _vm,		\
			  _er, _em, _ev, _delay, _lr, _cr)

struct lp87565_regulator {};

static const struct lp87565_regulator regulators[];

static const struct linear_range buck0_1_2_3_ranges[] =;

static const unsigned int lp87565_buck_ramp_delay[] =;

/* LP87565 BUCK current limit */
static const unsigned int lp87565_buck_uA[] =;

static int lp87565_buck_set_ramp_delay(struct regulator_dev *rdev,
				       int ramp_delay)
{}

/* Operations permitted on BUCKs */
static const struct regulator_ops lp87565_buck_ops =;

static const struct lp87565_regulator regulators[] =;

static int lp87565_regulator_probe(struct platform_device *pdev)
{}

static const struct platform_device_id lp87565_regulator_id_table[] =;
MODULE_DEVICE_TABLE(platform, lp87565_regulator_id_table);

static struct platform_driver lp87565_regulator_driver =;
module_platform_driver();

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