2018-02-27 05:58:38

by Yoshihiro Shimoda

[permalink] [raw]
Subject: [PATCH 0/2] 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.


Yoshihiro Shimoda (2):
phy: rcar-gen3-usb2: Add support for r8a77965
phy: rcar-gen3-usb3: Add binding 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-02-27 05:58:47

by Yoshihiro Shimoda

[permalink] [raw]
Subject: [PATCH 1/2] 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]>
---
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 4 ++++
2 files changed, 6 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.
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-02-27 05:59:59

by Yoshihiro Shimoda

[permalink] [raw]
Subject: [PATCH 2/2] phy: rcar-gen3-usb3: Add binding for r8a77965

This patch adds binding 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-02 08:18:37

by Kishon Vijay Abraham I

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



On Tuesday 27 February 2018 11:22 AM, Yoshihiro Shimoda wrote:
> This patch adds support for r8a77965 (R-Car M3-N). This SoC has
> dedicated pins.
>
> Signed-off-by: Yoshihiro Shimoda <[email protected]>
> ---
> Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++
> drivers/phy/renesas/phy-rcar-gen3-usb2.c | 4 ++++
> 2 files changed, 6 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.

have dt-binding Documentation as a separate patch.

Thanks
Kishon

2018-03-02 12:02:16

by Kishon Vijay Abraham I

[permalink] [raw]
Subject: Re: [PATCH 2/2] phy: rcar-gen3-usb3: Add binding for r8a77965



On Tuesday 27 February 2018 11:22 AM, Yoshihiro Shimoda wrote:
> This patch adds binding for r8a77965 (R-Car M3-N).

$subject should be dt-bindings: rcar-gen3-phy-usb3: Add binding for r8a77965

Thanks
Kishon
>
> 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.
>
>

2018-03-05 05:20:34

by Yoshihiro Shimoda

[permalink] [raw]
Subject: RE: [PATCH 2/2] phy: rcar-gen3-usb3: Add binding for r8a77965

Hi,

> From: Kishon Vijay Abraham I, Sent: Friday, March 2, 2018 5:15 PM
>
> On Tuesday 27 February 2018 11:22 AM, Yoshihiro Shimoda wrote:
> > This patch adds binding for r8a77965 (R-Car M3-N).
>
> $subject should be dt-bindings: rcar-gen3-phy-usb3: Add binding for r8a77965

I will revise this in v2.

Best regards,
Yoshihiro Shimoda

> Thanks
> Kishon


2018-03-05 05:57:58

by Yoshihiro Shimoda

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

Hi,

> From: Kishon Vijay Abraham I, Sent: Friday, March 2, 2018 5:15 PM
>
> On Tuesday 27 February 2018 11:22 AM, Yoshihiro Shimoda wrote:
> > This patch adds support for r8a77965 (R-Car M3-N). This SoC has
> > dedicated pins.
> >
> > Signed-off-by: Yoshihiro Shimoda <[email protected]>
> > ---
> > Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++
> > drivers/phy/renesas/phy-rcar-gen3-usb2.c | 4 ++++
> > 2 files changed, 6 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.
>
> have dt-binding Documentation as a separate patch.

I will fix this in v2.

Best regards,
Yoshihiro Shimoda

> Thanks
> Kishon