diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2016-08-24 03:39:53 -0400 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-31 03:05:46 -0400 |
commit | aae819e1bd50195c3adcac337735415cef48b6ba (patch) | |
tree | 5626f8851f40b527b3d22f7728eda969c0602d68 | |
parent | 2a334cfaf393187d592999d1039135e000a68e9a (diff) |
usb: renesas_usbhs: add a compatible string for r8a7796
This patch adds support for r8a7796 (R-Car M3-W).
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
-rw-r--r-- | Documentation/devicetree/bindings/usb/renesas_usbhs.txt | 1 | ||||
-rw-r--r-- | drivers/usb/renesas_usbhs/common.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt index b6040563e51a..9e18e000339e 100644 --- a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt +++ b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt | |||
@@ -9,6 +9,7 @@ Required properties: | |||
9 | - "renesas,usbhs-r8a7793" for r8a7793 (R-Car M2-N) compatible device | 9 | - "renesas,usbhs-r8a7793" for r8a7793 (R-Car M2-N) compatible device |
10 | - "renesas,usbhs-r8a7794" for r8a7794 (R-Car E2) compatible device | 10 | - "renesas,usbhs-r8a7794" for r8a7794 (R-Car E2) compatible device |
11 | - "renesas,usbhs-r8a7795" for r8a7795 (R-Car H3) compatible device | 11 | - "renesas,usbhs-r8a7795" for r8a7795 (R-Car H3) compatible device |
12 | - "renesas,usbhs-r8a7796" for r8a7796 (R-Car M3-W) compatible device | ||
12 | - "renesas,rcar-gen2-usbhs" for R-Car Gen2 compatible device | 13 | - "renesas,rcar-gen2-usbhs" for R-Car Gen2 compatible device |
13 | - "renesas,rcar-gen3-usbhs" for R-Car Gen3 compatible device | 14 | - "renesas,rcar-gen3-usbhs" for R-Car Gen3 compatible device |
14 | 15 | ||
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index ac67bab9124c..012a37aa3e0d 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c | |||
@@ -482,6 +482,10 @@ static const struct of_device_id usbhs_of_match[] = { | |||
482 | .data = (void *)USBHS_TYPE_RCAR_GEN3, | 482 | .data = (void *)USBHS_TYPE_RCAR_GEN3, |
483 | }, | 483 | }, |
484 | { | 484 | { |
485 | .compatible = "renesas,usbhs-r8a7796", | ||
486 | .data = (void *)USBHS_TYPE_RCAR_GEN3, | ||
487 | }, | ||
488 | { | ||
485 | .compatible = "renesas,rcar-gen2-usbhs", | 489 | .compatible = "renesas,rcar-gen2-usbhs", |
486 | .data = (void *)USBHS_TYPE_RCAR_GEN2, | 490 | .data = (void *)USBHS_TYPE_RCAR_GEN2, |
487 | }, | 491 | }, |