2018-05-23 00:34:54 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 BayLibre, SAS.
|
|
|
|
* Author: Jerome Brunet <jbrunet@baylibre.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MESON_CLKC_AUDIO_H
|
|
|
|
#define __MESON_CLKC_AUDIO_H
|
|
|
|
|
|
|
|
#include "clkc.h"
|
|
|
|
|
|
|
|
struct meson_clk_triphase_data {
|
|
|
|
struct parm ph0;
|
|
|
|
struct parm ph1;
|
|
|
|
struct parm ph2;
|
|
|
|
};
|
|
|
|
|
2018-05-23 00:34:55 +08:00
|
|
|
struct meson_sclk_div_data {
|
|
|
|
struct parm div;
|
|
|
|
struct parm hi;
|
|
|
|
unsigned int cached_div;
|
|
|
|
struct clk_duty cached_duty;
|
|
|
|
};
|
|
|
|
|
2018-05-23 00:34:54 +08:00
|
|
|
extern const struct clk_ops meson_clk_triphase_ops;
|
2018-05-23 00:34:55 +08:00
|
|
|
extern const struct clk_ops meson_sclk_div_ops;
|
2018-05-23 00:34:54 +08:00
|
|
|
|
|
|
|
#endif /* __MESON_CLKC_AUDIO_H */
|