[PATCH v6 1/3] PCI: rockchip: Add support for pcie wake irq

jeffy jeffy.chen at rock-chips.com
Thu Oct 19 04:19:57 PDT 2017


Hi guys,

On 10/18/2017 09:29 PM, Bjorn Helgaas wrote:
>> >
>> >I guess it could work to look into pci_create_root_bus(), and
>> >do something like the following?
>> >
>> >	if (IS_ENABLED(CONFIG_OF) && parent && parent->of_node)
>> >		... do OF parsing for generic features like WAKE# ...
> That's exactly the sort of thing I was thinking.
>
i was looking at that too, but i'm not very clear about how to handle 
the platform_ops's set_wakeup...






More information about the Linux-rockchip mailing list