summaryrefslogtreecommitdiff
path: root/drivers/clk/meson/sclk-div.h
blob: b64b2a32005f0624353e9c9703cc5e5b49ad4898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2018 BayLibre, SAS.
 * Author: Jerome Brunet <jbrunet@baylibre.com>
 */

#ifndef __MESON_SCLK_DIV_H
#define __MESON_SCLK_DIV_H

#include <linux/clk-provider.h>
#include "parm.h"

struct meson_sclk_div_data {
	struct parm div;
	struct parm hi;
	unsigned int cached_div;
	struct clk_duty cached_duty;
};

extern const struct clk_ops meson_sclk_div_ops;

#endif /* __MESON_SCLK_DIV_H */