Commit 8bc945fb authored by Jolly Shah's avatar Jolly Shah
Browse files

zynqmp: pm: Cleanup for clock set/get rate EEMI API



Clock set/get rate are not implemented and will likely never be.
Remove empty function stubs.
Signed-off-by: default avatarMirela Simonovic <mirela.simonovic@aggios.com>
Acked-by: default avatarWill Wong <WILLW@xilinx.com>
Signed-off-by: default avatarJolly Shah <jollys@xilinx.com>
parent b071dcd9
...@@ -2628,37 +2628,6 @@ enum pm_ret_status pm_clock_pll_get_state(struct pm_pll *pll, ...@@ -2628,37 +2628,6 @@ enum pm_ret_status pm_clock_pll_get_state(struct pm_pll *pll,
return PM_RET_SUCCESS; return PM_RET_SUCCESS;
} }
/**
* pm_api_clock_setrate - Set the clock rate for given id
* @clock_id Id of the clock
* @rate Rate value in hz
*
* This function is used by master to set rate for any clock.
*
* Return: Returns status, either success or error+reason.
*/
enum pm_ret_status pm_api_clock_setrate(unsigned int clock_id,
uint64_t rate)
{
return PM_RET_ERROR_NOTSUPPORTED;
}
/**
* pm_api_clock_getrate - Get the clock rate for given id
* @clock_id Id of the clock
* @rate rate value in hz
*
* This function is used by master to get rate
* for any clock.
*
* Return: Returns status, either success or error+reason.
*/
enum pm_ret_status pm_api_clock_getrate(unsigned int clock_id,
uint64_t *rate)
{
return PM_RET_ERROR_NOTSUPPORTED;
}
/** /**
* pm_api_clock_setparent - Set the clock parent for given id * pm_api_clock_setparent - Set the clock parent for given id
* @clock_id Id of the clock * @clock_id Id of the clock
......
...@@ -300,10 +300,6 @@ enum pm_ret_status pm_clock_pll_enable(struct pm_pll *pll); ...@@ -300,10 +300,6 @@ enum pm_ret_status pm_clock_pll_enable(struct pm_pll *pll);
enum pm_ret_status pm_clock_pll_disable(struct pm_pll *pll); enum pm_ret_status pm_clock_pll_disable(struct pm_pll *pll);
enum pm_ret_status pm_clock_pll_get_state(struct pm_pll *pll, enum pm_ret_status pm_clock_pll_get_state(struct pm_pll *pll,
unsigned int *state); unsigned int *state);
enum pm_ret_status pm_api_clock_setrate(unsigned int clock_id,
uint64_t rate);
enum pm_ret_status pm_api_clock_getrate(unsigned int clock_id,
uint64_t *rate);
enum pm_ret_status pm_api_clock_setparent(unsigned int clock_id, enum pm_ret_status pm_api_clock_setparent(unsigned int clock_id,
unsigned int parent_idx); unsigned int parent_idx);
enum pm_ret_status pm_api_clock_getparent(unsigned int clock_id, enum pm_ret_status pm_api_clock_getparent(unsigned int clock_id,
......
...@@ -1060,7 +1060,7 @@ enum pm_ret_status pm_clock_getdivider(unsigned int clock_id, ...@@ -1060,7 +1060,7 @@ enum pm_ret_status pm_clock_getdivider(unsigned int clock_id,
enum pm_ret_status pm_clock_setrate(unsigned int clock_id, enum pm_ret_status pm_clock_setrate(unsigned int clock_id,
uint64_t rate) uint64_t rate)
{ {
return pm_api_clock_setrate(clock_id, rate); return PM_RET_ERROR_NOTSUPPORTED;
} }
/** /**
...@@ -1076,7 +1076,7 @@ enum pm_ret_status pm_clock_setrate(unsigned int clock_id, ...@@ -1076,7 +1076,7 @@ enum pm_ret_status pm_clock_setrate(unsigned int clock_id,
enum pm_ret_status pm_clock_getrate(unsigned int clock_id, enum pm_ret_status pm_clock_getrate(unsigned int clock_id,
uint64_t *rate) uint64_t *rate)
{ {
return pm_api_clock_getrate(clock_id, rate); return PM_RET_ERROR_NOTSUPPORTED;
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment