linux/drivers/soc/samsung/exynos-regulator-coupler.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2020 Samsung Electronics Co., Ltd.
 *	      http://www.samsung.com/
 * Author: Marek Szyprowski <[email protected]>
 *
 * Simplified generic voltage coupler from regulator core.c
 * The main difference is that it keeps current regulator voltage
 * if consumers didn't apply their constraints yet.
 */

#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/regulator/coupler.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>

static int regulator_get_optimal_voltage(struct regulator_dev *rdev,
					 int *current_uV,
					 int *min_uV, int *max_uV,
					 suspend_state_t state)
{}

static int exynos_coupler_balance_voltage(struct regulator_coupler *coupler,
					  struct regulator_dev *rdev,
					  suspend_state_t state)
{}

static int exynos_coupler_attach(struct regulator_coupler *coupler,
				 struct regulator_dev *rdev)
{}

static struct regulator_coupler exynos_coupler =;

static int __init exynos_coupler_init(void)
{}
arch_initcall(exynos_coupler_init);