OSDN Git Service

usb: renesas_usbhs: Add compatible string for r8a7743/5
authorBiju Das <biju.das@bp.renesas.com>
Fri, 6 Oct 2017 16:49:34 +0000 (17:49 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 19 Oct 2017 07:38:14 +0000 (10:38 +0300)
This patch adds support for r8a7743/5 SoCs. The Renesas RZ/G1[ME]
(R8A7743/5) usbhs is identical to the R-Car Gen2 family.

No driver change is needed due to the fallback compatible value
"renesas,rcar-gen2-usbhs".
Adding the SoC-specific compatible values here has two purposes:
  1. Document which SoCs have this hardware module,
  2. Allow checkpatch to validate compatible values.

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Documentation/devicetree/bindings/usb/renesas_usbhs.txt

index e79f6e4..47394ab 100644 (file)
@@ -3,6 +3,8 @@ Renesas Electronics USBHS driver
 Required properties:
   - compatible: Must contain one or more of the following:
 
+       - "renesas,usbhs-r8a7743" for r8a7743 (RZ/G1M) compatible device
+       - "renesas,usbhs-r8a7745" for r8a7745 (RZ/G1E) compatible device
        - "renesas,usbhs-r8a7790" for r8a7790 (R-Car H2) compatible device
        - "renesas,usbhs-r8a7791" for r8a7791 (R-Car M2-W) compatible device
        - "renesas,usbhs-r8a7792" for r8a7792 (R-Car V2H) compatible device
@@ -11,7 +13,7 @@ Required properties:
        - "renesas,usbhs-r8a7795" for r8a7795 (R-Car H3) compatible device
        - "renesas,usbhs-r8a7796" for r8a7796 (R-Car M3-W) compatible device
        - "renesas,usbhs-r8a77995" for r8a77995 (R-Car D3) compatible device
-       - "renesas,rcar-gen2-usbhs" for R-Car Gen2 compatible device
+       - "renesas,rcar-gen2-usbhs" for R-Car Gen2 or RZ/G1 compatible devices
        - "renesas,rcar-gen3-usbhs" for R-Car Gen3 compatible device
 
        When compatible with the generic version, nodes must list the