android_kernel_xiaomi_sm8350/drivers/clk/qcom/clk-opp.h
Taniya Das 5f08cb78a4 clk: Add support to provide OPP tables for clocks
Some clock driver clients need the frequency to voltage
mapping to be exposed. Add support to load and expose
these values through OPP tables associating to a device.

Change-Id: Iab3e34f53cab1db07fb2e78b378ed18a4dd8d90b
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-07-21 10:57:29 +05:30

14 lines
323 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2020, The Linux Foundation. All rights reserved. */
#ifndef __QCOM_CLK_OPP_H__
#define __QCOM_CLK_OPP_H__
void clk_hw_populate_clock_opp_table(struct device_node *np,
struct clk_hw *hw);
#define MAX_LEN_OPP_HANDLE 50
#define LEN_OPP_HANDLE 16
#endif