devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ata: libahci: Allow using a regulator for each port
@ 2014-12-27 10:34 Gregory CLEMENT
  2014-12-27 10:34 ` [PATCH 1/3] ata: libahci: Clean-up the ahci_platform_en/disable_phys functions Gregory CLEMENT
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Gregory CLEMENT @ 2014-12-27 10:34 UTC (permalink / raw)
  To: Tejun Heo, Hans de Goede, linux-ide-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Antoine Ténart, Thomas Petazzoni, Ezequiel Garcia,
	Maxime Ripard, Boris BREZILLON, Lior Amsalem, Tawfik Bayouk,
	Nadav Haklai, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA,
	Gregory CLEMENT

Hi,

The current implementation of the libahci allows using one PHY per
port but we still have one single regulator for the whole
controller. This series adds the support of multiple regulators. Until
now it was mandatory to have a PHY under a subnode, now a port subnode
can contain either a regulator or a PHY (or both).

While I was working on it I also did a small clean-up, it is the
purpose of the 1st patch.

The main patch of the series (the 3rd one) also depends of a patch of
the regulator framework that I submitted yesterday: "regulator: core:
Add the device tree version to the regulator_get family",
https://lkml.org/lkml/2014/12/26/155

I refactored the PHY support in the same time, so I would like to have
a feedback from the Berlin platform to ensure that no regressions was
introduced.

Thanks,

Grégory


Gregory CLEMENT (3):
  ata: libahci: Clean-up the ahci_platform_en/disable_phys functions
  Documentation: bindings: Add the regulator property to the sub-nodes
    AHCI bindings
  ata: libahci: Allow to use multiple regulators

 .../devicetree/bindings/ata/ahci-platform.txt      |   3 +-
 drivers/ata/ahci.h                                 |   2 +-
 drivers/ata/ahci_imx.c                             |  14 +-
 drivers/ata/libahci_platform.c                     | 212 ++++++++++++++-------
 include/linux/ahci_platform.h                      |   2 +
 5 files changed, 153 insertions(+), 80 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-01-06 18:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-27 10:34 [PATCH 0/3] ata: libahci: Allow using a regulator for each port Gregory CLEMENT
2014-12-27 10:34 ` [PATCH 1/3] ata: libahci: Clean-up the ahci_platform_en/disable_phys functions Gregory CLEMENT
2014-12-27 10:34 ` [PATCH 2/3] Documentation: bindings: Add the regulator property to the sub-nodes AHCI bindings Gregory CLEMENT
2014-12-27 10:34 ` [PATCH 3/3] ata: libahci: Allow to use multiple regulators Gregory CLEMENT
2014-12-27 12:58   ` Hans de Goede
2014-12-27 13:06     ` Hans de Goede
     [not found]     ` <549EAD01.9070608-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-01-06 18:12       ` Gregory CLEMENT

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