#include <linux/acpi.h>
#include <linux/clkdev.h>
#include <linux/clk-provider.h>
#include <linux/device.h>
#include <linux/dmi.h>
#include <linux/gpio/consumer.h>
#include <linux/regulator/driver.h>
#include <linux/slab.h>
#include "common.h"
static const guid_t img_clk_guid = …;
static void skl_int3472_enable_clk(struct int3472_clock *clk, int enable)
{ … }
static const struct regulator_ops int3472_gpio_regulator_ops;
static int skl_int3472_clk_prepare(struct clk_hw *hw)
{ … }
static void skl_int3472_clk_unprepare(struct clk_hw *hw)
{ … }
static int skl_int3472_clk_enable(struct clk_hw *hw)
{ … }
static void skl_int3472_clk_disable(struct clk_hw *hw)
{ … }
static unsigned int skl_int3472_get_clk_frequency(struct int3472_discrete_device *int3472)
{ … }
static unsigned long skl_int3472_clk_recalc_rate(struct clk_hw *hw,
unsigned long parent_rate)
{ … }
static const struct clk_ops skl_int3472_clock_ops = …;
int skl_int3472_register_dsm_clock(struct int3472_discrete_device *int3472)
{ … }
int skl_int3472_register_gpio_clock(struct int3472_discrete_device *int3472,
struct gpio_desc *gpio)
{ … }
void skl_int3472_unregister_clock(struct int3472_discrete_device *int3472)
{ … }
static const char * const skl_int3472_regulator_map_supplies[] = …;
static_assert(…);
static const struct dmi_system_id skl_int3472_regulator_second_sensor[] = …;
int skl_int3472_register_regulator(struct int3472_discrete_device *int3472,
struct gpio_desc *gpio)
{ … }
void skl_int3472_unregister_regulator(struct int3472_discrete_device *int3472)
{ … }