[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a2460e27-697c-495f-9106-bdb9109d674b@kernel.org>
Date: Wed, 31 Jul 2024 07:39:39 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Elson Roy Serrao <quic_eserrao@...cinc.com>, andersson@...nel.org,
konrad.dybcio@...aro.org, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, gregkh@...uxfoundation.org
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH 6/8] usb: misc: eud: Add High-Speed Phy control for EUD
operations
On 31/07/2024 00:24, Elson Roy Serrao wrote:
> The Embedded USB Debugger(EUD) is a HS-USB on-chip hub to support the
> debug and trace capabilities on Qualcomm devices. It is physically
> present in between the usb connector and the usb controller. Being a
> HS USB hub, it relies on HS Phy for its functionality. Add HS phy
> support in the eud driver and control the phy during eud enable/disable
> operations.
>
...
> static ssize_t enable_show(struct device *dev,
> @@ -186,6 +216,11 @@ static int eud_probe(struct platform_device *pdev)
>
> chip->dev = &pdev->dev;
>
> + chip->usb2_phy = devm_phy_get(chip->dev, "usb2-phy");
> + if (IS_ERR(chip->usb2_phy))
> + return dev_err_probe(chip->dev, PTR_ERR(chip->usb2_phy),
> + "no usb2 phy configured\n");
This nicely breaks all users.
NAK
Best regards,
Krzysztof
Powered by blists - more mailing lists