linux/drivers/regulator/wm8994-regulator.c

// SPDX-License-Identifier: GPL-2.0+
//
// wm8994-regulator.c  --  Regulator driver for the WM8994
//
// Copyright 2009 Wolfson Microelectronics PLC.
//
// Author: Mark Brown <[email protected]>

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/gpio/consumer.h>
#include <linux/slab.h>

#include <linux/mfd/wm8994/core.h>
#include <linux/mfd/wm8994/registers.h>
#include <linux/mfd/wm8994/pdata.h>

struct wm8994_ldo {};

#define WM8994_LDO1_MAX_SELECTOR
#define WM8994_LDO2_MAX_SELECTOR

static const struct regulator_ops wm8994_ldo1_ops =;

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

static const struct regulator_ops wm8994_ldo2_ops =;

static const struct regulator_desc wm8994_ldo_desc[] =;

static const struct regulator_desc wm8958_ldo_desc[] =;

static const struct regulator_consumer_supply wm8994_ldo_consumer[] =;

static const struct regulator_init_data wm8994_ldo_default[] =;

static int wm8994_ldo_probe(struct platform_device *pdev)
{}

static struct platform_driver wm8994_ldo_driver =;

module_platform_driver();

/* Module information */
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS();