[PATCH 0/3] ata: libahci: Allow using a regulator for each port
From: Gregory CLEMENT
Date: Sat Dec 27 2014 - 05:35:40 EST
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 linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/