5f08cb78a4
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>
14 lines
323 B
C
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
|