soundwire: bus: introduce controller_id
[platform/kernel/linux-rpi.git] / include / linux / interconnect-clk.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2023, Linaro Ltd.
4  */
5
6 #ifndef __LINUX_INTERCONNECT_CLK_H
7 #define __LINUX_INTERCONNECT_CLK_H
8
9 struct device;
10
11 struct icc_clk_data {
12         struct clk *clk;
13         const char *name;
14 };
15
16 struct icc_provider *icc_clk_register(struct device *dev,
17                                       unsigned int first_id,
18                                       unsigned int num_clocks,
19                                       const struct icc_clk_data *data);
20 void icc_clk_unregister(struct icc_provider *provider);
21
22 #endif