| From 3da2201e3f77db03f49d3f6b132265100ec8d3e0 Mon Sep 17 00:00:00 2001 |
| From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> |
| Date: Sat, 12 Sep 2015 02:06:09 +0300 |
| Subject: [PATCH 316/326] PCI: rcar: Add R8A7794 support |
| |
| Add Renesas R8A7794 SoC support to the Renesas R-Car gen2 PCI driver. |
| |
| Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> |
| Signed-off-by: Bjorn Helgaas <helgaas@kernel.org> |
| Acked-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit de24c18c0faca5ebd618e1cb87f5489745e40475) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt | 3 ++- |
| drivers/pci/host/pci-rcar-gen2.c | 1 + |
| 2 files changed, 3 insertions(+), 1 deletion(-) |
| |
| diff --git a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt |
| index d8ef5bf50f11..7fab84b33531 100644 |
| --- a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt |
| +++ b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt |
| @@ -7,7 +7,8 @@ OHCI and EHCI controllers. |
| |
| Required properties: |
| - compatible: "renesas,pci-r8a7790" for the R8A7790 SoC; |
| - "renesas,pci-r8a7791" for the R8A7791 SoC. |
| + "renesas,pci-r8a7791" for the R8A7791 SoC; |
| + "renesas,pci-r8a7794" for the R8A7794 SoC. |
| - reg: A list of physical regions to access the device: the first is |
| the operational registers for the OHCI/EHCI controllers and the |
| second is for the bridge configuration and control registers. |
| diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c |
| index 367e28fa7564..c4f64bfee551 100644 |
| --- a/drivers/pci/host/pci-rcar-gen2.c |
| +++ b/drivers/pci/host/pci-rcar-gen2.c |
| @@ -362,6 +362,7 @@ static int rcar_pci_probe(struct platform_device *pdev) |
| static struct of_device_id rcar_pci_of_match[] = { |
| { .compatible = "renesas,pci-r8a7790", }, |
| { .compatible = "renesas,pci-r8a7791", }, |
| + { .compatible = "renesas,pci-r8a7794", }, |
| { }, |
| }; |
| |
| -- |
| 2.6.2 |
| |