Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.3-rc4 45 lines 1.1 kB view raw
1/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 2/* 3 * Copyright (c) 2017 BayLibre, SAS 4 * Author: Neil Armstrong <narmstrong@baylibre.com> 5 * 6 * Copyright (c) 2018 Amlogic, inc. 7 * Author: Qiufang Dai <qiufang.dai@amlogic.com> 8 * Author: Yixun Lan <yixun.lan@amlogic.com> 9 */ 10 11#ifndef __MESON_AOCLK_H__ 12#define __MESON_AOCLK_H__ 13 14#include <linux/clk-provider.h> 15#include <linux/platform_device.h> 16#include <linux/regmap.h> 17#include <linux/reset-controller.h> 18 19#include "clk-regmap.h" 20 21struct meson_aoclk_input { 22 const char *name; 23 bool required; 24}; 25 26struct meson_aoclk_data { 27 const unsigned int reset_reg; 28 const int num_reset; 29 const unsigned int *reset; 30 const int num_clks; 31 struct clk_regmap **clks; 32 const int num_inputs; 33 const struct meson_aoclk_input *inputs; 34 const char *input_prefix; 35 const struct clk_hw_onecell_data *hw_data; 36}; 37 38struct meson_aoclk_reset_controller { 39 struct reset_controller_dev reset; 40 const struct meson_aoclk_data *data; 41 struct regmap *regmap; 42}; 43 44int meson_aoclkc_probe(struct platform_device *pdev); 45#endif