20 lines · c
1/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */2/*3 * Copyright (c) 2023 Neil Armstrong <neil.armstrong@linaro.org>4 */5 6#ifndef __MESON_CLKC_UTILS_H__7#define __MESON_CLKC_UTILS_H__8 9#include <linux/of_device.h>10#include <linux/clk-provider.h>11 12struct meson_clk_hw_data {13 struct clk_hw **hws;14 unsigned int num;15};16 17struct clk_hw *meson_clk_hw_get(struct of_phandle_args *clkspec, void *clk_hw_data);18 19#endif20