From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 4307EC2D0A8 for ; Mon, 28 Sep 2020 06:51:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B801323119 for ; Mon, 28 Sep 2020 06:51:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="x1AMnJZz"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="g0OwGmWS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B801323119 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=peQaZQObt0MKkN8YneZtXlLGClJxnMFaxKX/jivKWYA=; b=x1AMnJZzpQhjbsXWcoRgrO3uHU VDvkYTFuExSvJmawM4pFjGHV5y4nA9G/G7UXOdDT4bzhr8kH2D4Br1V4E2NPBTJvRKR7MGAZPdb2C fiB5OCXW+C0JSk4LrxrMQ20WklBOfstfkg1B8lf6ExCFJF1HMKitj8ZHr3yrEMZSi8VrGB2B3C48g ZllaaL3iFEHpMom41ztnMjQaGZIm0USMz0WAFy5wC7gIbfODdrWcpjnJ3sthKEU1pIo+WjK8Mpahv QtFEcpWlAbJbJwFKBtKbV8xMbZmYi4AJ6u9Afg7Ir1WFo/VYbuk9BeQ0C9JJROFvWu2LmI1Gccu7X qXHoioPw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMmzF-0005ca-Dd; Mon, 28 Sep 2020 06:50:13 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMmzB-0005ZA-Ru; Mon, 28 Sep 2020 06:50:11 +0000 X-UUID: bd9837121ed84dc88e7c9019047f9159-20200927 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: bd9837121ed84dc88e7c9019047f9159-20200927 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1305327477; Sun, 27 Sep 2020 22:50:00 -0800 Received: from MTKMBS31N2.mediatek.inc (172.27.4.87) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 27 Sep 2020 23:39:57 -0700 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200928_025010_041165_80787145 X-CRM114-Status: GOOD ( 10.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Chunfeng Yun , linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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(+) 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 { -- 2.18.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel