2015-05-18 09:34:02

by Yoshihiro Shimoda

[permalink] [raw]
Subject: [PATCH] phy: rcar-gen2: Add support for R-Car E2

This patch adds a compatible string to support for R-Car E2.

Signed-off-by: Yoshihiro Shimoda <[email protected]>
---
Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt | 1 +
drivers/phy/phy-rcar-gen2.c | 1 +
2 files changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt b/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt
index 00fc52a..d564ba4 100644
--- a/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt
+++ b/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt
@@ -6,6 +6,7 @@ This file provides information on what the device node for the R-Car generation
Required properties:
- compatible: "renesas,usb-phy-r8a7790" if the device is a part of R8A7790 SoC.
"renesas,usb-phy-r8a7791" if the device is a part of R8A7791 SoC.
+ "renesas,usb-phy-r8a7794" if the device is a part of R8A7794 SoC.
- reg: offset and length of the register block.
- #address-cells: number of address cells for the USB channel subnodes, must
be <1>.
diff --git a/drivers/phy/phy-rcar-gen2.c b/drivers/phy/phy-rcar-gen2.c
index f47bfd8..0050301 100644
--- a/drivers/phy/phy-rcar-gen2.c
+++ b/drivers/phy/phy-rcar-gen2.c
@@ -195,6 +195,7 @@ static struct phy_ops rcar_gen2_phy_ops = {
static const struct of_device_id rcar_gen2_phy_match_table[] = {
{ .compatible = "renesas,usb-phy-r8a7790" },
{ .compatible = "renesas,usb-phy-r8a7791" },
+ { .compatible = "renesas,usb-phy-r8a7794" },
{ }
};
MODULE_DEVICE_TABLE(of, rcar_gen2_phy_match_table);
--
1.9.1


2015-05-18 09:45:00

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH] phy: rcar-gen2: Add support for R-Car E2

On Mon, May 18, 2015 at 11:33 AM, Yoshihiro Shimoda
<[email protected]> wrote:
> This patch adds a compatible string to support for R-Car E2.
>
> Signed-off-by: Yoshihiro Shimoda <[email protected]>

Acked-by: Geert Uytterhoeven <[email protected]>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

2015-05-19 01:33:17

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH] phy: rcar-gen2: Add support for R-Car E2

On Mon, May 18, 2015 at 11:44:50AM +0200, Geert Uytterhoeven wrote:
> On Mon, May 18, 2015 at 11:33 AM, Yoshihiro Shimoda
> <[email protected]> wrote:
> > This patch adds a compatible string to support for R-Car E2.
> >
> > Signed-off-by: Yoshihiro Shimoda <[email protected]>
>
> Acked-by: Geert Uytterhoeven <[email protected]>

Acked-by: Simon Horman <[email protected]>