[PATCH 00/12] SATA driver for APM X-Gene board
Ike Panhc
ike.pan at canonical.com
Tue Feb 25 09:22:09 UTC 2014
The patchset is also available at
git://kernel.ubuntu.com/ikepanhc/public.git lp1282920
APM posted SATA driver from X-Gene on linux-ide ML and its based on
several new API functions introduced for SUNXi SoCs by Hans de Goede
and 5 more patches has been cherry-picked.
The SATA driver depends on PHY driver which is also cherry-picked.
There are two slight modifications to make it compile-able and work
* ahci_platform_put_resources must be exported
* new ahci_platform_put_resources need one more parameter which not used
- ahci_platform_put_resources(hpriv);
+ ahci_platform_put_resources(pdev, hpriv);
Ref: http://www.spinics.net/lists/linux-ide/msg47953.html
http://www.spinics.net/lists/linux-ide/msg47944.html
BugLink: https://bugs.launchpad.net/bugs/1282920
We have v13 patchset with only comment update and Tejun Heo has some
feedback. I will update the driver once its available.
Hans de Goede (5):
libahci: Allow drivers to override start_engine
ahci-platform: Add support for devices with more then 1 clock
ahci-platform: Add support for an optional regulator for sata-target
power
ahci-platform: Add enable_ / disable_resources helper functions
ahci-platform: "Library-ise" ahci_probe functionality
Ike Panhc (2):
UBUNTU: ahci-platform: export ahci_platform_put_resources
UBUNTU: [Config] Enable AHCI_XGENE and PHY_XGENE for arm64
Loc Ho (5):
PHY: Add function set_speed to generic PHY framework
PHY: add APM X-Gene SoC 15Gbps Multi-purpose PHY driver
arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries
ata: Add APM X-Gene SoC AHCI SATA host controller driver
arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries
.../devicetree/bindings/ata/ahci-platform.txt | 2 +
arch/arm64/boot/dts/apm-storm.dtsi | 150 ++
debian.master/config/arm64/config.common.arm64 | 4 +-
debian.master/config/config.common.ubuntu | 2 +
drivers/ata/Kconfig | 8 +
drivers/ata/Makefile | 1 +
drivers/ata/ahci.c | 6 +-
drivers/ata/ahci.h | 11 +-
drivers/ata/ahci_platform.c | 373 +++-
drivers/ata/ahci_xgene.c | 554 ++++++
drivers/ata/libahci.c | 26 +-
drivers/ata/sata_highbank.c | 3 +-
drivers/phy/Kconfig | 7 +
drivers/phy/Makefile | 2 +
drivers/phy/phy-core.c | 21 +
drivers/phy/phy-xgene.c | 1824 ++++++++++++++++++++
include/linux/ahci_platform.h | 21 +
include/linux/phy/phy.h | 8 +
18 files changed, 2924 insertions(+), 99 deletions(-)
create mode 100644 drivers/ata/ahci_xgene.c
create mode 100644 drivers/phy/phy-xgene.c
--
1.7.9.5
More information about the kernel-team
mailing list