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=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 73699C2D0A8 for ; Mon, 28 Sep 2020 18:12:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 208CC2074F for ; Mon, 28 Sep 2020 18:12:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601316770; bh=g7+ivsB80uJT0o2X4ARszeO5r54r01fQHzJPHC/2qpg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=E70YiWCdUuGI9CUQVDBqomPDk+HjFPRUIRI+BJPUZPuJQM2YowyOSsltnuo7rxZu1 /TBFTL4gY+dg9p0zFLAWKiFXBm5BDWRNePTU8cu5pjX7VmRiE5GPgGvl4ys055Fdk2 L/Fu7lcsvTiFDeFpP4O7x4fWL/6MVjYY5QaUPrK4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726562AbgI1SMt (ORCPT ); Mon, 28 Sep 2020 14:12:49 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:38361 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726466AbgI1SMt (ORCPT ); Mon, 28 Sep 2020 14:12:49 -0400 Received: by mail-ot1-f66.google.com with SMTP id y5so1867943otg.5; Mon, 28 Sep 2020 11:12:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=/PtsW+8x2QZLtcNsrjnLIk2PYfpyw6cjz6HIC4oDjYI=; b=SR+Loz/9Y3EVx0YuyMAZztVVUmCt+5ctVfHmHgQWdyk6wiD0Uh/FieJ+MVcrpXsSnT ezChba7ltpbcA2j42q4pW25V54nZ5RvZzgPa5KJe9PZEEefn2YayU1CijW5Vp0twIbXt p0adsEX5zcbcRq3KEKHH80GcOp2erwq0t8jd1H8g0ah7IBU3XDrDWxod0X0uZif0C7mi dg+AIY8U0YNYH6/meW41prtxxbsxA3EkRV5NitWtjWeMvXePmbarUpNeuYZZB1gj6XOl lHpS2iq/TjcdLX4oniyy+0F63Ijr2QxJpTzDh6Q2N4pPGiTFgNe8TjpZOsn5p7H+5sr6 2QmA== X-Gm-Message-State: AOAM530m08/8+TJDYBkvg9PcOK/0xBy/Kq+/vgnJn8+F1FpP+JF+8E2v D+b/EFQ0VzpPwkQiwstmOw== X-Google-Smtp-Source: ABdhPJwEPb10fj9w9+iuDh14GzpFtGbcUbBT9YQT7EfkJduKMoyN4IcMJ50ib2BBgXy5CWOTTsFcig== X-Received: by 2002:a9d:6e91:: with SMTP id a17mr166967otr.284.1601316768301; Mon, 28 Sep 2020 11:12:48 -0700 (PDT) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id e22sm397977oib.18.2020.09.28.11.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 11:12:47 -0700 (PDT) Received: (nullmailer pid 3011832 invoked by uid 1000); Mon, 28 Sep 2020 18:12:47 -0000 Date: Mon, 28 Sep 2020 13:12:47 -0500 From: Rob Herring To: Chunfeng Yun Cc: Greg Kroah-Hartman , Matthias Brugger , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] dt-bindings: usb: add properties for hard wired devices Message-ID: <20200928181247.GA3008733@bogus> References: <20200928063950.64722-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200928063950.64722-1-chunfeng.yun@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > 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]+$": Could be any class of device, so '@[0-9a-f]+$' > + type: object > + description: The hard wired USB devices. See usb/usb-device.txt Ideally, we'd convert usb-device.txt to schema and reference it here. > + > examples: > - | > usb { > -- > 2.18.0