devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] PCI: rockchip: assert PERST# in S3
@ 2017-10-12 20:52 Brian Norris
  2017-10-12 20:52 ` [PATCH 1/3] Documentation/devicetree: Add pcie-reset-suspend property Brian Norris
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Brian Norris @ 2017-10-12 20:52 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Rajat Jain, Rob Herring, Mark Rutland, Frank Rowand, Shawn Lin,
	Heiko Stuebner, linux-pci, devicetree, linux-kernel,
	linux-rockchip, linux-arm-kernel, Brian Norris

Hi,

This patch series should mostly be self-descriptive, but it's motivated by the
fact that I've found differing requirements from PCIe endpoint makers regarding
the state of PERST# when in system suspend (S3). Additionally, some existing
boards are not especially well suited for holding PERST# low in S3 (e.g., the
pin is driven by a non-PMU GPIO, so it's hard or impossible to keep it
asserted). So the solution is...give it a device tree property!

Brian

Brian Norris (3):
  Documentation/devicetree: Add pcie-reset-suspend property
  of/pci: Add of_pci_get_pcie_reset_suspend() to parse
    pcie-reset-suspend
  PCI: rockchip: Support configuring PERST# state via DT

 Documentation/devicetree/bindings/pci/pci.txt | 11 +++++++++++
 drivers/of/of_pci.c                           | 25 +++++++++++++++++++++++++
 drivers/pci/host/pcie-rockchip.c              |  7 +++++++
 include/linux/of_pci.h                        |  7 +++++++
 4 files changed, 50 insertions(+)

-- 
2.15.0.rc0.271.g36b669edcc-goog

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

end of thread, other threads:[~2017-10-18 20:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-12 20:52 [PATCH 0/3] PCI: rockchip: assert PERST# in S3 Brian Norris
2017-10-12 20:52 ` [PATCH 1/3] Documentation/devicetree: Add pcie-reset-suspend property Brian Norris
2017-10-13 16:51   ` Bjorn Helgaas
2017-10-17 23:39     ` Brian Norris
2017-10-18  0:56       ` Brian Norris
2017-10-18 16:17       ` Bjorn Helgaas
2017-10-18 20:38         ` Rob Herring
2017-10-12 20:52 ` [PATCH 2/3] of/pci: Add of_pci_get_pcie_reset_suspend() to parse pcie-reset-suspend Brian Norris
2017-10-12 20:52 ` [PATCH 3/3] PCI: rockchip: Support configuring PERST# state via DT Brian Norris
     [not found] ` <20171012205220.130048-1-briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2017-10-12 22:27   ` [PATCH 0/3] PCI: rockchip: assert PERST# in S3 Doug Anderson
2017-10-13  3:15 ` Bjorn Helgaas
2017-10-13  6:27   ` Brian Norris
2017-10-14  0:06     ` Brian Norris

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).