Add a driver to control the output of the sample clock generator found in the axg audio clock controller. The goal of this driver is to coherently control the phase provided to the different element using the sample clock generator. This simplify the usage of the sample clock generator a lot, without comprising the ability of the SoC. Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
21 lines
388 B
C
21 lines
388 B
C
/* 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;
|
|
};
|
|
|
|
extern const struct clk_ops meson_clk_triphase_ops;
|
|
|
|
#endif /* __MESON_CLKC_AUDIO_H */
|