Message ID | 20210727185527.19907-3-biju.das.jz@bp.renesas.com |
---|---|
State | Accepted |
Headers | show |
Series | Add USB2.0 support | expand |
On Tue, 27 Jul 2021 19:55:23 +0100, Biju Das wrote: > Document USB phy bindings for RZ/G2L SoC. > > RZ/G2L USB2.0 phy uses line ctrl register for OTG_ID pin changes. It uses > a different OTG-BC interrupt bit for device recognition. Apart from this, > the PHY reset is controlled by USBPHY control IP and Document reset is a > required property. > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> > Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > --- > v4->v5: > * Removed 'properties' and just used 'required' for RZ/G2L SoC. > v3->v4: > * Removed second reset > * Added family specific compatible string. > v2->v3 > * Created a new compatible for RZ/G2L as per Geert's suggestion. > * Added resets required properties for RZ/G2L SoC. > --- > .../devicetree/bindings/phy/renesas,usb2-phy.yaml | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > Acked-by: Rob Herring <robh@kernel.org>
Hi Biju-san, > From: Biju Das, Sent: Wednesday, July 28, 2021 3:55 AM > > Document USB phy bindings for RZ/G2L SoC. > > RZ/G2L USB2.0 phy uses line ctrl register for OTG_ID pin changes. It uses > a different OTG-BC interrupt bit for device recognition. Apart from this, > the PHY reset is controlled by USBPHY control IP and Document reset is a > required property. > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> > Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Thank you for the patch! Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Best regards, Yoshihiro Shimoda
On 27-07-21, 19:55, Biju Das wrote: > Document USB phy bindings for RZ/G2L SoC. > > RZ/G2L USB2.0 phy uses line ctrl register for OTG_ID pin changes. It uses > a different OTG-BC interrupt bit for device recognition. Apart from this, > the PHY reset is controlled by USBPHY control IP and Document reset is a > required property. Applied, thanks
diff --git a/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml b/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml index d5dc5a3cdceb..3a6e1165419c 100644 --- a/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml +++ b/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml @@ -30,6 +30,11 @@ properties: - renesas,usb2-phy-r8a77995 # R-Car D3 - const: renesas,rcar-gen3-usb2-phy + - items: + - enum: + - renesas,usb2-phy-r9a07g044 # RZ/G2{L,LC} + - const: renesas,rzg2l-usb2-phy # RZ/G2L family + reg: maxItems: 1 @@ -91,6 +96,16 @@ required: - clocks - '#phy-cells' +allOf: + - if: + properties: + compatible: + contains: + const: renesas,rzg2l-usb2-phy + then: + required: + - resets + additionalProperties: false examples: