Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2702217rdh; Wed, 27 Sep 2023 10:04:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuraXjno67B2Sk9TnUwLBuHOXNrsgp1a2t+/PMlNnpdM//cu0uO0urI3V8Krj0nv69FQ6b X-Received: by 2002:a05:6a20:3c87:b0:161:28e0:9abd with SMTP id b7-20020a056a203c8700b0016128e09abdmr2836006pzj.16.1695834239812; Wed, 27 Sep 2023 10:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695834239; cv=none; d=google.com; s=arc-20160816; b=bPm8snLV/6vGn0veMCyBtF82hMPce5KoUwKnrLiyeL6uBrnU97c4VCXCq4e+SKcTt5 Qs9mV0oVOGBMf8r8NV+coaM1nxMJnq+lnUVBkgNYcHpjjQYiDtuM5a8RG3i3KXOqqaQd X0Nx9lFKZgVLikpUboPge4QTkIdjy7hJuwiH5ZR2VZzaet/pcT1UvnxtRQtV+rnP3QDI QlSbkf1dXxgh5XvRqJhz2xl4AqolNKlCsutmmqebfP8QIw7Sm9PfYR7UK56Lx/O72UXt aGXp/X3dPRa4LMGKnqZMzY3NCDi40B0MkY50aMwyumz9oBwgTxhIrqhUBKaLTAMpBa7L C8WQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=gSltDdltLQGcaEOiB1Z0QBV81kUnvFejKi4y+u0EZjs=; fh=l0j/sX16vfpi/oZ3zuhFuzonJ7kkautdUXCrc1sjEAM=; b=CUNRydOTTuY2e38OBLVpTbUHjBXKKww3dnHCSBZHC4jTurS1gWivOnrO1/QZXt1B8G mZxl83ck7Gtz2Ogcyz2bQ0FvGxagnac2Vnp1rBv2smM8kxdUAlRStpQ/qEyJxrPrRLRJ KKFhrLB84Ne2Y2kCuXymFuja/W75LwsN0y8SyotQhzXSI2W4/CTONLHg3k1JttgDGhIl DFzi2GYKhW7h3GN1gC93t7MWFD/Ndc3d+CwdW3y9/sb7fKK83pc+XYlyShX5ho1nOu/c Prv65lSQTfB9RftPfpoHHMzWdcPyUAV2jWSEMElsc/ZQVyUf46R3vH8fxO/iP8SPFM3m QllQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T563OrhT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id d19-20020a637353000000b00573f9a427d9si16163514pgn.717.2023.09.27.10.03.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 10:03:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T563OrhT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 14C94830D129; Wed, 27 Sep 2023 09:54:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229473AbjI0Qy1 (ORCPT + 99 others); Wed, 27 Sep 2023 12:54:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjI0Qy0 (ORCPT ); Wed, 27 Sep 2023 12:54:26 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27CBEDD for ; Wed, 27 Sep 2023 09:54:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9649EC433C7; Wed, 27 Sep 2023 16:54:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695833664; bh=PbWliIL+YkhZx/7SImI4k4hkB5SastFowOtRO9Imz4k=; h=From:To:Cc:Subject:Date:From; b=T563OrhTCvY+vjXfbCikSv8n5+yLYxvGgPRibY122ZnVcMDfS0NfEwpkXZIuN2nJl i1xO/bzNLvdXZAFzvRLj8VJCxNYxg596/v8jBCmPK49XwEPTqT8axX9q4sOoI7+5E5 kmjov4C/ihxcWw1ZUrTYjGUy2zbhnXBTwAroo00pXxzoen/Rn6QNHA5an/aCNCEyS0 DBvSAxEIuXjqwzF54vFm+nrhwod7Z9sp/1n5lLgFRRHnV0fJ76dhMuv2O4UJpk+eUp eWR7+NsfInLgS3L8Z5zgLZ/MIzkZejSaXv7poJ8so6lad4vL5eFHjgkl5RCjkqytxl mySyjpQeih4wQ== From: Jisheng Zhang To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thinh Nguyen Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Guo Ren , Fu Wei , linux-riscv@lists.infradead.org Subject: [PATCH 0/2] usb: dwc3: add driver for T-HEAD TH1520 SoC Date: Thu, 28 Sep 2023 00:42:20 +0800 Message-Id: <20230927164222.3505-1-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 27 Sep 2023 09:54:35 -0700 (PDT) Add the usb driver support for T-HEAD TH1520 SoC. Since the clk part isn't mainlined, so SoC dts(i) changes are not included in this series. However, it can be tested by using fixed-clock. Jisheng Zhang (2): dt-bindings: usb: Add T-HEAD TH1520 USB controller usb: dwc3: add T-HEAD TH1520 usb driver .../bindings/usb/thead,th1520-usb.yaml | 73 +++++++++++ MAINTAINERS | 1 + drivers/usb/dwc3/Kconfig | 9 ++ drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/dwc3-thead.c | 119 ++++++++++++++++++ 5 files changed, 203 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/thead,th1520-usb.yaml create mode 100644 drivers/usb/dwc3/dwc3-thead.c -- 2.40.1