From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754642AbcFGJAl (ORCPT ); Tue, 7 Jun 2016 05:00:41 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:59772 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754585AbcFGJAi (ORCPT ); Tue, 7 Jun 2016 05:00:38 -0400 Subject: Re: [PATCH 6/7] phy: miphy28lp: Inform the reset framework that our reset line may be shared To: Lee Jones , , References: <20160606155655.10860-1-lee.jones@linaro.org> <20160606155655.10860-7-lee.jones@linaro.org> CC: , , , , , , From: Kishon Vijay Abraham I Message-ID: <57568D05.6020001@ti.com> Date: Tue, 7 Jun 2016 14:29:49 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160606155655.10860-7-lee.jones@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 06 June 2016 09:26 PM, Lee Jones wrote: > 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 Acked-by: Kishon Vijay Abraham I > --- > drivers/phy/phy-miphy28lp.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/phy/phy-miphy28lp.c b/drivers/phy/phy-miphy28lp.c > index 3acd2a1..213e2e1 100644 > --- a/drivers/phy/phy-miphy28lp.c > +++ b/drivers/phy/phy-miphy28lp.c > @@ -1143,7 +1143,8 @@ static int miphy28lp_probe_resets(struct device_node *node, > struct miphy28lp_dev *miphy_dev = miphy_phy->phydev; > int err; > > - miphy_phy->miphy_rst = of_reset_control_get(node, "miphy-sw-rst"); > + miphy_phy->miphy_rst = > + of_reset_control_get_shared(node, "miphy-sw-rst"); > > if (IS_ERR(miphy_phy->miphy_rst)) { > dev_err(miphy_dev->dev, >