Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp968327ybl; Fri, 24 Jan 2020 12:54:26 -0800 (PST) X-Google-Smtp-Source: APXvYqxl7GCzVNiIZ7hqdoR/foFK+zBoCtQYpNdMVYuEmIuenjDMq/OqsO4khovQ18Tr4TtBrJ1L X-Received: by 2002:a9d:7616:: with SMTP id k22mr4226443otl.364.1579899266066; Fri, 24 Jan 2020 12:54:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579899266; cv=none; d=google.com; s=arc-20160816; b=IIdTqfeEKDsYdODpLCYkIJYc00gGbjwq3Y0FpEqLEPOEheouX6ELk1AYaE7m6VNdLU Und+3dopxQZ1Qf4KhULrK42BHwO5oiSUsgzipzR9K7H/Y0Rqjv97ZgDIiu6R4MAwOk0O 7TZTgQKPrfS7+x2If+1QtLZfelm5vUDJUMHIfOFb7TsrnLxfBzMdjq6242lOBmPq+Z3h Jeqt2W5KDMM78QByb/1S4trVl7i4suWlguiKz+AhMZqunL+gOT9yp3UpubaLZyabZy1b dCbPD9hpSDtyrIGCOSe8ao9hkBvOuxik05o5Ci0qbA8VQnmH0DKsEOM0e37wQP117Bkt C7dg== 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:mime-version :message-id:date:subject:cc:to:from; bh=BpzsDh/RD/hK1mCoW4D8C+hgZ6C8+UDFYC5iAFe9DqQ=; b=VGTVH4USDvEOM0MJPBQ6CqWAkCM/Bd+55Re4IN5Dth5Zi/w9hedxcGt38az5WQr4fK dCyAa5d4RSa2UAghRZfbVHksBjllOcVx78zRz84JaeSgjdKLiD79DpRDhWnG4OyxC0Jf A1REaQLx9BhHXANaFQaIZNTNzADANpBPNMhMJ4jj7c4xOHF3q9oKhgepwa73QUNUJcKl zfNq+H9ZYisEylHM37/Xbea5Hf9ypVUehtHfWRgu6xFQ5b7fQjypxXsae50IwsIjq4LU fDye2eOTV73unu1CgzD4P75RGGt7oAseSJML/SqiEIj33AxXYMIqI/JCxbI7qbE7nmX+ bjSA== 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 z16si3438247otk.80.2020.01.24.12.54.14; Fri, 24 Jan 2020 12:54:26 -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 S2388307AbgAXPcu (ORCPT + 99 others); Fri, 24 Jan 2020 10:32:50 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:38110 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387724AbgAXPct (ORCPT ); Fri, 24 Jan 2020 10:32:49 -0500 Received: by unicorn.mansr.com (Postfix, from userid 51770) id C71C4118E1; Fri, 24 Jan 2020 15:25:40 +0000 (GMT) From: Mans Rullgard To: Greg Kroah-Hartman , Rob Herring , Mark Rutland Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RESEND][PATCH 1/2] dt-bindings: usb: add non-removable-ports hub property Date: Fri, 24 Jan 2020 15:25:03 +0000 Message-Id: <20200124152504.23411-1-mans@mansr.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a non-removable-ports property that lists the hardwired downstream ports of a hub. Although hubs can provide this information, they are not always configured correctly. An alternate means of indicating this for built-in USB devices is thus useful. Signed-off-by: Mans Rullgard --- 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 + + Example: &usb1 { /* host controller */ -- 2.25.0