Skip to contentSkip to conversation

pci-rcar-gen2: add R8A7794 support

PATCH In review Sergei Shtylyov 3 participants 4 messages Sep 11, 2015 – Sep 25, 2015

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci-rcar-gen2: add R8A7794 support

Add Renesas R8A7794 SoC support to the Renesas R-Car gen2 PCI driver.

---
The patch is against the 'next' branch of Bjorn Helgaas' 'pci.git' repo.

 Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt |    3 ++-
 drivers/pci/host/pci-rcar-gen2.c                        |    1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt +2 -1
Index: pci/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.
drivers/pci/host/pci-rcar-gen2.c +1 -0
Index: pci/drivers/pci/host/pci-rcar-gen2.c
===================================================================
@@ -362,6 +362,7 @@ static int rcar_pci_probe(struct platfor
 static struct of_device_id rcar_pci_of_match[] = {
 	{ .compatible = "renesas,pci-r8a7790", },
 	{ .compatible = "renesas,pci-r8a7791", },
+	{ .compatible = "renesas,pci-r8a7794", },
 	{ },
 };
 
#2 lore raw
In reply to Sergei Shtylyov
Quoted 3 lines · Sergei Shtylyov

Add Renesas R8A7794 SoC support to the Renesas R-Car gen2 PCI driver.

Applied with Simon's ack to for-linus for v4.3, thanks!

I applied this for v4.3 instead of v4.4 because this is new hardware and I think the chance of breaking anything is minimal.

Quoted 38 lines

---
The patch is against the 'next' branch of Bjorn Helgaas' 'pci.git' repo.

 Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt |    3 ++-
 drivers/pci/host/pci-rcar-gen2.c                        |    1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

Index: pci/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
===================================================================

Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt +2 -1
@@ -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.

Index: pci/drivers/pci/host/pci-rcar-gen2.c
===================================================================

drivers/pci/host/pci-rcar-gen2.c +1 -1
@@ -362,6 +362,7 @@ static int rcar_pci_probe(struct platfor
 static struct of_device_id rcar_pci_of_match[] = {
 	{ .compatible = "renesas,pci-r8a7790", },
 	{ .compatible = "renesas,pci-r8a7791", },
+	{ .compatible = "renesas,pci-r8a7794", },
 	{ },
 };
 
 
--

To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 9 lines · Bjorn Helgaas
Quoted 3 lines · Sergei Shtylyov

Add Renesas R8A7794 SoC support to the Renesas R-Car gen2 PCI driver.

Applied with Simon's ack to for-linus for v4.3, thanks!

I applied this for v4.3 instead of v4.4 because this is new hardware and I think the chance of breaking anything is minimal.

Thanks! Your logic for queueing this up for v4.3 sounds entirely reasonable to me.