linux/drivers/regulator/arizona-ldo1.c

// SPDX-License-Identifier: GPL-2.0+
//
// arizona-ldo1.c  --  LDO1 supply for Arizona devices
//
// Copyright 2012 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/of.h>
#include <linux/gpio/consumer.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/of_regulator.h>
#include <linux/slab.h>

#include <linux/regulator/arizona-ldo1.h>

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

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

struct arizona_ldo1 {};

static int arizona_ldo1_hc_set_voltage_sel(struct regulator_dev *rdev,
					   unsigned sel)
{}

static int arizona_ldo1_hc_get_voltage_sel(struct regulator_dev *rdev)
{}

static const struct regulator_ops arizona_ldo1_hc_ops =;

static const struct linear_range arizona_ldo1_hc_ranges[] =;

static const struct regulator_desc arizona_ldo1_hc =;

static const struct regulator_ops arizona_ldo1_ops =;

static const struct regulator_desc arizona_ldo1 =;

static const struct regulator_init_data arizona_ldo1_dvfs =;

static const struct regulator_init_data arizona_ldo1_default =;

static const struct regulator_init_data arizona_ldo1_wm5110 =;

static const struct regulator_desc madera_ldo1 =;

static const struct regulator_init_data madera_ldo1_default =;

static int arizona_ldo1_of_get_pdata(struct arizona_ldo1_pdata *pdata,
				     struct regulator_config *config,
				     const struct regulator_desc *desc,
				     bool *external_dcvdd)
{}

static int arizona_ldo1_common_init(struct platform_device *pdev,
				    struct arizona_ldo1 *ldo1,
				    const struct regulator_desc *desc,
				    struct arizona_ldo1_pdata *pdata,
				    bool *external_dcvdd)
{}

static int arizona_ldo1_probe(struct platform_device *pdev)
{}

static void arizona_ldo1_remove(struct platform_device *pdev)
{}

static int madera_ldo1_probe(struct platform_device *pdev)
{}

static struct platform_driver arizona_ldo1_driver =;

static struct platform_driver madera_ldo1_driver =;

static struct platform_driver * const madera_ldo1_drivers[] =;

static int __init arizona_ldo1_init(void)
{}
module_init();

static void __exit madera_ldo1_exit(void)
{}
module_exit(madera_ldo1_exit);

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