On Wed, Jul 29, 2015 at 4:35 PM, Paul Bolle pebo...@tiscali.nl wrote:
On di, 2015-07-28 at 18:45 +0800, Ley Foon Tan wrote:
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
+config PCIE_ALTERA
+ bool Altera PCIe controller
+ depends on ARCH_SOCFPGA
+ depends on OF
On Wed, Jul 29, 2015 at 9:19 PM, Lorenzo Pieralisi
lorenzo.pieral...@arm.com wrote:
On Tue, Jul 28, 2015 at 11:45:42AM +0100, Ley Foon Tan wrote:
[...]
+static int altera_pcie_parse_request_of_pci_ranges(struct altera_pcie *pcie)
+{
+ int err, res_valid = 0;
+ struct device
On di, 2015-07-28 at 18:45 +0800, Ley Foon Tan wrote:
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
+config PCIE_ALTERA
+ bool Altera PCIe controller
+ depends on ARCH_SOCFPGA
+ depends on OF
+ select PCI_MSI_IRQ_DOMAIN if PCI_MSI
+ help
+ Say Y
On Wed, Jul 29, 2015 at 11:43 AM, Rob Herring robherri...@gmail.com wrote:
On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan lf...@altera.com wrote:
This patch adds the Altera PCIe host controller driver.
Signed-off-by: Ley Foon Tan lf...@altera.com
+
+static int altera_pcie_setup(int nr,
On Tue, Jul 28, 2015 at 11:45:42AM +0100, Ley Foon Tan wrote:
[...]
+static int altera_pcie_parse_request_of_pci_ranges(struct altera_pcie *pcie)
+{
+ int err, res_valid = 0;
+ struct device *dev = pcie-pdev-dev;
+ struct device_node *np = dev-of_node;
+
On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan lf...@altera.com wrote:
This patch adds the Altera PCIe host controller driver.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
drivers/pci/host/Kconfig | 9 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera.c |
This patch adds the Altera PCIe host controller driver.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
drivers/pci/host/Kconfig | 9 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera.c | 576 +
3 files changed, 586
On Wed, Jul 29, 2015 at 12:45 AM, Dinh Nguyen dinh.li...@gmail.com wrote:
On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan lf...@altera.com wrote:
This patch adds the Altera PCIe host controller driver.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
drivers/pci/host/Kconfig | 9 +
On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan lf...@altera.com wrote:
This patch adds the Altera PCIe host controller driver.
Signed-off-by: Ley Foon Tan lf...@altera.com
---
drivers/pci/host/Kconfig | 9 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera.c |