Re: [PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-06-13 Thread Kumar Gala
On Jun 13, 2014, at 9:38 AM, Stanimir Varbanov wrote: > Hi Kumar, > >> + >> +static struct platform_driver qcom_ahci_driver = { >> +.probe = qcom_ahci_probe, >> +.remove = ata_platform_remove_one, >> +.driver = { >> +.name = "qcom_ahci_qcom", >> +.owner =

Re: [PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-06-13 Thread Stanimir Varbanov
Hi Kumar, > + > +static struct platform_driver qcom_ahci_driver = { > + .probe = qcom_ahci_probe, > + .remove = ata_platform_remove_one, > + .driver = { > + .name = "qcom_ahci_qcom", > + .owner = THIS_MODULE, > + .of_match_table =

Re: [PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-06-13 Thread Stanimir Varbanov
Hi Kumar, + +static struct platform_driver qcom_ahci_driver = { + .probe = qcom_ahci_probe, + .remove = ata_platform_remove_one, + .driver = { + .name = qcom_ahci_qcom, + .owner = THIS_MODULE, + .of_match_table = qcom_ahci_of_match, +

Re: [PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-06-13 Thread Kumar Gala
On Jun 13, 2014, at 9:38 AM, Stanimir Varbanov svarba...@mm-sol.com wrote: Hi Kumar, + +static struct platform_driver qcom_ahci_driver = { +.probe = qcom_ahci_probe, +.remove = ata_platform_remove_one, +.driver = { +.name = qcom_ahci_qcom, +.owner =

Re: [PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-06-12 Thread Kumar Gala
On Jun 12, 2014, at 2:50 PM, Stephen Boyd wrote: > On 06/12/14 12:13, Kumar Gala wrote: >> +static int qcom_ahci_probe(struct platform_device *pdev) >> +{ >> +struct ahci_host_priv *hpriv; >> +struct clk *rxoob_clk; >> +int rc; >> + >> +hpriv = ahci_platform_get_resources(pdev);

Re: [PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-06-12 Thread Stephen Boyd
On 06/12/14 12:13, Kumar Gala wrote: > +static int qcom_ahci_probe(struct platform_device *pdev) > +{ > + struct ahci_host_priv *hpriv; > + struct clk *rxoob_clk; > + int rc; > + > + hpriv = ahci_platform_get_resources(pdev); > + if (IS_ERR(hpriv)) > + return

[PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-06-12 Thread Kumar Gala
Add support for the Qualcomm AHCI SATA controller that exists on several SoC and specifically the IPQ806x family of chips. The IPQ806x SATA support requires the associated IPQ806x SATA PHY Driver to be enabled as well. Signed-off-by: Kumar Gala --- drivers/ata/Kconfig | 10 ++

[PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-06-12 Thread Kumar Gala
Add support for the Qualcomm AHCI SATA controller that exists on several SoC and specifically the IPQ806x family of chips. The IPQ806x SATA support requires the associated IPQ806x SATA PHY Driver to be enabled as well. Signed-off-by: Kumar Gala ga...@codeaurora.org --- drivers/ata/Kconfig |

Re: [PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-06-12 Thread Stephen Boyd
On 06/12/14 12:13, Kumar Gala wrote: +static int qcom_ahci_probe(struct platform_device *pdev) +{ + struct ahci_host_priv *hpriv; + struct clk *rxoob_clk; + int rc; + + hpriv = ahci_platform_get_resources(pdev); + if (IS_ERR(hpriv)) + return PTR_ERR(hpriv);

Re: [PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-06-12 Thread Kumar Gala
On Jun 12, 2014, at 2:50 PM, Stephen Boyd sb...@codeaurora.org wrote: On 06/12/14 12:13, Kumar Gala wrote: +static int qcom_ahci_probe(struct platform_device *pdev) +{ +struct ahci_host_priv *hpriv; +struct clk *rxoob_clk; +int rc; + +hpriv =