* [PATCH] PM / devfreq: imx8m-ddrc: Remove unused defines
@ 2019-12-19 15:42 Leonard Crestez
2019-12-19 16:21 ` Chanwoo Choi
0 siblings, 1 reply; 2+ messages in thread
From: Leonard Crestez @ 2019-12-19 15:42 UTC (permalink / raw)
To: Chanwoo Choi, Kyungmin Park, MyungJoo Ham
Cc: Adam Ford, Martin Kepplinger, Jacky Bai, Shawn Guo, Dong Aisheng,
Fabio Estevam, kernel, linux-imx, linux-arm-kernel, linux-pm
The IMX_SIP_DDR_DVFS_WAIT_CHANGE and IMX_SIP_DDR_FREQ_SET_HIGH defines
are not used so they can be removed.
Fixes: 518e99e2a22e ("PM / devfreq: Add dynamic scaling for imx8m ddr controller")
Reported-by: Shawn Guo <shawn.guo@kernel.org>
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
---
drivers/devfreq/imx8m-ddrc.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c
index fea169619c59..ecbb1db05ea0 100644
--- a/drivers/devfreq/imx8m-ddrc.c
+++ b/drivers/devfreq/imx8m-ddrc.c
@@ -13,16 +13,10 @@
#include <linux/clk-provider.h>
#include <linux/arm-smccc.h>
#define IMX_SIP_DDR_DVFS 0xc2000004
-/* Values starting from 0 switch to specific frequency */
-#define IMX_SIP_DDR_FREQ_SET_HIGH 0x00
-
-/* Deprecated after moving IRQ handling to ATF */
-#define IMX_SIP_DDR_DVFS_WAIT_CHANGE 0x0F
-
/* Query available frequencies. */
#define IMX_SIP_DDR_DVFS_GET_FREQ_COUNT 0x10
#define IMX_SIP_DDR_DVFS_GET_FREQ_INFO 0x11
/*
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] PM / devfreq: imx8m-ddrc: Remove unused defines
2019-12-19 15:42 [PATCH] PM / devfreq: imx8m-ddrc: Remove unused defines Leonard Crestez
@ 2019-12-19 16:21 ` Chanwoo Choi
0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2019-12-19 16:21 UTC (permalink / raw)
To: Leonard Crestez
Cc: Chanwoo Choi, Kyungmin Park, MyungJoo Ham, Adam Ford,
Martin Kepplinger, Jacky Bai, Shawn Guo, Dong Aisheng,
Fabio Estevam, kernel, dl-linux-imx, linux-arm-kernel,
Linux PM list
2019년 12월 20일 (금) 오전 12:43, Leonard Crestez <leonard.crestez@nxp.com>님이 작성:
>
> The IMX_SIP_DDR_DVFS_WAIT_CHANGE and IMX_SIP_DDR_FREQ_SET_HIGH defines
> are not used so they can be removed.
>
> Fixes: 518e99e2a22e ("PM / devfreq: Add dynamic scaling for imx8m ddr controller")
>
> Reported-by: Shawn Guo <shawn.guo@kernel.org>
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> ---
> drivers/devfreq/imx8m-ddrc.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c
> index fea169619c59..ecbb1db05ea0 100644
> --- a/drivers/devfreq/imx8m-ddrc.c
> +++ b/drivers/devfreq/imx8m-ddrc.c
> @@ -13,16 +13,10 @@
> #include <linux/clk-provider.h>
> #include <linux/arm-smccc.h>
>
> #define IMX_SIP_DDR_DVFS 0xc2000004
>
> -/* Values starting from 0 switch to specific frequency */
> -#define IMX_SIP_DDR_FREQ_SET_HIGH 0x00
> -
> -/* Deprecated after moving IRQ handling to ATF */
> -#define IMX_SIP_DDR_DVFS_WAIT_CHANGE 0x0F
> -
> /* Query available frequencies. */
> #define IMX_SIP_DDR_DVFS_GET_FREQ_COUNT 0x10
> #define IMX_SIP_DDR_DVFS_GET_FREQ_INFO 0x11
>
> /*
> --
> 2.17.1
>
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-19 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-19 15:42 [PATCH] PM / devfreq: imx8m-ddrc: Remove unused defines Leonard Crestez
2019-12-19 16:21 ` Chanwoo Choi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).