[PATCH v3 2/3] soc: imx: gpc: clean up

2018-07-24 Thread Sven Schmitt
Remove unused #defines. Signed-off-by: Sven Schmitt --- drivers/soc/imx/gpc.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/soc/imx/gpc.c b/drivers/soc/imx/gpc.c index 5126185e68c6..35cc1d2dc4d5 100644 --- a/drivers/soc/imx/gpc.c +++ b/drivers/soc/imx/gpc.c @@ -24,15 +24,11

[PATCH v3 2/3] soc: imx: gpc: clean up

2018-07-24 Thread Sven Schmitt
Remove unused #defines. Signed-off-by: Sven Schmitt --- drivers/soc/imx/gpc.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/soc/imx/gpc.c b/drivers/soc/imx/gpc.c index 5126185e68c6..35cc1d2dc4d5 100644 --- a/drivers/soc/imx/gpc.c +++ b/drivers/soc/imx/gpc.c @@ -24,15 +24,11

[PATCH v3 0/3] soc: imx: gpc: cleanups

2018-07-24 Thread Sven Schmitt
This patch series fixes the power down delay in gpc.c and improves readability. Changes in v3: * rebased to 4.18 * split up patch into 3 parts Changes in v2: * dropped cntr_pup_bit Sven Schmitt (3): soc: imx: gpc: fix PDN delay soc: imx: gpc: clean up soc: imx: gpc: use GPC_PGC_DOMAIN_

[PATCH v3 0/3] soc: imx: gpc: cleanups

2018-07-24 Thread Sven Schmitt
This patch series fixes the power down delay in gpc.c and improves readability. Changes in v3: * rebased to 4.18 * split up patch into 3 parts Changes in v2: * dropped cntr_pup_bit Sven Schmitt (3): soc: imx: gpc: fix PDN delay soc: imx: gpc: clean up soc: imx: gpc: use GPC_PGC_DOMAIN_

[PATCH v3 3/3] soc: imx: gpc: use GPC_PGC_DOMAIN_* indexes

2018-07-24 Thread Sven Schmitt
Use GPC_PGC_DOMAIN_* indexes consistent. Signed-off-by: Sven Schmitt --- drivers/soc/imx/gpc.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/soc/imx/gpc.c b/drivers/soc/imx/gpc.c index 35cc1d2dc4d5..6618ff1eaebd 100644 --- a/drivers/soc/imx/gpc.c

[PATCH v3 1/3] soc: imx: gpc: fix PDN delay

2018-07-24 Thread Sven Schmitt
imx6_pm_domain_power_off() reads iso and iso2sw from GPC_PGC_PUPSCR_OFFS which stores the power up delays. So use GPC_PGC_PDNSCR_OFFS for the correct delays. Signed-off-by: Sven Schmitt --- drivers/soc/imx/gpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc

[PATCH v3 3/3] soc: imx: gpc: use GPC_PGC_DOMAIN_* indexes

2018-07-24 Thread Sven Schmitt
Use GPC_PGC_DOMAIN_* indexes consistent. Signed-off-by: Sven Schmitt --- drivers/soc/imx/gpc.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/soc/imx/gpc.c b/drivers/soc/imx/gpc.c index 35cc1d2dc4d5..6618ff1eaebd 100644 --- a/drivers/soc/imx/gpc.c

[PATCH v3 1/3] soc: imx: gpc: fix PDN delay

2018-07-24 Thread Sven Schmitt
imx6_pm_domain_power_off() reads iso and iso2sw from GPC_PGC_PUPSCR_OFFS which stores the power up delays. So use GPC_PGC_PDNSCR_OFFS for the correct delays. Signed-off-by: Sven Schmitt --- drivers/soc/imx/gpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc