Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3550813iob; Tue, 17 May 2022 02:28:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaK5nJJbE9zbH6rM9W5BrPKPeEfWR1D8oj8qgRhijF3UBYWUXpVsrktCCZ0T8a+CMsqchV X-Received: by 2002:a17:907:3fa2:b0:6f4:b2a6:4992 with SMTP id hr34-20020a1709073fa200b006f4b2a64992mr19354824ejc.224.1652779684869; Tue, 17 May 2022 02:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652779684; cv=none; d=google.com; s=arc-20160816; b=ba51M+t7UeGUibQX1+6TI73an1lPhPvBhDMq77qVNXFYHerAIUHmklvn6RrogWMlqf Bh/qUi+NOOo4UewAPchbhQR3j/ItGNdAtvvZUfPNYLnoyIMYP38N00M0R8bTeknf+HKb QAzfZvRjpN5lzAVGphXdMYDph8BikgIP5MfCvX04DvEZczSQZLNOQe+rH0b6Gm81q9q4 1EPUxEiiY7nSMr3ohhYPkjELx+QPMc5HSom6pjuLQ2I4D3onX84FdRTY8ZVTay3HbTBm YskMCSAJj+P7qs9NlpzU7G6HxVK8we5fC9+OVR4yyz2TFOI/e9x4T5gSLrLpbdr2+hpq oCFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yXnjbpft+bX5iKHyOhw6Q9wgLml10zrOoJw9xPrE8Xw=; b=Ln91mfW+jwHTX8ZQwWZ9q9xuphoZUjveR8l6Dzpkanuh3xl1E41ocLOPNh2BDIO9yG ki2yyORZDNo7ffWUxps6NYpUfLLnue/8atrNjHbp6+rUZ+2NIVONUjfUCialWjtvpL86 aYf8wRVxh6PKV9+V9O1i10ji8gEC4uCz7OnvT98lUngUGudDIxO4AD7uiR8ycfqSGrzC iDX+sz12+4yAGIoLt/XwFqEsHnpytXuw5USOUrvZG6rugTlyqR3g9aZv0kF7n1KXC1oJ IKSMaK6AcRLsNQMWXq/pwl+H33kUbcjCVZFFXQv8pA39RRJtEP0sATL05FgzK1Dasn5W NWtQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc1-20020a1709071c0100b006e8a20ff40bsi2907514ejc.303.2022.05.17.02.27.39; Tue, 17 May 2022 02:28:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241789AbiEQI1F (ORCPT + 99 others); Tue, 17 May 2022 04:27:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243210AbiEQI0S (ORCPT ); Tue, 17 May 2022 04:26:18 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32D62F07 for ; Tue, 17 May 2022 01:26:16 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 24H8CR7W039693; Tue, 17 May 2022 16:12:27 +0800 (GMT-8) (envelope-from neal_liu@aspeedtech.com) Received: from localhost.localdomain (192.168.10.10) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 17 May 2022 16:26:05 +0800 From: Neal Liu To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Joel Stanley , "Andrew Jeffery" , Felipe Balbi , Sumit Semwal , =?UTF-8?q?Christian=20K=C3=B6nig?= , Geert Uytterhoeven , "Li Yang" CC: Neal Liu , , , , , , , , Subject: [PATCH v2 3/3] dt-bindings: usb: add documentation for aspeed udc Date: Tue, 17 May 2022 16:25:58 +0800 Message-ID: <20220517082558.3534161-4-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220517082558.3534161-1-neal_liu@aspeedtech.com> References: <20220517082558.3534161-1-neal_liu@aspeedtech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.10.10] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 24H8CR7W039693 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Add device tree binding documentation for the Aspeed USB2.0 Device Controller. Signed-off-by: Neal Liu --- .../bindings/usb/aspeed,ast2600-udc.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/aspeed,ast2600-udc.yaml diff --git a/Documentation/devicetree/bindings/usb/aspeed,ast2600-udc.yaml b/Documentation/devicetree/bindings/usb/aspeed,ast2600-udc.yaml new file mode 100644 index 000000000000..2e91d5179359 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/aspeed,ast2600-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,ast2600-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 + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + #include + usb: usb@1e6a2000 { + compatible = "aspeed,ast2600-udc"; + reg = <0x1e6a2000 0x300>; + interrupts = <9>; + clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb2bd_default>; + }; -- 2.25.1