From: Rob Herring <robh@kernel.org> To: Biju Das <biju.das.jz@bp.renesas.com> Cc: Kishon Vijay Abraham I <kishon@ti.com>, Vinod Koul <vkoul@kernel.org>, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be>, Chris Paterson <Chris.Paterson2@renesas.com>, Biju Das <biju.das@bp.renesas.com>, Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v4 06/10] dt-bindings: phy: renesas,usb2-phy: Document RZ/G2L phy bindings Date: Mon, 26 Jul 2021 16:28:30 -0600 [thread overview] Message-ID: <20210726222830.GB981051@robh.at.kernel.org> (raw) In-Reply-To: <20210719121938.6532-7-biju.das.jz@bp.renesas.com> On Mon, Jul 19, 2021 at 01:19:34PM +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> > --- > 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. > --- > .../bindings/phy/renesas,usb2-phy.yaml | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml b/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml > index d5dc5a3cdceb..151158d7a224 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,20 @@ required: > - clocks > - '#phy-cells' > > +allOf: > + - if: > + properties: > + compatible: > + contains: > + const: renesas,rzg2l-usb2-phy > + then: > + properties: > + resets: > + description: | > + USB/PHY reset associated with the port. You don't need 'properties' part here. Just 'required'. > + required: > + - resets > + > additionalProperties: false > > examples: > -- > 2.17.1 > >
next prev parent reply other threads:[~2021-07-26 22:28 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <20210719121938.6532-1-biju.das.jz@bp.renesas.com> 2021-07-19 12:19 ` [PATCH v4 01/10] dt-bindings: usb: generic-ohci: Document dr_mode property Biju Das 2021-07-19 12:19 ` [PATCH v4 02/10] dt-bindings: usb: generic-ehci: " Biju Das 2021-07-19 12:19 ` [PATCH v4 03/10] dt-bindings: reset: Document RZ/G2L USBPHY Control bindings Biju Das 2021-07-19 15:27 ` Rob Herring 2021-07-20 11:26 ` Biju Das 2021-07-20 16:36 ` Rob Herring 2021-07-20 16:56 ` Biju Das 2021-07-26 22:26 ` Rob Herring 2021-07-19 12:19 ` [PATCH v4 04/10] reset: renesas: Add RZ/G2L usbphy control driver Biju Das 2021-07-27 7:55 ` Biju Das 2021-07-27 13:37 ` Philipp Zabel 2021-07-27 13:53 ` Biju Das 2021-07-27 13:58 ` Philipp Zabel 2021-07-19 12:19 ` [PATCH v4 05/10] arm64: configs: defconfig: Enable RZ/G2L USBPHY " Biju Das 2021-07-19 12:19 ` [PATCH v4 06/10] dt-bindings: phy: renesas,usb2-phy: Document RZ/G2L phy bindings Biju Das 2021-07-26 22:28 ` Rob Herring [this message] 2021-07-27 14:58 ` Biju Das 2021-07-19 12:19 ` [PATCH v4 07/10] phy: renesas: phy-rcar-gen3-usb2: Add OTG support for RZ/G2L Biju Das 2021-07-19 12:19 ` [PATCH v4 08/10] arm64: dts: renesas: r9a07g044: Add USB2.0 phy and host support Biju Das 2021-07-19 12:19 ` [PATCH v4 09/10] dt-bindings: usb: renesas,usbhs: Document RZ/G2L bindings Biju Das 2021-07-26 22:30 ` Rob Herring 2021-07-27 14:59 ` Biju Das 2021-07-19 12:19 ` [PATCH v4 10/10] arm64: dts: renesas: r9a07g044: Add USB2.0 device support Biju Das
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210726222830.GB981051@robh.at.kernel.org \ --to=robh@kernel.org \ --cc=Chris.Paterson2@renesas.com \ --cc=biju.das.jz@bp.renesas.com \ --cc=biju.das@bp.renesas.com \ --cc=devicetree@vger.kernel.org \ --cc=geert+renesas@glider.be \ --cc=kishon@ti.com \ --cc=linux-phy@lists.infradead.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \ --cc=vkoul@kernel.org \ --cc=yoshihiro.shimoda.uh@renesas.com \ --subject='Re: [PATCH v4 06/10] dt-bindings: phy: renesas,usb2-phy: Document RZ/G2L phy bindings' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).