[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <59F29566.4080806@rock-chips.com>
Date: Fri, 27 Oct 2017 10:09:42 +0800
From: jeffy <jeffy.chen@...k-chips.com>
To: Sinan Kaya <okaya@...eaurora.org>, linux-kernel@...r.kernel.org,
bhelgaas@...gle.com
CC: linux-pm@...r.kernel.org, tony@...mide.com,
shawn.lin@...k-chips.com, briannorris@...omium.org,
rjw@...ysocki.net, dianders@...omium.org, linux-pci@...r.kernel.org
Subject: Re: [RFC PATCH v8 7/7] PCI / PM: Add support for the PCIe WAKE# signal
for OF
Hi Sinan,
Thanks for your reply.
On 10/26/2017 11:16 PM, Sinan Kaya wrote:
> If the intention is to push this to pci directory, this code needs to be made
> platform agnostic by splitting into two pieces.
>
> I think you can make this code common by abstracting the IRQ number and
> have some generic code like pci-wake.c in pci directory without the of prefix
> in this file.
>
> Then, you can have some other OF specific code in the drivers/of directory
> that reads the IRQ from OF and calls the common code in PCI directory.
right, that make sense to me...i'll wait for Brian & Bjorn & Rafael's
opinions, then start rewriting these, thanks :)
Powered by blists - more mailing lists