Re: Multi-parent IRQ domains

2018-09-17 Thread Thomas Gleixner
On Mon, 17 Sep 2018, Thierry Reding wrote: > On Mon, Sep 17, 2018 at 02:28:01PM +0200, Thomas Gleixner wrote: > > I'm not a DT wizerd, but the GPIO cannot be linked there I think. > > > > RTC ---> [ PMC domain 1] -> GIC > > > > Button --> [GPIO domain] -->

Re: Multi-parent IRQ domains

2018-09-17 Thread Thierry Reding
On Mon, Sep 17, 2018 at 02:28:01PM +0200, Thomas Gleixner wrote: > On Mon, 17 Sep 2018, Thierry Reding wrote: > > On Fri, Sep 14, 2018 at 12:31:18PM +0200, Thomas Gleixner wrote: > > > Now, you need the PMC for both, the GPIOs and the RTC. What you can do > > > here > > > is to provide two irq dom

Re: Multi-parent IRQ domains

2018-09-17 Thread Thomas Gleixner
On Mon, 17 Sep 2018, Thierry Reding wrote: > On Fri, Sep 14, 2018 at 12:31:18PM +0200, Thomas Gleixner wrote: > > Now, you need the PMC for both, the GPIOs and the RTC. What you can do here > > is to provide two irq domains in PMC. One which has GIC as its parent and > > one which has no parent. Su

Re: Multi-parent IRQ domains

2018-09-17 Thread Thierry Reding
On Fri, Sep 14, 2018 at 12:31:18PM +0200, Thomas Gleixner wrote: > On Thu, 13 Sep 2018, Thierry Reding wrote: > > I've been trying to implement a feature on recent Tegra chips that's > > called "wake events". These wake events are implemented as part of the > > power management controller (PMC) and

Re: Multi-parent IRQ domains

2018-09-14 Thread Sudeep Holla
On Thu, Sep 13, 2018 at 05:59:45PM +0200, Thierry Reding wrote: > Hi everyone, > > I've been trying to implement a feature on recent Tegra chips that's > called "wake events". By recent, is it same to assume PSCI based system ? And the GIC is power managed by PSCI ? -- Regards, Sudeep

Re: Multi-parent IRQ domains

2018-09-14 Thread Thomas Gleixner
On Thu, 13 Sep 2018, Thierry Reding wrote: > I've been trying to implement a feature on recent Tegra chips that's > called "wake events". These wake events are implemented as part of the > power management controller (PMC) and they control which events can be > used to wake the system from suspend.

Re: Multi-parent IRQ domains

2018-09-14 Thread Thierry Reding
On Thu, Sep 13, 2018 at 02:50:21PM -0700, Florian Fainelli wrote: > > > On 09/13/18 08:59, Thierry Reding wrote: > > Hi everyone, > > > > I've been trying to implement a feature on recent Tegra chips that's > > called "wake events". These wake events are implemented as part of the > > power mana

Re: Multi-parent IRQ domains

2018-09-13 Thread Florian Fainelli
On 09/13/18 08:59, Thierry Reding wrote: > Hi everyone, > > I've been trying to implement a feature on recent Tegra chips that's > called "wake events". These wake events are implemented as part of the > power management controller (PMC) and they control which events can be > used to wake the s

Multi-parent IRQ domains

2018-09-13 Thread Thierry Reding
Hi everyone, I've been trying to implement a feature on recent Tegra chips that's called "wake events". These wake events are implemented as part of the power management controller (PMC) and they control which events can be used to wake the system from suspend. Events include things like an alarm