linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] implement gpio_pci_platform_pm to put pci device into D3cold
@ 2016-06-12 12:32 Jisheng Zhang
  2016-06-13 17:11 ` Lorenzo Pieralisi
  0 siblings, 1 reply; 2+ messages in thread
From: Jisheng Zhang @ 2016-06-12 12:32 UTC (permalink / raw)
  To: Bjorn Helgaas, Lorenzo Pieralisi, Catalin Marinas, Will Deacon,
	linux-arm-kernel, linux-pci, Arnd Bergmann

Dear all,

I want to solve one problem: we have pcie in a DT based arm64 system, now we
want to put the device into D3cold when runtime suspended. The pcie
device could be power down by operating one gpio pin, this is the D3cold the
platform could support. 

My solution is to register a gpio_pci_platform_pm with pci_set_platform_pm()
but the key is how to setup a mapping between pci_dev and gpio through DT

I think this is a general case, could you please kindly give some suggestions?

Thanks,
Jisheng

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2016-06-13 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-12 12:32 [RFC] implement gpio_pci_platform_pm to put pci device into D3cold Jisheng Zhang
2016-06-13 17:11 ` Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).