Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp193693iob; Tue, 17 May 2022 23:26:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTzf3fO4I93wX5tAtRFpuVfPnRs76lBVRi462IsKCUyayAYG6Fu4plYvfBauzajBlqarxW X-Received: by 2002:a17:902:d58f:b0:161:9abd:cff1 with SMTP id k15-20020a170902d58f00b001619abdcff1mr9193438plh.135.1652855168749; Tue, 17 May 2022 23:26:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652855168; cv=none; d=google.com; s=arc-20160816; b=x5SFfisrPkrBmTE1tNeg0VHbYGWR9GChI/HHw/0z7J5BkjsUxbW4HTyw5FWnYOgzTP pjLZrT5x0KK4hw6eu6iGdP6sRLvTQ2aypXMQwQGdw87F8Jll3Y69qAY/nA1c8xhcqVdI rFJ6Br5HFSXbJhDMnVyo0FkC1hvXB+HjKFGQc3olzyU3312WSVcO1KVMbu3VSGPHqkd1 B6ypLEol4E27Hkcwnj5B4HhT5nwfYDzKweF+IAu2aNn/t1oXC4looovzqqEQGGP1AHSm 9Burwm1pIUIKDiV+CJwggG83ZfYIqfVSmWwvD4B7pFg+erv0lpnvdv2kU6diT3QUogaq CihQ== 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=Me87pAj0SmrGeqIXqHs1XAXK7kEqz39QMHSFLkzw+Z8=; b=DCYZEk+B7lHKMguHUoOSMtqmuLqcVqqMmTZ68CznNpBT1gTsjRIX2WHBYpiCQIKikY h/HqErF9Hr7AC7uWldAgroXe9+Jz+yewFwMBXD0jZlgp323DWxWJheYs1gTpgN7nXNjs EE5+NaVz/BXaOzeCehSsR1j1W03Mj33HukjaHApVvz0wjMXnUZ3cw1P5c8CZyDwFqQGm wliBhnjnqGnZ2VfNNM3QJHl745sFFuVQPT84+i7ThAj8eN5JQpe0LQMQ+HnogDV+y7NE CYDVqGiCHEfVZtKrrvH/02v2enVzGskpZ9Xw0xcHyvJrDBVSfCIPwQaGA3YpUu51/15C IJQg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h34-20020a635762000000b003c23346be2csi1554202pgm.732.2022.05.17.23.25.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 23:26:08 -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; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BD91DCFE1D; Tue, 17 May 2022 23:22:22 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231241AbiERGWH (ORCPT + 99 others); Wed, 18 May 2022 02:22:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231205AbiERGWD (ORCPT ); Wed, 18 May 2022 02:22:03 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 531BF23BC1; Tue, 17 May 2022 23:22:02 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 24I6790g080863; Wed, 18 May 2022 14:07:10 +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; Wed, 18 May 2022 14:20:51 +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 , , , , , , , , , Krzysztof Kozlowski Subject: [PATCH v3 3/3] dt-bindings: usb: add documentation for aspeed udc Date: Wed, 18 May 2022 14:20:43 +0800 Message-ID: <20220518062043.1075360-4-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220518062043.1075360-1-neal_liu@aspeedtech.com> References: <20220518062043.1075360-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 24I6790g080863 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Reviewed-by: Krzysztof Kozlowski --- .../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..c3b6be3d8002 --- /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 + udc: 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