Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4567807ybp; Mon, 14 Oct 2019 06:45:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2GCO4Ga1ckMMWQ8fMx68h0yilbb2u2/OMLoBcFFLs9TGODKGvGsV5Zvuzk19y8KcluBRx X-Received: by 2002:a05:6402:557:: with SMTP id i23mr28067048edx.71.1571060704302; Mon, 14 Oct 2019 06:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571060704; cv=none; d=google.com; s=arc-20160816; b=wpJC4GxXmNcTZDoz2lVM4fQMocIABe6gEXJ5+JF52SlV/XPG/RJa+UZWcJ8JqCC8M8 xo1+MWzYW7OoiMABQEpC7Lx/ZYlXZQ0MsfsqtpLFPH6wzfGKn+O/nakI6eDLqmYMqXi7 1ZgSuH10AqEpjVi6/KfeWOM/0w0i8zKf6AQU5g7xikaq+kUzc+1WfxkkgnAHEo09DpSn skU/Vay2Xj/Qg/0jm60LSILwgQOHFxcgGDMsPn19Hez1ZEmenL2fBo/AHAhEi20DbJFU +Di9uofAmhEY3pLEJt4J2pENyZCIN0GNFY3IVoZ7wVe/74SVtXczDTkX6pzhwYhmPTAp 0vsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=R2o6W0/0TblgmHzx3gM9A0NpSoKcJqRz6eDlfXz6XN4=; b=GnGuwtSSOpsFs/iFGJ4hl0Ko6Jh8ljAjWT61sr8G/2VTBd8eyYUatjYhTotIzYnZpt qVLNsyQyUhhUrrMW/nJbwP0WQc9edJ07x7PG5wu6NUvVNODfqd7mk7mgTgeicsDrcbiV HHKF15/ngVck/p/p5974KiIxhcDY99E1Rkh8IWpqeQO6f4rqiYDcH2WyYiA+oDuV93Bz Jgyidb8VVU+eeK6OeyVIdkHRUxjfl/3dPi7jnQF2+H3qesiG2YyUZjya3MCH39CfnKAU 4ksV/8OM/8HaqS8LUf5jWYR5c0Lv6NMaNWJqTO4dbtS+pLrtsnNdJ7hXfSQrUB9RYHYa SEUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U2+L9Vzb; 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=pass (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 ym1si11377847ejb.263.2019.10.14.06.44.40; Mon, 14 Oct 2019 06:45:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=U2+L9Vzb; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732223AbfJNNkv (ORCPT + 99 others); Mon, 14 Oct 2019 09:40:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:40246 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727789AbfJNNku (ORCPT ); Mon, 14 Oct 2019 09:40:50 -0400 Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4F66E21835; Mon, 14 Oct 2019 13:40:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571060450; bh=R2o6W0/0TblgmHzx3gM9A0NpSoKcJqRz6eDlfXz6XN4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=U2+L9VzboJXV0N3iftjQmcLOkVpTPd5h8a/0GAviicYaukfL5/dLsE4lf7lSH0ACk Vv4eA6G7K/0BV90zL5Z+XEIGJo7fPNvZGdrSU3v/Aja4yzQzJCYCa+YZVDD//0Q0qb tQUbwRrDRcdblcJEiUnn2SZTwWu3zI8ltJPTG6yc= Received: by mail-qk1-f171.google.com with SMTP id x4so11974170qkx.5; Mon, 14 Oct 2019 06:40:50 -0700 (PDT) X-Gm-Message-State: APjAAAU6wAFIi4jnw/WgdKxCBemFbs4TOzsdjLJrUKtfZPZ9+3rlgLUK Su/yeDfyXX7rHfLb8SRU8LdZyIfk8CLgxVbrhA== X-Received: by 2002:a37:98c1:: with SMTP id a184mr27642670qke.119.1571060449437; Mon, 14 Oct 2019 06:40:49 -0700 (PDT) MIME-Version: 1.0 References: <20191009024343.30218-1-jckuo@nvidia.com> <20191009024343.30218-4-jckuo@nvidia.com> <20191009233900.GA9109@bogus> <20191014131752.GF422231@ulmo> In-Reply-To: <20191014131752.GF422231@ulmo> From: Rob Herring Date: Mon, 14 Oct 2019 08:40:37 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 3/5] dt-bindings: phy: tegra: Add Tegra194 support To: Thierry Reding Cc: JC Kuo , Greg Kroah-Hartman , Jon Hunter , Kishon Vijay Abraham I , linux-tegra@vger.kernel.org, Linux USB List , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, Nagarjuna Kristam Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 14, 2019 at 8:17 AM Thierry Reding wrote: > > On Wed, Oct 09, 2019 at 06:39:00PM -0500, Rob Herring wrote: > > On Wed, Oct 09, 2019 at 10:43:41AM +0800, JC Kuo wrote: > > > Extend the bindings to cover the set of features found in Tegra194. > > > Note that, technically, there are four more supplies connected to the > > > XUSB pad controller (DVDD_PEX, DVDD_PEX_PLL, HVDD_PEX and HVDD_PEX_PLL) > > > , but the power sequencing requirements of Tegra194 require these to be > > > under the control of the PMIC. > > > > > > Tegra194 XUSB PADCTL supports up to USB 3.1 Gen 2 speed, however, it is > > > possible for some platforms have long signal trace that could not > > > provide sufficient electrical environment for Gen 2 speed. To deal with > > > this, a new device node property "nvidia,disable-gen2" was added to > > > Tegra194 that be used to specifically disable Gen 2 speed for a > > > particular USB 3.0 port so that the port can be limited to Gen 1 speed > > > and avoid the instability. > > > > I suspect this may be a common issue and we should have a common > > property. Typically, this kind of property is in the controller though > > and supports multiple speed limits. See PCI bindings for inspiration. > > Given that support for gen 2 speeds is dependent on signal trace length, > it doesn't really make sense to restrict the whole controller to a given > speed if only the signal trace for a single port exceeds the limit for > which gen 2 would work. > > Also, the USB PHYs are in a different hardware block than the USB > controller, so this really is a property of the PHY block, not the USB > controller. Okay, but still should be common for USB PHYs IMO. Rob