diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2016-12-06 10:51:31 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-12-07 17:56:56 -0500 |
commit | 49da21108f773b50b01b9fd0b6ca97b91b6ff216 (patch) | |
tree | aa343502d4c8d4985376bf795dfaf3c6a516af05 | |
parent | d83a328ad185b1e487a82479f840435ae297bee1 (diff) |
PCI: rcar: Add gen3 fallback compatibility string for pcie-rcar
Add fallback compatibility string for the R-Car Gen 3 family. This is in
keeping with the both the existing fallback compatibility string for the
R-Car Gen 2 family and the fallback scheme being adopted wherever
appropriate for drivers for Renesas SoCs.
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | Documentation/devicetree/bindings/pci/rcar-pci.txt | 1 | ||||
-rw-r--r-- | drivers/pci/host/pcie-rcar.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/rcar-pci.txt b/Documentation/devicetree/bindings/pci/rcar-pci.txt index 6cf99690eef9..eee518db90b9 100644 --- a/Documentation/devicetree/bindings/pci/rcar-pci.txt +++ b/Documentation/devicetree/bindings/pci/rcar-pci.txt | |||
@@ -7,6 +7,7 @@ compatible: "renesas,pcie-r8a7779" for the R8A7779 SoC; | |||
7 | "renesas,pcie-r8a7793" for the R8A7793 SoC; | 7 | "renesas,pcie-r8a7793" for the R8A7793 SoC; |
8 | "renesas,pcie-r8a7795" for the R8A7795 SoC; | 8 | "renesas,pcie-r8a7795" for the R8A7795 SoC; |
9 | "renesas,pcie-rcar-gen2" for a generic R-Car Gen2 compatible device. | 9 | "renesas,pcie-rcar-gen2" for a generic R-Car Gen2 compatible device. |
10 | "renesas,pcie-rcar-gen3" for a generic R-Car Gen3 compatible device. | ||
10 | 11 | ||
11 | When compatible with the generic version, nodes must list the | 12 | When compatible with the generic version, nodes must list the |
12 | SoC-specific version corresponding to the platform first | 13 | SoC-specific version corresponding to the platform first |
diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index 85971bc276c6..aca85be101f8 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.c | |||
@@ -1078,6 +1078,7 @@ static const struct of_device_id rcar_pcie_of_match[] = { | |||
1078 | { .compatible = "renesas,pcie-rcar-gen2", | 1078 | { .compatible = "renesas,pcie-rcar-gen2", |
1079 | .data = rcar_pcie_hw_init_gen2 }, | 1079 | .data = rcar_pcie_hw_init_gen2 }, |
1080 | { .compatible = "renesas,pcie-r8a7795", .data = rcar_pcie_hw_init }, | 1080 | { .compatible = "renesas,pcie-r8a7795", .data = rcar_pcie_hw_init }, |
1081 | { .compatible = "renesas,pcie-rcar-gen3", .data = rcar_pcie_hw_init }, | ||
1081 | {}, | 1082 | {}, |
1082 | }; | 1083 | }; |
1083 | 1084 | ||