On Wednesday 05 November 2014 20:32:27 al.stone@linaro.org wrote:
From: Suravee Suthikulpanit Suravee.Suthikulpanit@amd.com
This patch adds ACPI support for non-PCI SATA contoller in ahci_platform driver. It adds ACPI matching table in ahci_platform to support AMD Seattle SATA controller with following ASL structure in DSDT:
Device (SATA0) { Name(_HID, "AMDI0600") // Seattle AHSATA Name (_CCA, 1) // Cache-coherent controller Name (_CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0xE0300000, 0x00010000) Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,,,) { 387 } }) }
Since ATA driver should not require PCI support for ATA_ACPI, this patch also removes dependency in the driver/ata/Kconfig.
Signed-off-by: Suravee Suthikulpanit Suravee.Suthikulpanit@amd.com
Question: is this DSDT structure specified somewhere? The AHCI specification requires a PCI bus, but I expect that other SoCs will do the same thing as Seattle, and it would be a shame if they came up with a different representation.
Arnd