mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
clk: qcom: clk-debug: Port public clk_dump APIs
Add public APIs that should have been ported along with
commit 7af068c1bf78 ("clk: qcom: clk-debug: Add snapshot
from msm-5.10").
Change-Id: I8a3b74b027da1e67375d77fa296be9bb9041dad9
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
This commit is contained in:
parent
ae06d58362
commit
f15f425842
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user