Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp989535iob; Fri, 13 May 2022 18:47:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNlHg2O2yoZP3KiUDSmgP4M8BQluQ3xJQICe1nt88beIN3jHeyGDHg4QNcREBQL28LYOUT X-Received: by 2002:a7b:ce02:0:b0:381:2007:f75c with SMTP id m2-20020a7bce02000000b003812007f75cmr17701253wmc.6.1652492821059; Fri, 13 May 2022 18:47:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652492821; cv=none; d=google.com; s=arc-20160816; b=IeX/IVoNhiBRJfVosHSD+NbcX81xKML8jd34JWD+2wIUvP2gtdvodJP2pq5gys8y5c piAGzrgEmAyjVcFucVxw9L8NvTirySPigpEvgUupEgwhBx51bPv51Wcd3gE/2s+Qfk2V wfxNTSI1AEMtHnUQDCoN0WjfqJOLIIbmGM5hjeuiL1qR3etD3XkffQ8qu+YR1k9fVAi0 3uAgnK1lbh+kbDb8MwPXQ8Eg0R38Q1WwTUqf544Sy33xDDHi6AIxGiiRu4ThjJ8RyJxX iVviD5bU+ZAGzCieNIaXCuXKMypybgnsONwxfx/E/DLw+wugDFPQDrkHWDhhJwXXrxHw 1tSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=tQhMv5wgd6P5e5ZPKnJXTqhF5TWWKVPkk+00hnqjRXs=; b=Aa5dVaAVx9Da9eYo3HkCkkZIgwBwH925mH1hWiQBmTWPBAzEfFdZaGEBHkUy+8+GHs u7Ck8tbWNk5hwQ4En380ZZAsAmJSo0um6OuEnTGxiWQGLJi9Fx/OhiKVt/+vdb5yojKl Y2SwS+k43kh5DrZ9tvC9sEeBd4WOq5ud9gMd673P4oIR4nZ1iVtlUELSQCZj5P/pZAIk wdDbJxCvpiK5vv9RCkJYxWFlkUa+fZ+X2PbBzbURA1OrS7fPLMnecUc8ouvfUVckAKFH ftYO/mRn5l1CQnMN0+C3pXkSChUmDTtn9cXFsJdckpCKGluGG1qC4XTwwpXFlNhYDmXr z/2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l8ZqzODx; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x12-20020a5d6b4c000000b0020a95717e07si3373313wrw.975.2022.05.13.18.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:47:01 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l8ZqzODx; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 76E5643B9D0; Fri, 13 May 2022 17:11:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378270AbiEMJHO (ORCPT + 99 others); Fri, 13 May 2022 05:07:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378787AbiEMJHI (ORCPT ); Fri, 13 May 2022 05:07:08 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ECB1B36CF for ; Fri, 13 May 2022 02:07:07 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id u3so10567592wrg.3 for ; Fri, 13 May 2022 02:07:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=tQhMv5wgd6P5e5ZPKnJXTqhF5TWWKVPkk+00hnqjRXs=; b=l8ZqzODxTeK4g2pTFG9ZfVYndijHwk3ii/cTxtexptHo590e35fS20iJwufNZdEh92 2jnMvPNFHcft1cWJ2CbcRhtpHmMAmc8dJINengKkOOb5LUd5kbGum+qa3F+Uqhq9WxGl Y+4vNppopCVyTh/NMA/pHCUtSirsXcuUpHKpHmqmDSiZwaJhIZS9BkwROWE1xhfpXly0 vSZYHS/eCsuDxwTwx4exGV1Fcw0wIFsgGORQL+NhF0F+GT4P72xlIFvgV2ehYcMbmDo+ /yl0yWZV9wzV5KCbXL8PYSXGFZ+bnosYCEC8iFJe3AHNNRz4j1c+vziQGTi+0eTaY+OS xqFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=tQhMv5wgd6P5e5ZPKnJXTqhF5TWWKVPkk+00hnqjRXs=; b=EazZT4sfcTjjRujUuhHTXKAWja2bZB/uzFTA1i82s8faVjEII3RoE3/zdxpQStl48k zaN3VnKFrGQ7GIGZml7qGHrVWS3hZSyXJsY/kRqx6XLXntHEtzEXyH5jY9JxFhvXIuSI ts6NtntIZdL4aP67QyIGq4Bkebc5MP4WOuk+0LxFrkxG+Z7zxjaLGo8kEwh17+qDmHV8 vt2CH9aBCUfhCX/D+DYOJNreb+aAKZvWvAnJ18bUIL+MDcVQkVt9kHN2Vj7Jn6zauEzM Ya+/IN/2TVv5BhOYRFRNK5sTJBgv/yKwo6SrLfeiyp/tLeWIG6q/5JqwIvYw3zhFvsWD 4BXA== X-Gm-Message-State: AOAM530J6xDjrWadvmVtI3gD3C8KdI7/djLww+M8mqZzNGWyEwaLxMLM 5b3auA2fhU3nAmXz+6ktsCqAhA== X-Received: by 2002:a5d:4090:0:b0:20c:8b91:3b17 with SMTP id o16-20020a5d4090000000b0020c8b913b17mr2991905wrp.348.1652432826026; Fri, 13 May 2022 02:07:06 -0700 (PDT) Received: from [192.168.0.169] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id s23-20020adfa297000000b0020c5253d8f4sm1662710wra.64.2022.05.13.02.07.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 May 2022 02:07:05 -0700 (PDT) Message-ID: Date: Fri, 13 May 2022 11:07:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH 3/3] dt-bindings: usb: add documentation for aspeed udc Content-Language: en-US To: Neal Liu , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , Felipe Balbi , Sumit Semwal , =?UTF-8?Q?Christian_K=c3=b6nig?= , Geert Uytterhoeven , Li Yang Cc: linux-aspeed@lists.ozlabs.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, BMC-SW@aspeedtech.com References: <20220513065728.857722-1-neal_liu@aspeedtech.com> <20220513065728.857722-4-neal_liu@aspeedtech.com> From: Krzysztof Kozlowski In-Reply-To: <20220513065728.857722-4-neal_liu@aspeedtech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/05/2022 08:57, Neal Liu wrote: > Add device tree binding documentation for the Aspeed USB2.0 Device > Controller. > > Signed-off-by: Neal Liu > --- > .../devicetree/bindings/usb/aspeed,udc.yaml | 52 +++++++++++++++++++ > 1 file changed, 52 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/aspeed,udc.yaml Please name the file as first compatible, so "aspeed,ast2600-udc.yaml" > > diff --git a/Documentation/devicetree/bindings/usb/aspeed,udc.yaml b/Documentation/devicetree/bindings/usb/aspeed,udc.yaml > new file mode 100644 > index 000000000000..d1d2f77d1c54 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/aspeed,udc.yaml > @@ -0,0 +1,52 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright (c) 2020 Facebook Inc. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/usb/aspeed,udc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ASPEED USB 2.0 Device Controller > + > +maintainers: > + - Neal Liu > + > +description: |+ > + The ASPEED USB 2.0 Device Controller implements 1 control endpoint and > + 4 generic endpoints for AST260x. > + > + Supports independent DMA channel for each generic endpoint. > + Supports 32/256 stages descriptor mode for all generic endpoints. > + > +properties: > + compatible: > + enum: > + - aspeed,ast2600-udc > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 No child properties? No ports or any other devices? No usb-hcd.yaml? > + > +required: > + - compatible > + - reg > + - clocks > + - interrupts > + > +additionalProperties: false > + > +examples: > + - | > + #include > + udc: udc@1e6a2000 { Node name: usb > + compatible = "aspeed,ast2600-udc"; > + reg = <0x1e6a2000 0x300>; > + interrupts = <9>; > + clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usb2bd_default>; > + }; Best regards, Krzysztof