* [PATCH] ahci: add DT binding for Calxeda AHCI controller
@ 2011-09-02 15:10 Rob Herring
2011-10-04 2:30 ` Rob Herring
2011-10-04 17:59 ` Grant Likely
0 siblings, 2 replies; 5+ messages in thread
From: Rob Herring @ 2011-09-02 15:10 UTC (permalink / raw)
To: linux-ide; +Cc: Rob Herring, Jeff Garzik, linux-kernel, devicetree-discuss
From: Rob Herring <rob.herring@calxeda.com>
Add devicetree match table to ahci platform driver for Calxeda Highbank
AHCI controller.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-ide@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
---
.../devicetree/bindings/ata/calxeda-sata.txt | 17 +++++++++++++++++
drivers/ata/ahci_platform.c | 7 +++++++
2 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/ata/calxeda-sata.txt
diff --git a/Documentation/devicetree/bindings/ata/calxeda-sata.txt b/Documentation/devicetree/bindings/ata/calxeda-sata.txt
new file mode 100644
index 0000000..79caa56
--- /dev/null
+++ b/Documentation/devicetree/bindings/ata/calxeda-sata.txt
@@ -0,0 +1,17 @@
+* Calxeda SATA Controller
+
+SATA nodes are defined to describe on-chip Serial ATA controllers.
+Each SATA controller should have its own node.
+
+Required properties:
+- compatible : compatible list, contains "calxeda,hb-ahci"
+- interrupts : <interrupt mapping for SATA IRQ>
+- reg : <registers mapping>
+
+Example:
+ sata@ffe08000 {
+ compatible = "calxeda,hb-ahci";
+ reg = <0xffe08000 0x1000>;
+ interrupts = <115>;
+ };
+
diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
index 6fef1fa..9bfc970 100644
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -171,11 +171,18 @@ static int __devexit ahci_remove(struct platform_device *pdev)
return 0;
}
+static const struct of_device_id ahci_of_match[] = {
+ { .compatible = "calxeda,hb-ahci", },
+ {},
+};
+MODULE_DEVICE_TABLE(of, ahci_of_match);
+
static struct platform_driver ahci_driver = {
.remove = __devexit_p(ahci_remove),
.driver = {
.name = "ahci",
.owner = THIS_MODULE,
+ .of_match_table = ahci_of_match,
},
};
--
1.7.5.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ahci: add DT binding for Calxeda AHCI controller
2011-09-02 15:10 [PATCH] ahci: add DT binding for Calxeda AHCI controller Rob Herring
@ 2011-10-04 2:30 ` Rob Herring
2011-10-24 14:20 ` Rob Herring
2011-10-04 17:59 ` Grant Likely
1 sibling, 1 reply; 5+ messages in thread
From: Rob Herring @ 2011-10-04 2:30 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide, linux-kernel, devicetree-discuss
On 09/02/2011 10:10 AM, Rob Herring wrote:
> From: Rob Herring <rob.herring@calxeda.com>
>
> Add devicetree match table to ahci platform driver for Calxeda Highbank
> AHCI controller.
>
> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
> Cc: Jeff Garzik <jgarzik@pobox.com>
> Cc: linux-ide@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: devicetree-discuss@lists.ozlabs.org
> ---
Any comments on this?
Rob
> .../devicetree/bindings/ata/calxeda-sata.txt | 17 +++++++++++++++++
> drivers/ata/ahci_platform.c | 7 +++++++
> 2 files changed, 24 insertions(+), 0 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/ata/calxeda-sata.txt
>
> diff --git a/Documentation/devicetree/bindings/ata/calxeda-sata.txt b/Documentation/devicetree/bindings/ata/calxeda-sata.txt
> new file mode 100644
> index 0000000..79caa56
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/ata/calxeda-sata.txt
> @@ -0,0 +1,17 @@
> +* Calxeda SATA Controller
> +
> +SATA nodes are defined to describe on-chip Serial ATA controllers.
> +Each SATA controller should have its own node.
> +
> +Required properties:
> +- compatible : compatible list, contains "calxeda,hb-ahci"
> +- interrupts : <interrupt mapping for SATA IRQ>
> +- reg : <registers mapping>
> +
> +Example:
> + sata@ffe08000 {
> + compatible = "calxeda,hb-ahci";
> + reg = <0xffe08000 0x1000>;
> + interrupts = <115>;
> + };
> +
> diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
> index 6fef1fa..9bfc970 100644
> --- a/drivers/ata/ahci_platform.c
> +++ b/drivers/ata/ahci_platform.c
> @@ -171,11 +171,18 @@ static int __devexit ahci_remove(struct platform_device *pdev)
> return 0;
> }
>
> +static const struct of_device_id ahci_of_match[] = {
> + { .compatible = "calxeda,hb-ahci", },
> + {},
> +};
> +MODULE_DEVICE_TABLE(of, ahci_of_match);
> +
> static struct platform_driver ahci_driver = {
> .remove = __devexit_p(ahci_remove),
> .driver = {
> .name = "ahci",
> .owner = THIS_MODULE,
> + .of_match_table = ahci_of_match,
> },
> };
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ahci: add DT binding for Calxeda AHCI controller
2011-09-02 15:10 [PATCH] ahci: add DT binding for Calxeda AHCI controller Rob Herring
2011-10-04 2:30 ` Rob Herring
@ 2011-10-04 17:59 ` Grant Likely
1 sibling, 0 replies; 5+ messages in thread
From: Grant Likely @ 2011-10-04 17:59 UTC (permalink / raw)
To: Rob Herring
Cc: linux-ide, Rob Herring, Jeff Garzik, linux-kernel, devicetree-discuss
On Fri, Sep 02, 2011 at 10:10:15AM -0500, Rob Herring wrote:
> From: Rob Herring <rob.herring@calxeda.com>
>
> Add devicetree match table to ahci platform driver for Calxeda Highbank
> AHCI controller.
>
> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
> Cc: Jeff Garzik <jgarzik@pobox.com>
> Cc: linux-ide@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: devicetree-discuss@lists.ozlabs.org
Acked-by: Grant Likely <grant.likely@secretlab.ca>
> ---
> .../devicetree/bindings/ata/calxeda-sata.txt | 17 +++++++++++++++++
> drivers/ata/ahci_platform.c | 7 +++++++
> 2 files changed, 24 insertions(+), 0 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/ata/calxeda-sata.txt
>
> diff --git a/Documentation/devicetree/bindings/ata/calxeda-sata.txt b/Documentation/devicetree/bindings/ata/calxeda-sata.txt
> new file mode 100644
> index 0000000..79caa56
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/ata/calxeda-sata.txt
> @@ -0,0 +1,17 @@
> +* Calxeda SATA Controller
> +
> +SATA nodes are defined to describe on-chip Serial ATA controllers.
> +Each SATA controller should have its own node.
> +
> +Required properties:
> +- compatible : compatible list, contains "calxeda,hb-ahci"
> +- interrupts : <interrupt mapping for SATA IRQ>
> +- reg : <registers mapping>
> +
> +Example:
> + sata@ffe08000 {
> + compatible = "calxeda,hb-ahci";
> + reg = <0xffe08000 0x1000>;
> + interrupts = <115>;
> + };
> +
> diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
> index 6fef1fa..9bfc970 100644
> --- a/drivers/ata/ahci_platform.c
> +++ b/drivers/ata/ahci_platform.c
> @@ -171,11 +171,18 @@ static int __devexit ahci_remove(struct platform_device *pdev)
> return 0;
> }
>
> +static const struct of_device_id ahci_of_match[] = {
> + { .compatible = "calxeda,hb-ahci", },
> + {},
> +};
> +MODULE_DEVICE_TABLE(of, ahci_of_match);
> +
> static struct platform_driver ahci_driver = {
> .remove = __devexit_p(ahci_remove),
> .driver = {
> .name = "ahci",
> .owner = THIS_MODULE,
> + .of_match_table = ahci_of_match,
> },
> };
>
> --
> 1.7.5.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ahci: add DT binding for Calxeda AHCI controller
2011-10-04 2:30 ` Rob Herring
@ 2011-10-24 14:20 ` Rob Herring
2011-11-03 13:10 ` Rob Herring
0 siblings, 1 reply; 5+ messages in thread
From: Rob Herring @ 2011-10-24 14:20 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide, linux-kernel, devicetree-discuss
Jeff,
On 10/03/2011 09:30 PM, Rob Herring wrote:
> On 09/02/2011 10:10 AM, Rob Herring wrote:
>> From: Rob Herring <rob.herring@calxeda.com>
>>
>> Add devicetree match table to ahci platform driver for Calxeda Highbank
>> AHCI controller.
>>
>> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
>> Cc: Jeff Garzik <jgarzik@pobox.com>
>> Cc: linux-ide@vger.kernel.org
>> Cc: linux-kernel@vger.kernel.org
>> Cc: devicetree-discuss@lists.ozlabs.org
>> ---
>
> Any comments on this?
>
Ping.
Can you please apply this for 3.2.
Regards,
Rob
>> .../devicetree/bindings/ata/calxeda-sata.txt | 17 +++++++++++++++++
>> drivers/ata/ahci_platform.c | 7 +++++++
>> 2 files changed, 24 insertions(+), 0 deletions(-)
>> create mode 100644 Documentation/devicetree/bindings/ata/calxeda-sata.txt
>>
>> diff --git a/Documentation/devicetree/bindings/ata/calxeda-sata.txt b/Documentation/devicetree/bindings/ata/calxeda-sata.txt
>> new file mode 100644
>> index 0000000..79caa56
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/ata/calxeda-sata.txt
>> @@ -0,0 +1,17 @@
>> +* Calxeda SATA Controller
>> +
>> +SATA nodes are defined to describe on-chip Serial ATA controllers.
>> +Each SATA controller should have its own node.
>> +
>> +Required properties:
>> +- compatible : compatible list, contains "calxeda,hb-ahci"
>> +- interrupts : <interrupt mapping for SATA IRQ>
>> +- reg : <registers mapping>
>> +
>> +Example:
>> + sata@ffe08000 {
>> + compatible = "calxeda,hb-ahci";
>> + reg = <0xffe08000 0x1000>;
>> + interrupts = <115>;
>> + };
>> +
>> diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
>> index 6fef1fa..9bfc970 100644
>> --- a/drivers/ata/ahci_platform.c
>> +++ b/drivers/ata/ahci_platform.c
>> @@ -171,11 +171,18 @@ static int __devexit ahci_remove(struct platform_device *pdev)
>> return 0;
>> }
>>
>> +static const struct of_device_id ahci_of_match[] = {
>> + { .compatible = "calxeda,hb-ahci", },
>> + {},
>> +};
>> +MODULE_DEVICE_TABLE(of, ahci_of_match);
>> +
>> static struct platform_driver ahci_driver = {
>> .remove = __devexit_p(ahci_remove),
>> .driver = {
>> .name = "ahci",
>> .owner = THIS_MODULE,
>> + .of_match_table = ahci_of_match,
>> },
>> };
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ahci: add DT binding for Calxeda AHCI controller
2011-10-24 14:20 ` Rob Herring
@ 2011-11-03 13:10 ` Rob Herring
0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2011-11-03 13:10 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide, linux-kernel, devicetree-discuss
On 10/24/2011 09:20 AM, Rob Herring wrote:
> Jeff,
>
> On 10/03/2011 09:30 PM, Rob Herring wrote:
>> On 09/02/2011 10:10 AM, Rob Herring wrote:
>>> From: Rob Herring <rob.herring@calxeda.com>
>>>
>>> Add devicetree match table to ahci platform driver for Calxeda Highbank
>>> AHCI controller.
>>>
>>> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
>>> Cc: Jeff Garzik <jgarzik@pobox.com>
>>> Cc: linux-ide@vger.kernel.org
>>> Cc: linux-kernel@vger.kernel.org
>>> Cc: devicetree-discuss@lists.ozlabs.org
>>> ---
>>
>> Any comments on this?
>>
>
> Ping.
>
> Can you please apply this for 3.2.
>
Anyone out there?
Rob
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-11-03 13:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-02 15:10 [PATCH] ahci: add DT binding for Calxeda AHCI controller Rob Herring
2011-10-04 2:30 ` Rob Herring
2011-10-24 14:20 ` Rob Herring
2011-11-03 13:10 ` Rob Herring
2011-10-04 17:59 ` Grant Likely
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.