diff options
author | Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> | 2015-11-25 15:30:39 +0000 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-12-08 15:03:32 -0600 |
commit | e015f88c368da1e6e3567288c290c31d57b2ba94 (patch) | |
tree | 72a5d308ed10999406b56daeda12b729243d2047 | |
parent | 88b8576f17342ba4470bd518e14a3dfa8446db93 (diff) | |
download | linux-e015f88c368da1e6e3567288c290c31d57b2ba94.tar.gz linux-e015f88c368da1e6e3567288c290c31d57b2ba94.tar.bz2 linux-e015f88c368da1e6e3567288c290c31d57b2ba94.zip |
PCI: rcar: Add support for R-Car H3 to pcie-rcar
Add the "renesas,pcie-r8a7795" property for the R-Car H3 device to the
pcie-rcar driver.
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
-rw-r--r-- | Documentation/devicetree/bindings/pci/rcar-pci.txt | 3 | ||||
-rw-r--r-- | drivers/pci/host/pcie-rcar.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/pci/rcar-pci.txt b/Documentation/devicetree/bindings/pci/rcar-pci.txt index 29d3b989d3b0..ab2e75f59518 100644 --- a/Documentation/devicetree/bindings/pci/rcar-pci.txt +++ b/Documentation/devicetree/bindings/pci/rcar-pci.txt @@ -2,7 +2,8 @@ Required properties: - compatible: should contain one of the following - "renesas,pcie-r8a7779", "renesas,pcie-r8a7790", "renesas,pcie-r8a7791" + "renesas,pcie-r8a7779", "renesas,pcie-r8a7790", "renesas,pcie-r8a7791", + "renesas,pcie-r8a7795" - reg: base address and length of the pcie controller registers. - #address-cells: set to <3> - #size-cells: set to <2> diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index d12faf40d7a1..0c819a00e8ce 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.c @@ -917,6 +917,7 @@ static const struct of_device_id rcar_pcie_of_match[] = { { .compatible = "renesas,pcie-r8a7779", .data = rcar_pcie_hw_init_h1 }, { .compatible = "renesas,pcie-r8a7790", .data = rcar_pcie_hw_init }, { .compatible = "renesas,pcie-r8a7791", .data = rcar_pcie_hw_init }, + { .compatible = "renesas,pcie-r8a7795", .data = rcar_pcie_hw_init }, {}, }; MODULE_DEVICE_TABLE(of, rcar_pcie_of_match); |