Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: ahci_brcmstb: add support for MIPS-based platforms

The BCM7xxx ARM-based and MIPS-based platforms share a similar hardware
block for AHCI SATA3.

This new compatible string, "brcm,bcm7425-ahci", may be used for most
MIPS-based platforms of 40nm process technology.

Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Jaedon Shin and committed by
Tejun Heo
1980eb9b dfcdc5fe

+5 -2
+3 -1
Documentation/devicetree/bindings/ata/brcm,sata-brcmstb.txt
··· 4 4 Each SATA controller should have its own node. 5 5 6 6 Required properties: 7 - - compatible : compatible list, may contain "brcm,bcm7445-ahci" and/or 7 + - compatible : should be one or more of 8 + "brcm,bcm7425-ahci" 9 + "brcm,bcm7445-ahci" 8 10 "brcm,sata3-ahci" 9 11 - reg : register mappings for AHCI and SATA_TOP_CTRL 10 12 - reg-names : "ahci" and "top-ctrl"
+1 -1
drivers/ata/Kconfig
··· 100 100 101 101 config AHCI_BRCMSTB 102 102 tristate "Broadcom STB AHCI SATA support" 103 - depends on ARCH_BRCMSTB 103 + depends on ARCH_BRCMSTB || BMIPS_GENERIC 104 104 help 105 105 This option enables support for the AHCI SATA3 controller found on 106 106 STB SoC's.
+1
drivers/ata/ahci_brcmstb.c
··· 318 318 } 319 319 320 320 static const struct of_device_id ahci_of_match[] = { 321 + {.compatible = "brcm,bcm7425-ahci"}, 321 322 {.compatible = "brcm,bcm7445-ahci"}, 322 323 {}, 323 324 };