linux/drivers/clk/clk-bd718x7.c

// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2018 ROHM Semiconductors

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/mfd/rohm-generic.h>
#include <linux/clk-provider.h>
#include <linux/clkdev.h>
#include <linux/regmap.h>

/* clk control registers */
/* BD71815 */
#define BD71815_REG_OUT32K
/* BD71828 */
#define BD71828_REG_OUT32K
/* BD71837 and BD71847 */
#define BD718XX_REG_OUT32K

/*
 * BD71837, BD71847, and BD71828 all use bit [0] to clk output control
 */
#define CLK_OUT_EN_MASK


struct bd718xx_clk {};

static int bd71837_clk_set(struct bd718xx_clk *c, unsigned int status)
{}

static void bd71837_clk_disable(struct clk_hw *hw)
{}

static int bd71837_clk_enable(struct clk_hw *hw)
{}

static int bd71837_clk_is_enabled(struct clk_hw *hw)
{}

static const struct clk_ops bd71837_clk_ops =;

static int bd71837_clk_probe(struct platform_device *pdev)
{}

static const struct platform_device_id bd718x7_clk_id[] =;
MODULE_DEVICE_TABLE(platform, bd718x7_clk_id);

static struct platform_driver bd71837_clk =;

module_platform_driver();

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