Merge "clk: qcom: clk-debug: Port public clk_dump APIs"

This commit is contained in:
qctecmdr 2022-07-22 12:24:30 -07:00 committed by Gerrit - the friendly Code Review server
commit b78d4ac8f5

View File

@ -1,12 +1,14 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef __LINUX_CLK_QCOM_H_
#define __LINUX_CLK_QCOM_H_
#include <linux/clk-provider.h>
#include <linux/clk.h>
#include <linux/regulator/consumer.h>
enum branch_mem_flags {
CLKFLAG_RETAIN_PERIPH,
@ -19,5 +21,9 @@ enum branch_mem_flags {
int qcom_clk_get_voltage(struct clk *clk, unsigned long rate);
int qcom_clk_set_flags(struct clk *clk, unsigned long flags);
void qcom_clk_dump(struct clk *clk, struct regulator *regulator,
bool calltrace);
void qcom_clk_bulk_dump(int num_clks, struct clk_bulk_data *clks,
struct regulator *regulator, bool calltrace);
#endif /* __LINUX_CLK_QCOM_H_ */