Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1980eb9b authored by Jaedon Shin's avatar Jaedon Shin Committed by Tejun Heo
Browse files

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: default avatarJaedon Shin <jaedon.shin@gmail.com>
Tested-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Acked-by: default avatarBrian Norris <computersforpeace@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent dfcdc5fe
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -4,7 +4,9 @@ SATA nodes are defined to describe on-chip Serial ATA controllers.
Each SATA controller should have its own node.
Each SATA controller should have its own node.


Required properties:
Required properties:
- compatible         : compatible list, may contain "brcm,bcm7445-ahci" and/or
- compatible         : should be one or more of
                       "brcm,bcm7425-ahci"
                       "brcm,bcm7445-ahci"
                       "brcm,sata3-ahci"
                       "brcm,sata3-ahci"
- reg                : register mappings for AHCI and SATA_TOP_CTRL
- reg                : register mappings for AHCI and SATA_TOP_CTRL
- reg-names          : "ahci" and "top-ctrl"
- reg-names          : "ahci" and "top-ctrl"
+1 −1
Original line number Original line Diff line number Diff line
@@ -100,7 +100,7 @@ config SATA_AHCI_PLATFORM


config AHCI_BRCMSTB
config AHCI_BRCMSTB
	tristate "Broadcom STB AHCI SATA support"
	tristate "Broadcom STB AHCI SATA support"
	depends on ARCH_BRCMSTB
	depends on ARCH_BRCMSTB || BMIPS_GENERIC
	help
	help
	  This option enables support for the AHCI SATA3 controller found on
	  This option enables support for the AHCI SATA3 controller found on
	  STB SoC's.
	  STB SoC's.
+1 −0
Original line number Original line Diff line number Diff line
@@ -318,6 +318,7 @@ static int brcm_ahci_remove(struct platform_device *pdev)
}
}


static const struct of_device_id ahci_of_match[] = {
static const struct of_device_id ahci_of_match[] = {
	{.compatible = "brcm,bcm7425-ahci"},
	{.compatible = "brcm,bcm7445-ahci"},
	{.compatible = "brcm,bcm7445-ahci"},
	{},
	{},
};
};