Received: by 10.223.176.46 with SMTP id f43csp63518wra; Fri, 19 Jan 2018 13:51:36 -0800 (PST) X-Google-Smtp-Source: ACJfBotNwhkX/RJp98b/UvYM+EWyZogq6uGswr/zoJs6SPyzj74UGb99sX+NgHhs9IErzMIwpWVg X-Received: by 2002:a17:902:8f94:: with SMTP id z20-v6mr2247223plo.72.1516398696486; Fri, 19 Jan 2018 13:51:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516398696; cv=none; d=google.com; s=arc-20160816; b=yzBlcehANJIOi0ByUthaPFRfUTjRUS30j4NlKaelNU4iXx8vmh4PTPm8R4pJEzLyFm hRm2KIioorLQRWzOgFNMkVhrDhOnrzSs+JXSNjRfGvYakGRXwdbcaEW/5UKr7x+WC1Lc og4TW3nK/mgScQrdaAS+iwW48BeuLduDOSbvXgygt3DpoF2OY5ld/CM+wkDw9VEMIMRF wr6/TwxtDJtKAPHtysXaPHEozBAIiQ+pOkD5UijmuHIAzf/gGzHhkmR2CQyhQYKYELiP mdi/BKjIY5nXRg1igeUhS6DwAwlqEVAH9OCz/2R187pgTxFwXk8KIKklLs6Imrg/rWin oGyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=1qjDGCKTCH8vrAe2eqZsCbHGZbYZLzd6w4/MX+EAB5Q=; b=0YZWBllWMf0AL/3oUD57/OQhkUVfPeptXfXYu0F2pd9mz5DeieYGSufZ4wRQFy7M8O ueeC4sKqTOtewoMHKJ/SpORyh4v8hmEeMJRgeG71GQCntOhBSVDitxFhTGi5jiKSSzAX hMzpajD+Wl7kLiVKMOGLz9skXK/AKbNgKHhUHif02z9QsyvRu+fj3UvKFnwkQNSPhZyM C926ybMg0LAPi3WQTEZEqWiGhHrlMGwRG51XVzMhgosumJSjGp3/9FMpqxvfJjuWLMaZ w4dhoqcfQhCeW9sIjVfLZf7H079EKyoXnRMkFWkQxrNthFxA2rgfx2WBJM1s5WWl8+PV esSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2si8991142pgo.266.2018.01.19.13.51.21; Fri, 19 Jan 2018 13:51:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932556AbeASVtY (ORCPT + 99 others); Fri, 19 Jan 2018 16:49:24 -0500 Received: from mail-oi0-f41.google.com ([209.85.218.41]:33405 "EHLO mail-oi0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932226AbeASVtS (ORCPT ); Fri, 19 Jan 2018 16:49:18 -0500 Received: by mail-oi0-f41.google.com with SMTP id y141so2106548oia.0; Fri, 19 Jan 2018 13:49:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1qjDGCKTCH8vrAe2eqZsCbHGZbYZLzd6w4/MX+EAB5Q=; b=NUtq4DXXqveoENuxevInrprZCUNu3v9drdzTffnh86+aXpk9FPCUIlgURRkbLpTd9y xj9Z+LsJMY4QGHzbIXnru3LlSw0bmEGcEoOlQ2ypapVW07iTmORad8o/fCuy956Cduo2 1F0KajhmPxTpSMFZYmErzcPZ2Wo8/sXSsHzk/AFiiNYEW0hEUclFgDWWW6wfv/NCBGLc 8Z8A3iui2Cwlk6hnV8wM2Ke3ia6ewb/hel0tE56bgJETX2D4cCpjW0fhbOoVbk892cbw mTIlfJ/fVMf0UiLzdhzdJMIe0pM0O5Vnq5i39dnNShVyHlwP0JNAfDN6w9A7YRpHb3K0 GnHg== X-Gm-Message-State: AKwxytfZm9u0H7mEPYZI49AiwNB4p2U4+GmDVslq1sbYQID36Tn3qHtj YKKplm3eFSnW1WFZHS/yKLtw9hY= X-Received: by 10.202.107.132 with SMTP id g126mr2404488oic.67.1516398557968; Fri, 19 Jan 2018 13:49:17 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id d66sm571929oif.34.2018.01.19.13.49.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jan 2018 13:49:17 -0800 (PST) Date: Fri, 19 Jan 2018 15:49:16 -0600 From: Rob Herring To: Brian Norris Cc: Enric Balletbo Serra , William Wu , Kishon Vijay Abraham I , Heiko =?iso-8859-1?Q?St=FCbner?= , linux-kernel , "open list:ARM/Rockchip SoC..." , Linux ARM , "devicetree@vger.kernel.org" , Frank Wang , huangtao@rock-chips.com, Doug Anderson , Guenter Roeck , daniel.meng@rock-chips.com, John.Youn@synopsys.com, lin.huang@rock-chips.com, Enric Balletbo i Serra Subject: Re: [PATCH 1/3] dt-bindings: phy: phy-rockchip-typec: add usb3 otg reset Message-ID: <20180119214916.fegrzgcmbbdiesyz@rob-hp-laptop> References: <1515751704-13213-1-git-send-email-william.wu@rock-chips.com> <1515751704-13213-2-git-send-email-william.wu@rock-chips.com> <20180117220715.GA112833@google.com> <20180118174748.GA63108@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180118174748.GA63108@google.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 09:47:50AM -0800, Brian Norris wrote: > On Thu, Jan 18, 2018 at 06:20:09PM +0100, Enric Balletbo Serra wrote: > > As Brian said commit 06c47e6286d5 'usb: dwc3: of-simple: Add support > > to get resets for the device' introduced the support to get the resets > > from dwc3-of-simple and the queued commit 'b7e63d95c14d arm64: dts: > > rockchip: add reset property for dwc3 controllers on rk3399' started > > using it. Without the latest I get errors like this doing bind/unbind > > tests. > > > > dwc3: probe of fe900000.dwc3 failed with error -110 > > > > I just tested these series on top of mainline, I reverted my patch > > because otherwise two drivers are requesting the same reset and fails, > > and I did some of the bind/unbind test. They just worked fine, and > > seems that this is right way, so this makes me think some questions. > > Actually, this was intended to coexist with DWC3 optionally controlling > the same reset. It was written before the reset framework was rewritten > to have shared and exclusive resets. Should this be rewritten to use > shared resets? We'd have to modify both dwc3 core and the PHY driver. Seems like abuse of DT to me. If you need to control the controller's reset from the phy driver, then get the reset out of the controller node. The phy node should describe the connections to the phy. Rob