From: Pavel Machek <pavel@denx.de>
To: ovidiu.panait.rb@renesas.com, prabhakar.mahadev-lad.rj@bp.renesas.com
Cc: cip-dev@lists.cip-project.org, nobuhiro1.iwamatsu@toshiba.co.jp
Subject: Re: [cip-dev] [PATCH 6.1.y-cip 3/9] reset: Add USB2PHY port reset driver for Renesas RZ/V2H(P)
Date: Fri, 21 Nov 2025 14:28:07 +0100 [thread overview]
Message-ID: <aSBo5wqdWoMh4Ub1@duo.ucw.cz> (raw)
In-Reply-To: <20251120165726.18296-4-ovidiu.panait.rb@renesas.com>
[-- Attachment #1: Type: text/plain, Size: 1356 bytes --]
Hi!
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> commit e3911d7f865bbc704205f45333e491e4034942c7 upstream.
>
> Implement a USB2PHY port reset driver for the Renesas RZ/V2H(P) SoC.
> Enable control of USB2.0 PHY reset and power-down operations, including
> assert and deassert functionalities for the PHY.
>
> Leverage device tree (OF) data to support future SoCs with similar USB2PHY
> hardware but varying register configurations. Define initialization values
> and control register settings to ensure flexibility for upcoming
> platforms.
> +static int rzv2h_usb2phy_reset_probe(struct platform_device *pdev)
> +{
> + const struct rzv2h_usb2phy_reset_of_data *data;
> + struct rzv2h_usb2phy_reset_priv *priv;
> + struct device *dev = &pdev->dev;
> + int error;
> +
> + priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
> + if (!priv)
> + return -ENOMEM;
> +
> + data = of_device_get_match_data(dev);
> + priv->data = data;
> + priv->dev = dev;
> + priv->base = devm_platform_ioremap_resource(pdev, 0);
> + if (IS_ERR(priv->base))
> + return PTR_ERR(priv->base);
Should this be dev_err_probe, so that user gets error message?
Best regards,
Pavel
--
In cooperation with DENX Software Engineering GmbH, HRB 165235 Munich,
Office: Kirchenstr.5, D-82194 Groebenzell, Germany
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2025-11-21 13:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-20 16:57 [PATCH 6.1.y-cip 0/9] Add RZ/V2H USB2.0 support Ovidiu Panait
2025-11-20 16:57 ` [PATCH 6.1.y-cip 1/9] dt-bindings: usb: renesas,usbhs: Add RZ/V2H(P) SoC support Ovidiu Panait
2025-11-20 16:57 ` [PATCH 6.1.y-cip 2/9] dt-bindings: reset: Document RZ/V2H(P) USB2PHY reset Ovidiu Panait
2025-11-20 16:57 ` [PATCH 6.1.y-cip 3/9] reset: Add USB2PHY port reset driver for Renesas RZ/V2H(P) Ovidiu Panait
2025-11-21 13:28 ` Pavel Machek [this message]
2025-11-20 16:57 ` [PATCH 6.1.y-cip 4/9] dt-bindings: phy: renesas,usb2-phy: Add clock constraint for RZ/G2L family Ovidiu Panait
2025-11-20 16:57 ` [PATCH 6.1.y-cip 5/9] dt-bindings: phy: renesas,usb2-phy: Document RZ/V2H(P) SoC Ovidiu Panait
2025-11-20 16:57 ` [PATCH 6.1.y-cip 6/9] phy: renesas: phy-rcar-gen3-usb2: Add USB2.0 PHY support for RZ/V2H(P) Ovidiu Panait
2025-11-20 16:57 ` [PATCH 6.1.y-cip 7/9] arm64: dts: renesas: r9a09g057: Add USB2.0 support Ovidiu Panait
2025-11-20 16:57 ` [PATCH 6.1.y-cip 8/9] arm64: defconfig: Enable RZ/V2H(P) USB2 PHY controller reset driver Ovidiu Panait
2025-11-20 16:57 ` [PATCH 6.1.y-cip 9/9] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Enable USB2.0 support Ovidiu Panait
2025-11-22 9:05 ` [cip-dev] [PATCH 6.1.y-cip 0/9] Add RZ/V2H " Pavel Machek
2025-11-24 0:08 ` Nobuhiro Iwamatsu (Toshiba)
2025-11-24 9:59 ` Pavel Machek
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=aSBo5wqdWoMh4Ub1@duo.ucw.cz \
--to=pavel@denx.de \
--cc=cip-dev@lists.cip-project.org \
--cc=nobuhiro1.iwamatsu@toshiba.co.jp \
--cc=ovidiu.panait.rb@renesas.com \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox