2013-04-16 09:10:20

by Girish KS

[permalink] [raw]
Subject: [PATCH] ahci: sata: add support for exynos5440 sata

This patch adds the compatible string of the exynos5440 sata controller
compliant with the ahci 1.3 and sata 3.0 specification.

Signed-off-by: Girish K S <[email protected]>
---
drivers/ata/ahci_platform.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
index 7a8a284..c06f021 100644
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -327,6 +327,7 @@ static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_suspend, ahci_resume);

static const struct of_device_id ahci_of_match[] = {
{ .compatible = "snps,spear-ahci", },
+ { .compatible = "samsung,exynos5440-ahci", },
{},
};
MODULE_DEVICE_TABLE(of, ahci_of_match);
--
1.6.6.rc2


2013-04-16 09:13:23

by Felipe Balbi

[permalink] [raw]
Subject: Re: [PATCH] ahci: sata: add support for exynos5440 sata

Hi,

On Tue, Apr 16, 2013 at 02:40:04PM +0530, Girish K S wrote:
> This patch adds the compatible string of the exynos5440 sata controller
> compliant with the ahci 1.3 and sata 3.0 specification.
>
> Signed-off-by: Girish K S <[email protected]>
> ---
> drivers/ata/ahci_platform.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
> index 7a8a284..c06f021 100644
> --- a/drivers/ata/ahci_platform.c
> +++ b/drivers/ata/ahci_platform.c
> @@ -327,6 +327,7 @@ static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_suspend, ahci_resume);
>
> static const struct of_device_id ahci_of_match[] = {
> { .compatible = "snps,spear-ahci", },
> + { .compatible = "samsung,exynos5440-ahci", },

is this an IP designed by samsung or something you licensed from e.g
snps ? If the latter you should add:

"snps,ahci"

instead. Right ?

--
balbi


Attachments:
(No filename) (917.00 B)
signature.asc (836.00 B)
Digital signature
Download all attachments

2013-04-16 09:26:57

by Girish KS

[permalink] [raw]
Subject: Re: [PATCH] ahci: sata: add support for exynos5440 sata

On Tue, Apr 16, 2013 at 2:43 PM, Felipe Balbi <[email protected]> wrote:
> Hi,
>
> On Tue, Apr 16, 2013 at 02:40:04PM +0530, Girish K S wrote:
>> This patch adds the compatible string of the exynos5440 sata controller
>> compliant with the ahci 1.3 and sata 3.0 specification.
>>
>> Signed-off-by: Girish K S <[email protected]>
>> ---
>> drivers/ata/ahci_platform.c | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
>> index 7a8a284..c06f021 100644
>> --- a/drivers/ata/ahci_platform.c
>> +++ b/drivers/ata/ahci_platform.c
>> @@ -327,6 +327,7 @@ static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_suspend, ahci_resume);
>>
>> static const struct of_device_id ahci_of_match[] = {
>> { .compatible = "snps,spear-ahci", },
>> + { .compatible = "samsung,exynos5440-ahci", },
>
> is this an IP designed by samsung or something you licensed from e.g
> snps ? If the latter you should add:
>
> "snps,ahci"
>
> instead. Right ?
Yes right. Its a licensed IP. Thanks a lot
>
> --
> balbi