Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1432680 > unrolled thread

[PATCH 1/1] usb: dwc3: st: Inform the reset framework that our reset line may be shared

Started byLee Jones <lee.jones@linaro.org>
First post2016-06-28 11:30 +0200
Last post2016-06-29 08:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/1] usb: dwc3: st: Inform the reset framework that our reset  line may be shared Lee Jones <lee.jones@linaro.org> - 2016-06-28 11:30 +0200
    Re: [PATCH 1/1] usb: dwc3: st: Inform the reset framework that our reset line may be shared Felipe Balbi <balbi@kernel.org> - 2016-06-29 08:40 +0200

#1432680 — [PATCH 1/1] usb: dwc3: st: Inform the reset framework that our reset line may be shared

FromLee Jones <lee.jones@linaro.org>
Date2016-06-28 11:30 +0200
Subject[PATCH 1/1] usb: dwc3: st: Inform the reset framework that our reset line may be shared
Message-ID<rOXvc-50U-33@gated-at.bofh.it>
On the STiH410 B2120 development board the MiPHY28lp shares its reset
line with the Synopsys DWC3 SuperSpeed (SS) USB 3.0 Dual-Role-Device
(DRD).  New functionality in the reset subsystems forces consumers to
be explicit when requesting shared/exclusive reset lines.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
Felipe,

I'd like to send this patch (amonst others) to the -rcs today if possible.

Would you be kind enough to Ack it, so I can do so please?

drivers/usb/dwc3/dwc3-st.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/dwc3/dwc3-st.c b/drivers/usb/dwc3/dwc3-st.c
index 5c0adb9..b204617 100644
--- a/drivers/usb/dwc3/dwc3-st.c
+++ b/drivers/usb/dwc3/dwc3-st.c
@@ -237,7 +237,8 @@ static int st_dwc3_probe(struct platform_device *pdev)
 	/* Manage PowerDown */
 	reset_control_deassert(dwc3_data->rstc_pwrdn);
 
-	dwc3_data->rstc_rst = devm_reset_control_get(dev, "softreset");
+	dwc3_data->rstc_rst =
+		devm_reset_control_get_shared(dev, "softreset");
 	if (IS_ERR(dwc3_data->rstc_rst)) {
 		dev_err(&pdev->dev, "could not get reset controller\n");
 		ret = PTR_ERR(dwc3_data->rstc_rst);
-- 
2.9.0

[toc] | [next] | [standalone]


#1433480 — Re: [PATCH 1/1] usb: dwc3: st: Inform the reset framework that our reset line may be shared

FromFelipe Balbi <balbi@kernel.org>
Date2016-06-29 08:40 +0200
SubjectRe: [PATCH 1/1] usb: dwc3: st: Inform the reset framework that our reset line may be shared
Message-ID<rPhke-Kk-33@gated-at.bofh.it>
In reply to#1432680

[Multipart message — attachments visible in raw view] — view raw

Hi,

Lee Jones <lee.jones@linaro.org> writes:
> On the STiH410 B2120 development board the MiPHY28lp shares its reset
> line with the Synopsys DWC3 SuperSpeed (SS) USB 3.0 Dual-Role-Device
> (DRD).  New functionality in the reset subsystems forces consumers to
> be explicit when requesting shared/exclusive reset lines.
>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> ---
> Felipe,
>
> I'd like to send this patch (amonst others) to the -rcs today if possible.
>
> Would you be kind enough to Ack it, so I can do so please?

okay, back from vacations.

Here you go:

Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>

>
> drivers/usb/dwc3/dwc3-st.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/usb/dwc3/dwc3-st.c b/drivers/usb/dwc3/dwc3-st.c
> index 5c0adb9..b204617 100644
> --- a/drivers/usb/dwc3/dwc3-st.c
> +++ b/drivers/usb/dwc3/dwc3-st.c
> @@ -237,7 +237,8 @@ static int st_dwc3_probe(struct platform_device *pdev)
>  	/* Manage PowerDown */
>  	reset_control_deassert(dwc3_data->rstc_pwrdn);
>  
> -	dwc3_data->rstc_rst = devm_reset_control_get(dev, "softreset");
> +	dwc3_data->rstc_rst =
> +		devm_reset_control_get_shared(dev, "softreset");
>  	if (IS_ERR(dwc3_data->rstc_rst)) {
>  		dev_err(&pdev->dev, "could not get reset controller\n");
>  		ret = PTR_ERR(dwc3_data->rstc_rst);
> -- 
> 2.9.0
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
balbi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web