2018-03-05 05:34:29

by Yoshihiro Shimoda

[permalink] [raw]
Subject: [PATCH v2 0/3] phy: rcar-gen3-usb[23]: Add support for r8a77965

This patch set adds R-Car Gen3 USB 2.0 and 3.0 support for R8A77965.

Changes from v1:
- Separate patch1 to dt-bindings and adding of_device_id table entry.
- Revise the subject for dt-bindings patch(es).

Yoshihiro Shimoda (3):
dt-bindings: rcar-gen3-phy-usb2: Add bindings for r8a77965
phy: rcar-gen3-usb2: Add support for r8a77965
dt-bindings: rcar-gen3-phy-usb3: Add bindings for r8a77965

Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt | 2 ++
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 4 ++++
3 files changed, 8 insertions(+)

--
1.9.1



2018-03-05 05:33:59

by Yoshihiro Shimoda

[permalink] [raw]
Subject: [PATCH v2 3/3] dt-bindings: rcar-gen3-phy-usb3: Add bindings for r8a77965

This patch adds bindings for r8a77965 (R-Car M3-N).

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

diff --git a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt b/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt
index f94cea4..47dd296 100644
--- a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt
+++ b/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt
@@ -11,6 +11,8 @@ Required properties:
SoC.
"renesas,r8a7796-usb3-phy" if the device is a part of an R8A7796
SoC.
+ "renesas,r8a77965-usb3-phy" if the device is a part of an
+ R8A77965 SoC.
"renesas,rcar-gen3-usb3-phy" for a generic R-Car Gen3 compatible
device.

--
1.9.1


2018-03-05 05:34:47

by Yoshihiro Shimoda

[permalink] [raw]
Subject: [PATCH v2 1/3] dt-bindings: rcar-gen3-phy-usb2: Add bindings for r8a77965

This patch adds support for r8a77965 (R-Car M3-N).

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

diff --git a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt b/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt
index 99b651b..dbd137c 100644
--- a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt
+++ b/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt
@@ -8,6 +8,8 @@ Required properties:
SoC.
"renesas,usb2-phy-r8a7796" if the device is a part of an R8A7796
SoC.
+ "renesas,usb2-phy-r8a77965" if the device is a part of an
+ R8A77965 SoC.
"renesas,usb2-phy-r8a77995" if the device is a part of an
R8A77995 SoC.
"renesas,rcar-gen3-usb2-phy" for a generic R-Car Gen3 compatible device.
--
1.9.1


2018-03-05 05:35:03

by Yoshihiro Shimoda

[permalink] [raw]
Subject: [PATCH v2 2/3] phy: rcar-gen3-usb2: Add support for r8a77965

This patch adds support for r8a77965 (R-Car M3-N). This SoC has
dedicated pins.

Signed-off-by: Yoshihiro Shimoda <[email protected]>
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/drivers/phy/renesas/phy-rcar-gen3-usb2.c b/drivers/phy/renesas/phy-rcar-gen3-usb2.c
index 9c90e7d..fb8f05e 100644
--- a/drivers/phy/renesas/phy-rcar-gen3-usb2.c
+++ b/drivers/phy/renesas/phy-rcar-gen3-usb2.c
@@ -397,6 +397,10 @@ static irqreturn_t rcar_gen3_phy_usb2_irq(int irq, void *_ch)
.data = (void *)RCAR_GEN3_PHY_HAS_DEDICATED_PINS,
},
{
+ .compatible = "renesas,usb2-phy-r8a77965",
+ .data = (void *)RCAR_GEN3_PHY_HAS_DEDICATED_PINS,
+ },
+ {
.compatible = "renesas,rcar-gen3-usb2-phy",
},
{ }
--
1.9.1


2018-03-05 08:32:06

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH v2 1/3] dt-bindings: rcar-gen3-phy-usb2: Add bindings for r8a77965

On Mon, Mar 5, 2018 at 6:32 AM, Yoshihiro Shimoda
<[email protected]> wrote:
> This patch adds support for r8a77965 (R-Car M3-N).
>
> Signed-off-by: Yoshihiro Shimoda <[email protected]>

Reviewed-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

2018-03-05 08:32:38

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH v2 2/3] phy: rcar-gen3-usb2: Add support for r8a77965

On Mon, Mar 5, 2018 at 6:32 AM, Yoshihiro Shimoda
<[email protected]> wrote:
> This patch adds support for r8a77965 (R-Car M3-N). This SoC has
> dedicated pins.
>
> Signed-off-by: Yoshihiro Shimoda <[email protected]>

Reviewed-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

2018-03-05 08:33:22

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH v2 3/3] dt-bindings: rcar-gen3-phy-usb3: Add bindings for r8a77965

On Mon, Mar 5, 2018 at 6:32 AM, Yoshihiro Shimoda
<[email protected]> wrote:
> This patch adds bindings for r8a77965 (R-Car M3-N).
>
> Signed-off-by: Yoshihiro Shimoda <[email protected]>

Reviewed-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

2018-03-07 21:27:29

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2 1/3] dt-bindings: rcar-gen3-phy-usb2: Add bindings for r8a77965

On Mon, Mar 05, 2018 at 02:32:43PM +0900, Yoshihiro Shimoda wrote:
> This patch adds support for r8a77965 (R-Car M3-N).
>
> Signed-off-by: Yoshihiro Shimoda <[email protected]>
> ---
> Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++
> 1 file changed, 2 insertions(+)

Reviewed-by: Rob Herring <[email protected]>

2018-03-07 21:27:54

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2 3/3] dt-bindings: rcar-gen3-phy-usb3: Add bindings for r8a77965

On Mon, Mar 05, 2018 at 02:32:45PM +0900, Yoshihiro Shimoda wrote:
> This patch adds bindings for r8a77965 (R-Car M3-N).
>
> Signed-off-by: Yoshihiro Shimoda <[email protected]>
> ---
> Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt | 2 ++
> 1 file changed, 2 insertions(+)

Reviewed-by: Rob Herring <[email protected]>