mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] GPCv2 power domain support
@ 2017-01-26 21:56 Andrey Smirnov
       [not found] ` <20170126215609.4272-3-andrew.smirnov@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Smirnov @ 2017-01-26 21:56 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrey Smirnov, yurovsky, Thomas Gleixner, Jason Cooper,
	Marc Zyngier, Shawn Guo

Hi everyone,

This patchset adds code for basic power domain subsystem integration
of GPCv2 IP block (found on i.MX7) as well as a couple of small
related changes.

This code is developed as a part of ongoing effort to upstream i.MX7
PCIe support, full source code of which is avalible here:

https://github.com/ndreys/linux/tree/imx7d/pcie-support-v2

I am not sure if including patch 3/4 in this series was a right
decision(it seems to belong more to i.MX tree), but, at the same time,
I was not sure how to proceed any other way given it's dependency on
patch 2/4. If there's any better way to handle the situation, please
let me know and I'd be more than happy to accomodate.

Thanks,
Andrey Smirnov

Andrey Smirnov (4):
  drivers/irqchip: Enable IMX_GPCV2 on i.MX7 by default
  irqchip: Add IRQCHIP_DECLARE_DRIVER macro
  i.MX: GPC: Use IRQCHIP_DECLARE_DRIVER
  irqchip/imx-gpcv2: Add power domain support

 .../devicetree/bindings/power/fsl,imx-gpcv2.txt    |  63 ++++++
 arch/arm/mach-imx/gpc.c                            |   2 +-
 drivers/irqchip/Kconfig                            |   2 +-
 drivers/irqchip/irq-imx-gpcv2.c                    | 239 ++++++++++++++++++++-
 include/dt-bindings/power/imx7-power.h             |  18 ++
 include/linux/irqchip.h                            |  16 ++
 6 files changed, 337 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt
 create mode 100644 include/dt-bindings/power/imx7-power.h

-- 
2.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH 1/4] drivers/irqchip: Enable IMX_GPCV2 on i.MX7 by default
@ 2017-01-26 22:05 Andrey Smirnov
  2017-01-26 22:05 ` [PATCH 2/4] irqchip: Add IRQCHIP_DECLARE_DRIVER macro Andrey Smirnov
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Smirnov @ 2017-01-26 22:05 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrey Smirnov, yurovsky, Thomas Gleixner, Jason Cooper,
	Marc Zyngier, Shawn Guo

Cc: yurovsky@gmail.com
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index ae96731..d271cc3 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -250,7 +250,7 @@ config RENESAS_H8S_INTC
 	select IRQ_DOMAIN
 
 config IMX_GPCV2
-	bool
+	def_bool y if SOC_IMX7D
 	select IRQ_DOMAIN
 	help
 	  Enables the wakeup IRQs for IMX platforms with GPCv2 block
-- 
2.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-30 11:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-26 21:56 [PATCH 0/4] GPCv2 power domain support Andrey Smirnov
     [not found] ` <20170126215609.4272-3-andrew.smirnov@gmail.com>
     [not found]   ` <a7469257-8444-09a8-ac0c-d1c39c1b4c26@arm.com>
2017-01-27 18:13     ` [PATCH 2/4] irqchip: Add IRQCHIP_DECLARE_DRIVER macro Andrey Smirnov
2017-01-30 11:25       ` Marc Zyngier
2017-01-26 22:05 [PATCH 1/4] drivers/irqchip: Enable IMX_GPCV2 on i.MX7 by default Andrey Smirnov
2017-01-26 22:05 ` [PATCH 2/4] irqchip: Add IRQCHIP_DECLARE_DRIVER macro Andrey Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®