Re: [PATCH V3 1/2] dt-bindings: imx: remove unused resources from scu resource table

From: Rob Herring
Date: Fri Feb 22 2019 - 14:46:31 EST


On Wed, Feb 20, 2019 at 02:35:02PM +0000, Anson Huang wrote:
> Removes below resources which were defined during
> pre-silicon phase and the real silicons do NOT have
> them, they have never been used, latest system
> controller firmware also removed them:
>
> IMX_SC_R_DC_0_CAPTURE0
> IMX_SC_R_DC_0_CAPTURE1
> IMX_SC_R_DC_0_INTEGRAL0
> IMX_SC_R_DC_0_INTEGRAL1
> IMX_SC_R_DC_0_FRAC1
> IMX_SC_R_DC_1_CAPTURE0
> IMX_SC_R_DC_1_CAPTURE1
> IMX_SC_R_DC_1_INTEGRAL0
> IMX_SC_R_DC_1_INTEGRAL1
> IMX_SC_R_DC_1_FRAC1
> IMX_SC_R_GPU_3_PID0
> IMX_SC_R_M4_0_SIM
> IMX_SC_R_M4_0_WDOG
> IMX_SC_R_M4_1_SIM
> IMX_SC_R_M4_1_WDOG
>
> Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
> ---
> No changes since V2, just separate the patch to 2, 1 patch to remove resources and the other is to add new
> resources.
> ---
> include/dt-bindings/firmware/imx/rsrc.h | 30 +++++++++++++++---------------
> 1 file changed, 15 insertions(+), 15 deletions(-)
>
> diff --git a/include/dt-bindings/firmware/imx/rsrc.h b/include/dt-bindings/firmware/imx/rsrc.h
> index 4481f2d..32cce37 100644
> --- a/include/dt-bindings/firmware/imx/rsrc.h
> +++ b/include/dt-bindings/firmware/imx/rsrc.h
> @@ -36,15 +36,15 @@
> #define IMX_SC_R_DC_0_BLIT1 20
> #define IMX_SC_R_DC_0_BLIT2 21
> #define IMX_SC_R_DC_0_BLIT_OUT 22
> -#define IMX_SC_R_DC_0_CAPTURE0 23
> -#define IMX_SC_R_DC_0_CAPTURE1 24
> +#define IMX_SC_R_UNUSED19 23
> +#define IMX_SC_R_UNUSED5 24

If unused, don't define them.