Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp980953img; Thu, 28 Feb 2019 10:57:57 -0800 (PST) X-Google-Smtp-Source: APXvYqyjnoUQfqvV3Rd2Q6xMA3QZb7go1wKwmkRzuyYnXg8djT3lsD+GfY4afOl1R58AeUKe9x3L X-Received: by 2002:a17:902:765:: with SMTP id 92mr858820pli.95.1551380277139; Thu, 28 Feb 2019 10:57:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551380277; cv=none; d=google.com; s=arc-20160816; b=LRECdnaa3jCY830SEEhC3xssA1vz+kBoT2htWoi1PzqaTLcbV/hfpK34Y0+k6D9rBn YtZV7KBQ/n6FcbIpiDWwCXjoLJD0Z1hwi2FogXtaj3XMkNMY0IUYcboza9j88A/wAthF KA6eYDLUp9qzargZESAqPS10nls3Aou8nTsOmTNxHsZdzZtxql6+Lv/mzLTOjkYf6s6w 9XtdGJ6JwZt46ByF/RGOF8I8e6ICtVpuGRQ8pvxqtkDAC0mWQLEPKJGkfY8Tu7fr3T6X 7iaQFWih5PMShWOLViUlI9cjrSSU/aD7fqqJ8xL+CBhWd9PT/cYbTcIN2MNDc1KlzdAV DEpg== 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=98AWKld5QLCkl0Wvvbp9U3nCyF5TJUGiPBk9GNqvVbk=; b=hDFAuP51G2SrNWmYz5kAbMgh6wd6+W+NiI8NJUX8pBJyY7gIJvc8xAsLixLP2vGmk2 CLoc8vmmdpupQZ11R7NHOUrj12LOmce6wC2vmK4OGa5wFENZ2XczXUIHFnIW7qq5jMU0 uzNG/xYlgdEdfv1wRcuaW2wyGzQBQv0WYjEwb3dSQnIM2Q1fnkz1RlIGsvHD7mREaC35 aZC2/f1WaRT6wcBy+w9i07EEgto/BqwK6jFrNDZ+M9HeAjzu88C1DYUg8ZDZTWndfDy8 fGS4oiaFw3GnnYXkcOPUxEcvdwH3CI3ngZWhzSYfLaThCwUDNYtQCQ8yXFXWAkbnoZIq LZgQ== 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 l10si18765767pfb.283.2019.02.28.10.57.41; Thu, 28 Feb 2019 10:57:57 -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 S2388413AbfB1Sps (ORCPT + 99 others); Thu, 28 Feb 2019 13:45:48 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:49122 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbfB1Spr (ORCPT ); Thu, 28 Feb 2019 13:45:47 -0500 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 4989D15632; Thu, 28 Feb 2019 18:45:45 +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: [PATCH 1/2] dt-bindings: usb: add non-removable-ports hub property Date: Thu, 28 Feb 2019 18:45:39 +0000 Message-Id: <20190228184540.24570-1-mans@mansr.com> X-Mailer: git-send-email 2.20.1 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.20.1