]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: OMAP4: PRM: Remove hardcoding of PRM_IO_PMCTRL_OFFSET register
authorKeerthy <j-keerthy@ti.com>
Thu, 16 Jul 2015 11:53:16 +0000 (17:23 +0530)
committerPaul Walmsley <paul@pwsan.com>
Thu, 23 Jul 2015 11:27:00 +0000 (05:27 -0600)
commitfac03f12f8d86f349a3b3992ae9d59a53bc250f6
treee60b1ee6f49f8872fa7a635b8c3bbb8b8a555eda
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
ARM: OMAP4: PRM: Remove hardcoding of PRM_IO_PMCTRL_OFFSET register

PRM_IO_PMCTRL_OFFSET need not be same for all SOCs hence
remove hardcoding and use the value provided by the omap_prcm_irq_setup
structure. This is done to support IO wakeup on am437x series.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/prcm-common.h
arch/arm/mach-omap2/prm44xx.c