linux/drivers/regulator/anatop-regulator.c

// SPDX-License-Identifier: GPL-2.0+
//
// Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.

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

#define LDO_RAMP_UP_UNIT_IN_CYCLES
#define LDO_RAMP_UP_FREQ_IN_MHZ

#define LDO_POWER_GATE
#define LDO_FET_FULL_ON

struct anatop_regulator {};

static int anatop_regmap_set_voltage_time_sel(struct regulator_dev *reg,
	unsigned int old_sel,
	unsigned int new_sel)
{}

static int anatop_regmap_enable(struct regulator_dev *reg)
{}

static int anatop_regmap_disable(struct regulator_dev *reg)
{}

static int anatop_regmap_is_enabled(struct regulator_dev *reg)
{}

static int anatop_regmap_core_set_voltage_sel(struct regulator_dev *reg,
					      unsigned selector)
{}

static int anatop_regmap_core_get_voltage_sel(struct regulator_dev *reg)
{}

static int anatop_regmap_get_bypass(struct regulator_dev *reg, bool *enable)
{}

static int anatop_regmap_set_bypass(struct regulator_dev *reg, bool enable)
{}

static struct regulator_ops anatop_rops =;

static const struct regulator_ops anatop_core_rops =;

static int anatop_regulator_probe(struct platform_device *pdev)
{}

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

static struct platform_driver anatop_regulator_driver =;

static int __init anatop_regulator_init(void)
{}
postcore_initcall(anatop_regulator_init);

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

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