Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp650998ybl; Tue, 28 Jan 2020 09:29:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxmE9+ii+2DPIVAP1lahIeZ7GNkPDtrpyKhsaIeMc1Dp7UQRhSEX+Lw82a3HbR49p5+SoIz X-Received: by 2002:a54:4716:: with SMTP id k22mr3622694oik.39.1580232548870; Tue, 28 Jan 2020 09:29:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580232548; cv=none; d=google.com; s=arc-20160816; b=ff7ZDkKuXolYA5nxGE31+7yZR09yneO+DfzA0UvTCHCaS8tEvdWACBDm+JKEYvszFy BUP2c/G2020xPn15MxcE0/XN9O6nhOlyVPjmMKQKZSbvuqybRp4vVfmpM5bXQ0mqDvmC Ah5ER6wZdGVTlhmZAr8tI0gLDzyiRnwiElR0Jf7HJLZ8SzhZsiK0dKmhLXFDdmQ82Mmd s8gYKW5/97KteRgSHRP7kUESQg1ohCvPMNAegmB4BhqHKHfIgHzQmBjf6ENxh9Oc/1HI oe8vx4mbNE5eNjIN12Zjl+ZC+tz91gSxFIVRhb449e/k7uY6urIIiYllEJCtQjDKOUkv VsSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=OP43VmlHszgMl9t8KJWeRJfIWZGG3pZZejxJfMG6RT8=; b=jhptfjkv125cJXnoVSe9cXSaBzoEYD0fR7TpfGdZ8t++uOt/HZUUdrufS35vi7vKNS zI8uNS0czGobvfn4FbP9LNNwiENlz+zGCawjdSEGJQy+rTfBxZvbK6oaOA2tlOhQUhh1 qgofpzogM1OBUjryhv6eZ9+Tct/CnU1HQoRA+26m0mqkcpInrBhOgMOz++6tUfPUHRtn kNmCtxqY/eVls/De/vp1epWAFSefYCiktEXFTKX4UYURA3jO+XAKnz6zLe+OcBEhXYar DDbeAUh82wBdCBzXTR37KykzYTvRm7GiWaCPxWWbtyC3dmjP3XZu6uAAQNHUIZxacXWy SDMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="W0wgul/c"; 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 f204si4829610oia.43.2020.01.28.09.28.56; Tue, 28 Jan 2020 09:29:08 -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; dkim=pass header.i=@kernel.org header.s=default header.b="W0wgul/c"; 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 S1726561AbgA1R1w (ORCPT + 99 others); Tue, 28 Jan 2020 12:27:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:35648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbgA1R1w (ORCPT ); Tue, 28 Jan 2020 12:27:52 -0500 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (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 A42CE2467E; Tue, 28 Jan 2020 17:27:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580232470; bh=2r7YfbL9UUbs/P7wgljyb0t694akOrvI4j3adZdefA4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=W0wgul/caH/Yc+effaSlwkpSvk4pKuOoE2OHFoCUiNSrffgDE9XIgUNFVS0TSC+gD M7EXVFuFbJYfPEjS6CkOh7J39YWxDe4lM1QBnpqOGexAUcHSvN1Qr54sU0t03/omCi 2oUXeUBIKZxIiGcRnljzNAzTL5x8fw9OUkv+PA7Y= Received: by mail-qk1-f174.google.com with SMTP id s187so14138996qke.8; Tue, 28 Jan 2020 09:27:50 -0800 (PST) X-Gm-Message-State: APjAAAWJYROtQT+P+LQNQi3IZudd4GuQXWFOTIWM8Oka+FV56pWtrymR nR1q3+Yjfpe1dNdpOzncUBzHhrxSQ/38S0RXgw== X-Received: by 2002:a05:620a:9c7:: with SMTP id y7mr23200508qky.393.1580232469721; Tue, 28 Jan 2020 09:27:49 -0800 (PST) MIME-Version: 1.0 References: <20200124152504.23411-1-mans@mansr.com> <20200127153506.GA4589@bogus> <20200128134745.GA3048749@kroah.com> <20200128152818.GB3437093@kroah.com> In-Reply-To: <20200128152818.GB3437093@kroah.com> From: Rob Herring Date: Tue, 28 Jan 2020 11:27:38 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RESEND][PATCH 1/2] dt-bindings: usb: add non-removable-ports hub property To: Greg Kroah-Hartman Cc: =?UTF-8?B?TcOlbnMgUnVsbGfDpXJk?= , Mark Rutland , Linux USB List , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 28, 2020 at 9:28 AM Greg Kroah-Hartman wrote: > > On Tue, Jan 28, 2020 at 03:15:11PM +0000, M=C3=A5ns Rullg=C3=A5rd wrote: > > Greg Kroah-Hartman writes: > > > > > On Mon, Jan 27, 2020 at 04:56:15PM +0000, M=C3=A5ns Rullg=C3=A5rd wro= te: > > >> Rob Herring writes: > > >> > > >> > On Fri, Jan 24, 2020 at 03:25:03PM +0000, Mans Rullgard wrote: > > >> >> Add a non-removable-ports property that lists the hardwired downs= tream > > >> >> ports of a hub. Although hubs can provide this information, they= are > > >> >> not always configured correctly. An alternate means of indicatin= g this > > >> >> for built-in USB devices is thus useful. > > >> >> > > >> >> Signed-off-by: Mans Rullgard > > >> > > > >> > I reviewed this already, but since you didn't add my reviewed-by, = I'm > > >> > looking at it again and having 2nd thoughts. > > >> > > > >> >> --- > > >> >> Documentation/devicetree/bindings/usb/usb-device.txt | 4 ++++ > > >> >> 1 file changed, 4 insertions(+) > > >> >> > > >> >> diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt= b/Documentation/devicetree/bindings/usb/usb-device.txt > > >> >> index 036be172b1ae..92d863cc96b6 100644 > > >> >> --- a/Documentation/devicetree/bindings/usb/usb-device.txt > > >> >> +++ b/Documentation/devicetree/bindings/usb/usb-device.txt > > >> >> @@ -66,6 +66,10 @@ Required properties for host-controller nodes = with device nodes: > > >> >> - #size-cells: shall be 0 > > >> >> > > >> >> > > >> >> +Optional properties for hub and host-controller nodes: > > >> >> +- non-removable-ports: list of hardwired downstream ports > > >> > > > >> > If you have a hardwired device and need to know that, doesn't that= imply > > >> > there's some other stuff you need to describe beyond what a standa= rd USB > > >> > device has. Such as a power supply that's not Vbus from the hub. > > >> > > >> I suppose there could be, but there isn't in my actual situation. > > >> > > >> > At a minimum, I think this should be a per port property. > > >> > > >> That's what I suggested first. Greg told me to do it like this inst= ead. > > > > > > I said that? I do not remember discussing this at all, when did that > > > happen? > > > > https://lore.kernel.org/lkml/20190228155241.GC12050@kroah.com/ > > Almost a full year ago! Hah, I can't remember what I wrote last week. I was typing up the same thing... :)