Merge tag 'trace-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux/fpc-iii.git] / drivers / clk / hisilicon / crg.h
blob803f6ba6d7a2fa365cc7a5d8f8282ccf585cbe60
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * HiSilicon Clock and Reset Driver Header
5 * Copyright (c) 2016 HiSilicon Limited.
6 */
8 #ifndef __HISI_CRG_H
9 #define __HISI_CRG_H
11 struct hisi_clock_data;
12 struct hisi_reset_controller;
14 struct hisi_crg_funcs {
15 struct hisi_clock_data* (*register_clks)(struct platform_device *pdev);
16 void (*unregister_clks)(struct platform_device *pdev);
19 struct hisi_crg_dev {
20 struct hisi_clock_data *clk_data;
21 struct hisi_reset_controller *rstc;
22 const struct hisi_crg_funcs *funcs;
25 #endif /* __HISI_CRG_H */