xref: /kernel/linux/linux-5.10/drivers/clk/hisilicon/crg.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/clk/hisilicon/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * HiSilicon Clock and Reset Driver Header
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2016 HiSilicon Limited.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef __HISI_CRG_H
98c2ecf20Sopenharmony_ci#define __HISI_CRG_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_cistruct hisi_clock_data;
128c2ecf20Sopenharmony_cistruct hisi_reset_controller;
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_cistruct hisi_crg_funcs {
158c2ecf20Sopenharmony_ci	struct hisi_clock_data*	(*register_clks)(struct platform_device *pdev);
168c2ecf20Sopenharmony_ci	void (*unregister_clks)(struct platform_device *pdev);
178c2ecf20Sopenharmony_ci};
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_cistruct hisi_crg_dev {
208c2ecf20Sopenharmony_ci	struct hisi_clock_data *clk_data;
218c2ecf20Sopenharmony_ci	struct hisi_reset_controller *rstc;
228c2ecf20Sopenharmony_ci	const struct hisi_crg_funcs *funcs;
238c2ecf20Sopenharmony_ci};
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#endif	/* __HISI_CRG_H */
26

Indexes created Thu Nov 07 10:32:03 CST 2024