From patchwork Mon Sep 28 06:39:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 297462 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B925C4727E for ; Mon, 28 Sep 2020 06:40:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2397621775 for ; Mon, 28 Sep 2020 06:40:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="g0OwGmWS" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726672AbgI1GkE (ORCPT ); Mon, 28 Sep 2020 02:40:04 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:54687 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725290AbgI1GkD (ORCPT ); Mon, 28 Sep 2020 02:40:03 -0400 X-UUID: e6c616e87d7f4171aa3467c6e9969704-20200928 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=+HdmJUlYIhIyB79Xpt5EornlfjSODCsjG1SM502RXk8=; b=g0OwGmWS+eD/xl3H2/+7A1y7nJJ0avrhHq1MB41kw8rfrb/J1JADPWeT7nl2NnnZVztVLtVpTClMc89BcjbtORY/S+eL4Jqhky2F5DHFYMIMXac4cJc9jTDn8t9ZL4HeMBjMQ+Ywt/oJpC0nf1RsgBOszK1GznEKawY5fOFd+/k=; X-UUID: e6c616e87d7f4171aa3467c6e9969704-20200928 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1958731539; Mon, 28 Sep 2020 14:39:57 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 28 Sep 2020 14:39:51 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 28 Sep 2020 14:39:51 +0800 From: Chunfeng Yun To: Greg Kroah-Hartman , Rob Herring CC: Matthias Brugger , , , , , , Chunfeng Yun Subject: [PATCH] dt-bindings: usb: add properties for hard wired devices Date: Mon, 28 Sep 2020 14:39:50 +0800 Message-ID: <20200928063950.64722-1-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-TM-SNTS-SMTP: C715C36883DF571B2943D3C2BC8449FA8642EE6F54243D31B2C87CA6628503F52000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add some optional properties which are needed for hard wired devices Signed-off-by: Chunfeng Yun --- Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.18.0 diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml index 7263b7f2b510..1194a82887e7 100644 --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml @@ -22,6 +22,17 @@ properties: description: Name specifier for the USB PHY + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^hub|device@[0-9a-f]+$": + type: object + description: The hard wired USB devices. See usb/usb-device.txt + examples: - | usb {