linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PCI: armada8k: Fix clock resource for Armada 7K/8K
@ 2018-02-28 16:35 Gregory CLEMENT
  2018-02-28 16:35 ` [PATCH v2 1/2] PCI: armada8k: Remove useless test before clk_disable_unprepare Gregory CLEMENT
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2018-02-28 16:35 UTC (permalink / raw)
  To: Bjorn Helgaas, Lorenzo Pieralisi, Thomas Petazzoni, linux-pci
  Cc: Jason Cooper, Andrew Lunn, Sebastian Hesselbarth, Gregory CLEMENT,
	linux-arm-kernel, Antoine Tenart, Miquèl Raynal,
	Nadav Haklai, Shadi Ammouri, Omri Itach, Hanna Hawa,
	Igal Liberman, Marcin Wojtas

Hi,

This short series fixes the way the clocks are used for the PCIe host
controller embedded in the Marvell Armada 7K/8K SoCs. On these SoCs a
second one is needed in order to clock the registers. It was not
noticed until now because we relied on the bootloader and also because
the clock driver was wrong.

Thanks to this fix, it would be possible to fix the clock driver
without introducing a regression.

The first patch is just a small cleanup found when I wrote the main
patch.

Changelog:
v1 -> v2:

 - Removed a unneeded new line in the binding documentation, pointed
   by Thomas Petazzoni.

 - Added a new line in driver code, pointed by Thomas Petazzoni.

 - Managed the failure of clk_prepare_enable for the clk_reg in a
   separate case, pointed by Thomas Petazzoni.

 - Simplified the -EPROBE_DEFER case for the clk_reg, suggested by
   Russell King

 - Added backed the line getting the reg clock that disappeared in the
   first version.

Gregory CLEMENT (2):
  PCI: armada8k: Remove useless test before clk_disable_unprepare
  PCI: armada8k: Fix clock resource by adding a register clock

 .../devicetree/bindings/pci/pci-armada8k.txt        |  5 ++++-
 drivers/pci/dwc/pcie-armada8k.c                     | 21 +++++++++++++++++----
 2 files changed, 21 insertions(+), 5 deletions(-)

-- 
2.16.1

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

end of thread, other threads:[~2018-03-08 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-28 16:35 [PATCH v2 0/2] PCI: armada8k: Fix clock resource for Armada 7K/8K Gregory CLEMENT
2018-02-28 16:35 ` [PATCH v2 1/2] PCI: armada8k: Remove useless test before clk_disable_unprepare Gregory CLEMENT
2018-02-28 16:35 ` [PATCH v2 2/2] PCI: armada8k: Fix clock resource by adding a register clock Gregory CLEMENT
2018-03-08 15:34 ` [PATCH v2 0/2] PCI: armada8k: Fix clock resource for Armada 7K/8K 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).