From: Brian Norris <computersforpeace@gmail.com>
To: Jaedon Shin <jaedon.shin@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>,
Tejun Heo <tj@kernel.org>, Kishon Vijay Abraham I <kishon@ti.com>,
Ralf Baechle <ralf@linux-mips.org>,
Rob Herring <robh+dt@kernel.org>,
Kevin Cernekee <cernekee@gmail.com>,
Dragan Stancevic <dragan.stancevic@gmail.com>,
linux-ide@vger.kernel.org, Linux-MIPS <linux-mips@linux-mips.org>,
devicetree@vger.kernel.org
Subject: Re: [v2 02/10] ata: ahci_brcmstb: add support MIPS-based platforms
Date: Tue, 27 Oct 2015 09:35:03 -0700 [thread overview]
Message-ID: <20151027163503.GR13239@google.com> (raw)
In-Reply-To: <1445928491-7320-3-git-send-email-jaedon.shin@gmail.com>
On Tue, Oct 27, 2015 at 03:48:03PM +0900, Jaedon Shin wrote:
> The BCM7xxx ARM-based and MIPS-based platforms share a similar hardware
> block for AHCI SATA3.
>
> The BCM7425 is flagship chipset of 40nm class. Other MIPS-based 40nm
> chipsets has same hardware block. so the compatible string may be use
> brcm,bcm7425-ahci.
>
> Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
> ---
> Documentation/devicetree/bindings/ata/brcm,sata-brcmstb.txt | 4 ++--
> drivers/ata/Kconfig | 2 +-
> drivers/ata/ahci_brcmstb.c | 1 +
> 3 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/ata/brcm,sata-brcmstb.txt b/Documentation/devicetree/bindings/ata/brcm,sata-brcmstb.txt
> index 4650c0aff6b3..488a383ce202 100644
> --- a/Documentation/devicetree/bindings/ata/brcm,sata-brcmstb.txt
> +++ b/Documentation/devicetree/bindings/ata/brcm,sata-brcmstb.txt
> @@ -4,8 +4,8 @@ SATA nodes are defined to describe on-chip Serial ATA controllers.
> Each SATA controller should have its own node.
>
> Required properties:
> -- compatible : compatible list, may contain "brcm,bcm7445-ahci" and/or
> - "brcm,sata3-ahci"
> +- compatible : compatible list, may contain "brcm,bcm7445-ahci" or
> + "brcm,bcm7425-ahci" or "brcm,sata3-ahci"
If you're going to spin this series anyway, you might as well turn this
into a list, with one compatible string per line. That way it's easier
to expand if needed.
Brian
> - reg : register mappings for AHCI and SATA_TOP_CTRL
> - reg-names : "ahci" and "top-ctrl"
> - interrupts : interrupt mapping for SATA IRQ
> diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
> index 15e40ee62a94..8f535a88a0c7 100644
> --- a/drivers/ata/Kconfig
> +++ b/drivers/ata/Kconfig
> @@ -100,7 +100,7 @@ config SATA_AHCI_PLATFORM
>
> config AHCI_BRCMSTB
> tristate "Broadcom STB AHCI SATA support"
> - depends on ARCH_BRCMSTB
> + depends on ARCH_BRCMSTB || BMIPS_GENERIC
> help
> This option enables support for the AHCI SATA3 controller found on
> STB SoC's.
> diff --git a/drivers/ata/ahci_brcmstb.c b/drivers/ata/ahci_brcmstb.c
> index a2df76698adb..e53962cb48ee 100644
> --- a/drivers/ata/ahci_brcmstb.c
> +++ b/drivers/ata/ahci_brcmstb.c
> @@ -343,6 +343,7 @@ static int brcm_ahci_remove(struct platform_device *pdev)
>
> static const struct of_device_id ahci_of_match[] = {
> {.compatible = "brcm,bcm7445-ahci"},
> + {.compatible = "brcm,bcm7425-ahci"},
> {},
> };
> MODULE_DEVICE_TABLE(of, ahci_of_match);
> --
> 2.6.2
>
next prev parent reply other threads:[~2015-10-27 16:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-27 6:48 [v2 00/10] add support SATA for BMIPS_GENERIC Jaedon Shin
2015-10-27 6:48 ` [v2 01/10] ata: ahci_brcmstb: add quick for broken ncq Jaedon Shin
2015-10-27 15:46 ` Florian Fainelli
2015-10-27 6:48 ` [v2 02/10] ata: ahci_brcmstb: add support MIPS-based platforms Jaedon Shin
2015-10-27 16:35 ` Brian Norris [this message]
2015-10-27 6:48 ` [v2 03/10] ata: ahci_brcmstb: add quick for broken phy Jaedon Shin
2015-10-27 8:17 ` Rob Herring
2015-10-27 9:55 ` Jaedon Shin
2015-10-27 15:54 ` Florian Fainelli
2015-10-27 6:48 ` [v2 04/10] ata: ahci_brcmstb: remove unused definitions Jaedon Shin
2015-10-27 6:48 ` [v2 05/10] phy: phy_brcmstb_sata: remove duplicate definitions Jaedon Shin
2015-10-27 6:48 ` [v2 06/10] phy: phy_brcmstb_sata: add data for phy version Jaedon Shin
2015-10-31 15:20 ` Arnd Bergmann
2015-10-27 6:48 ` [v2 07/10] phy: phy_brcmstb_sata: add support MIPS-based platforms Jaedon Shin
2015-10-27 19:28 ` Rob Herring
2015-10-27 6:48 ` [v2 08/10] MIPS: BMIPS: brcmstb: add SATA/PHY nodes for bcm7425 Jaedon Shin
2015-10-27 6:48 ` [v2 09/10] MIPS: BMIPS: brcmstb: add SATA/PHY nodes for bcm7346 Jaedon Shin
2015-10-27 6:48 ` [v2 10/10] MIPS: BMIPS: brcmstb: add SATA/PHY nodes for bcm7362 Jaedon Shin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151027163503.GR13239@google.com \
--to=computersforpeace@gmail.com \
--cc=cernekee@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dragan.stancevic@gmail.com \
--cc=f.fainelli@gmail.com \
--cc=jaedon.shin@gmail.com \
--cc=kishon@ti.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--cc=robh+dt@kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox