Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp608949ybx; Wed, 30 Oct 2019 02:03:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+8iRCOQUTPaJUEP27eXcwQGSATUC7wRkFPA76fh5HzSRLJAQzDMhJ7wfFzNwvQUNMnhNl X-Received: by 2002:a50:e609:: with SMTP id y9mr28856455edm.55.1572426194177; Wed, 30 Oct 2019 02:03:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572426194; cv=none; d=google.com; s=arc-20160816; b=OZcKeXaX895QHDb/vmdhT8K2CWdv162qyw4d68QBwwNwtFa02PN7c5NHNDfkP96dbM XHiYB8GIlDBY4oX0XUOo69gB+gLk45ENnFSjulC/PRE+exm7b60B5irhnPWfjArEOJGo x2Yz9/kA8FfGcHH02HJCU2+f/H4dulzSle4IYpLsp8c2Pdlh/POlqy5+Teo42wV2FGgV sc5BxOlXoagO+agCH4aI9GZ2LuNFImS7O5XJfUQ7d7pxzhumKg0vcwmV7b9e3t3x0uWD RPEirqUSQrcx94IieCFjn43AkibPWUcS7znM5uut5k3e6/TbEB3DGWuVOaVN6j27gk03 9HbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=NhCqdTZfG4dQExPVweZIkifVMBRDMzhce9+j0kEZ50o=; b=ixrZj/eJNfleLwwpUxkvIF6BbOH9v6VEGyzRxsvxkWD3f1FhMdIaahOHmsG9pGZSDP Oi+302X2eZJ7K6U/RoejNjp8rjDK1dV8/dFrh/nA270kFstc/nZwEZ78hbnN6JK86tmq KAp7EyaHFVKYN3ZgdzJrIdz7BIENavigbpDRdcmIJgetIHUU9v2X4Q4ZoFvTel2Z+EXW NuDnhwQcv/tUXYMlimNlDUW01LbajWHRmqK5s5t4m3HzWXTP65/HMPk449mQKTpCKudA rNTdWHNjc27TMX+gB6rN5VHCzq3S7tDakVPU+1XfRqq8MV57oDuj1/wpqLJu5jX5i4n5 Hwmg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si1153880edi.308.2019.10.30.02.02.50; Wed, 30 Oct 2019 02:03:14 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726487AbfJ3JBz (ORCPT + 99 others); Wed, 30 Oct 2019 05:01:55 -0400 Received: from mga06.intel.com ([134.134.136.31]:32433 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726284AbfJ3JBy (ORCPT ); Wed, 30 Oct 2019 05:01:54 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2019 02:01:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,246,1569308400"; d="scan'208";a="193903444" Received: from pipin.fi.intel.com (HELO pipin) ([10.237.72.175]) by orsmga008.jf.intel.com with ESMTP; 30 Oct 2019 02:01:49 -0700 From: Felipe Balbi To: John Stultz Cc: lkml , Greg Kroah-Hartman , Rob Herring , Mark Rutland , ShuFan Lee , Heikki Krogerus , Suzuki K Poulose , Chunfeng Yun , Yu Chen , Hans de Goede , Andy Shevchenko , Jun Li , Valentin Schneider , Jack Pham , Linux USB List , "open list\:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH v4 6/9] usb: dwc3: Rework resets initialization to be more flexible In-Reply-To: References: <20191028215919.83697-1-john.stultz@linaro.org> <20191028215919.83697-7-john.stultz@linaro.org> <87h83rj4ha.fsf@gmail.com> Date: Wed, 30 Oct 2019 11:01:49 +0200 Message-ID: <87k18mhaiq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, John Stultz writes: > On Tue, Oct 29, 2019 at 2:17 AM Felipe Balbi wrote: >> John Stultz writes: >> > The dwc3 core binding specifies one reset. >> > >> > However some variants of the hardware my not have more. >> ^^ >> may >> >> According to synopsys databook, there's a single *input* reset signal on >> this IP. What is this extra reset you have? >> >> Is this, perhaps, specific to your glue layer around the synopsys ip? > > Likely (again, I unfortunately don't have a ton of detail on the hardware). > >> Should, perhaps, your extra reset be managed by the glue layer? > > So yes the dwc3-of-simple does much of this already (it handles > multiple resets, and variable clocks), but unfortunately we seem to > need new bindings for each device added? I think the suggestion from > Rob was due to the sprawl of bindings for the glue code, and the extra > complexity of the parent node. So I believe Rob just thought it made > sense to collapse this down into the core? > > I'm not really passionate about either approach, and am happy to > rework (as long as there is eventual progress :). > Just let me know what you'd prefer. Well, I was under the impression we were supposed to describe the HW. Synopsys IP has a single reset input :-p -- balbi