xref: /linux/drivers/interconnect/qcom/bcm-voter.h (revision 8e07e0e3964ca4e23ce7b68e2096fe660a888942)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
4  */
5 
6 #ifndef __DRIVERS_INTERCONNECT_QCOM_BCM_VOTER_H__
7 #define __DRIVERS_INTERCONNECT_QCOM_BCM_VOTER_H__
8 
9 #include <soc/qcom/cmd-db.h>
10 #include <soc/qcom/rpmh.h>
11 #include <soc/qcom/tcs.h>
12 
13 #include "icc-rpmh.h"
14 
15 struct bcm_voter *of_bcm_voter_get(struct device *dev, const char *name);
16 void qcom_icc_bcm_voter_add(struct bcm_voter *voter, struct qcom_icc_bcm *bcm);
17 int qcom_icc_bcm_voter_commit(struct bcm_voter *voter);
18 
19 #endif
20