forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-4.6' of git://git.kernel.org/pub/scm/linux/kernel/g…
…it/tj/libata Pull libata updates from Tejun Heo: - ahci grew runtime power management support so that the controller can be turned off if no devices are attached. - sata_via isn't dead yet. It got hotplug support and more refined workaround for certain WD drives. - Misc cleanups. There's a merge from for-4.5-fixes to avoid confusing conflicts in ahci PCI ID table. * 'for-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata: ata: ahci_xgene: dereferencing uninitialized pointer in probe AHCI: Remove obsolete Intel Lewisburg SATA RAID device IDs ata: sata_rcar: Use ARCH_RENESAS sata_via: Implement hotplug for VT6421 sata_via: Apply WD workaround only when needed on VT6421 ahci: Add runtime PM support for the host controller ahci: Add functions to manage runtime PM of AHCI ports ahci: Convert driver to use modern PM hooks ahci: Cache host controller version scsi: Drop runtime PM usage count after host is added scsi: Set request queue runtime PM status back to active on resume block: Add blk_set_runtime_active() ata: ahci_mvebu: add support for Armada 3700 variant libata: fix unbalanced spin_lock_irqsave/spin_unlock_irq() in ata_scsi_park_show() libata: support AHCI on OCTEON platform
- Loading branch information
Showing
18 changed files
with
475 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
Documentation/devicetree/bindings/mips/cavium/sata-uctl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
* UCTL SATA controller glue | ||
|
||
UCTL is the bridge unit between the I/O interconnect (an internal bus) | ||
and the SATA AHCI host controller (UAHC). It performs the following functions: | ||
- provides interfaces for the applications to access the UAHC AHCI | ||
registers on the CN71XX I/O space. | ||
- provides a bridge for UAHC to fetch AHCI command table entries and data | ||
buffers from Level 2 Cache. | ||
- posts interrupts to the CIU. | ||
- contains registers that: | ||
- control the behavior of the UAHC | ||
- control the clock/reset generation to UAHC | ||
- control endian swapping for all UAHC registers and DMA accesses | ||
|
||
Properties: | ||
|
||
- compatible: "cavium,octeon-7130-sata-uctl" | ||
|
||
Compatibility with the cn7130 SOC. | ||
|
||
- reg: The base address of the UCTL register bank. | ||
|
||
- #address-cells, #size-cells, ranges and dma-ranges must be present and hold | ||
suitable values to map all child nodes. | ||
|
||
Example: | ||
|
||
uctl@118006c000000 { | ||
compatible = "cavium,octeon-7130-sata-uctl"; | ||
reg = <0x11800 0x6c000000 0x0 0x100>; | ||
ranges; /* Direct mapping */ | ||
dma-ranges; | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
|
||
sata: sata@16c0000000000 { | ||
compatible = "cavium,octeon-7130-ahci"; | ||
reg = <0x16c00 0x00000000 0x0 0x200>; | ||
interrupt-parent = <&cibsata>; | ||
interrupts = <2 4>; /* Bit: 2, level */ | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.