From patchwork Fri Feb 23 17:17:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xiwen via B4 Relay X-Patchwork-Id: 20887 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp725960dyb; Fri, 23 Feb 2024 09:18:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVz03iJoZYhUJZuPCBadheoeMDkjyYQmRRuZeq+sHWYOSJGjCjFOT0B4HQgxwzIHDZfvdOkkvPqZw6rLLfzMeWMV2Nwig== X-Google-Smtp-Source: AGHT+IEM8CjTLXiq2YtiQ8VCGBZZSoTgTALZiNf7Q+7EOHm4qi4Q3Hn3obLORfXsL/mGRe9nz9kp X-Received: by 2002:a05:6808:118c:b0:3c1:6520:b097 with SMTP id j12-20020a056808118c00b003c16520b097mr496258oil.40.1708708717688; Fri, 23 Feb 2024 09:18:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708708717; cv=pass; d=google.com; s=arc-20160816; b=peHZs6+l59kB3+c0SLs+BVUggCj/dDLmKXlm76s5O2sDgWrwwWXpHGQTMjjhwnwxHh /c1HAxQQmTGjabn2l18AWEZkaLDJuKg8hfWs5/ntvQRVmDIjoKgC9uzryxfSdehOSv7d LJDbqZyVHn/YkHGGu5xd35axfleKAZPgzx3WA1/77g0Nig5cY6Rm8TTZ9xMwAKbW4QVk HMnVHrnRajtlRNOlo7BQsO4XrAmchbmk+169v9xIAQ8PUtWdd89/J20lFX8SUxA3/EXN Ki/Uiz/zCrN0/irE42GEPvxQs+ZAy0stYZhzAcX/Vri26urvT8O7h81cU2lXuDJ3es2B nvCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=elZX2JsnjVqwDgNcHU/vYQ/55ZaMJAHP/4ttvXiApXE=; fh=uTI0Psj+XiLXVW33WL9FoLTtwINeDT8RetA5crD6Kps=; b=UP5qlv6f1dXjfOuRxkQP0NNF60oQ7dBHYQp1aKy6v+/lu8GajePHtK7yexZEFHGvHi EUPhwXWBgOJgXgTbHhu0EwAo8A5R2gvI0tWjzHxMUJsNXM53u019TZJz3mo8NlvqCigX 3SE8Wpp0Xhhdia2R7nmQfOnIf1YdJTnsoAovTSKmRL23DaHItEvx6o4p4HE2GkxFyepv M4ZM/WI4VAB25uIXyB+Nm9REOZO8ZqI8QS7Q0UqQXHImG9XFkPWjoIhd3uxG9kGvwv76 blcR3bFZP9GLmeS0X9IcQ4UKDH4Vhcbpu5nFJQOnrUGmMIiiZtyPeoGvTPGLmgIiq3io OC+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jBXx2Oo4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78813-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78813-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id fo11-20020ad45f0b000000b0068f584778c2si13251861qvb.94.2024.02.23.09.18.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:18:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78813-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jBXx2Oo4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78813-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78813-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 731D31C2259E for ; Fri, 23 Feb 2024 17:18:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE07D12D758; Fri, 23 Feb 2024 17:17:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jBXx2Oo4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E1CC823A7; Fri, 23 Feb 2024 17:17:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708708674; cv=none; b=jCTgpCX1903pXOkSosV13W1faQSG1chMqAWi7LoacAMw7wRIoJh9HMNRQVBemhTT44VazyVVE2g2Kch7LZsb8w5o1JvjrUA8oqe1Cu5jZA80PRpxd/bup9MHxftGiIRPXBjxmXIKj39vpQNgp4JRsS8w7aMM7L2tIAVBhRsKaYU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708708674; c=relaxed/simple; bh=yAqE4Gklx+CS9b43iJDoKMxjk5QyMnffq2TCExLKUk8=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=f3TQnXetakyZepdznPonnBabSVR3yo95MKQiN/LDe21T4j2gWXoQxPr2emPFEL/4xGGpN0plzrawDCIbyw9FnQC/ep5OeX2/GR6gayZ8MNgRO0FcvwyAszd7hC9XjPz3mjXKh1e9HIiQLdmd7NaZrCo4cRryHkRfc0WvTWCQb2k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jBXx2Oo4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id C80F0C433F1; Fri, 23 Feb 2024 17:17:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708708673; bh=yAqE4Gklx+CS9b43iJDoKMxjk5QyMnffq2TCExLKUk8=; h=From:Subject:Date:To:Cc:Reply-To:From; b=jBXx2Oo4n56X2vPHDy7uduZsqr+3dG5b2SdOH3qW3/pVc++iCm9yEOpHy3jy57lbn U5XqM0LtL4++5SsSXHS4zBx3ApKIOO4Fex+kp8LCyKizJWqcOE2h59QCnVfxmoxsqZ ahPKHYxRVNF335OWKFA3Bg3E8FBnFsjaa+2JjZwxrta3rKrPvOw2mVGQdSSsXg7Y3M 1hGzK8xsGsW/jmvm8WZFrSzpHMSw00nw2aHuRzLxhkwAjI8bKnlmwpXnGXwG91DeuP +NXG8zEGVprs0uyBVL+WItjr99bU2yy+uWMeJ303ZoZq25VjCYP4ODED+mLci8TH6Y Ig0YhJ2wuAAUQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A26C8C54798; Fri, 23 Feb 2024 17:17:53 +0000 (UTC) From: Yang Xiwen via B4 Relay Subject: [PATCH 0/2] usb: dwc3: add glue driver for Hi3798MV200 Date: Sat, 24 Feb 2024 01:17:48 +0800 Message-Id: <20240224-dwc3-v1-0-7ffb2e2baa73@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIADzT2GUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDI0Nz3ZTyZGNdM0tzCyOLJBMLg8REJaDSgqLUtMwKsDHRsbW1AOQg0ip WAAAA To: Thinh Nguyen , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yang Xiwen Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Yang Xiwen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708708670; l=874; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=yAqE4Gklx+CS9b43iJDoKMxjk5QyMnffq2TCExLKUk8=; b=L/FFhJMRyX2yxgyBw/IzR4EWYcSESiHMGfckFR27oIqWZL2j763k/uZXLFLA/1ei4SiT7MC97 zT471j/+NPMB2WVcMPCt4PgkUqPBJwdn7DLr52+L3+dadQX+MXT8WZR X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen Reply-To: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791710952648416358 X-GMAIL-MSGID: 1791710952648416358 Hi3798MV200 uses DWC3 with a few more clocks and a dedicated reset. Note xhci-histb.c can also be used. But since it's DWC3 in fact, trying to support it with the help of DWC3 framework seems a better solution. Hi3798CV200 can also try to migrate to this driver too. Thus we can remove xhci-histb.c in the future. Signed-off-by: Yang Xiwen --- Yang Xiwen (2): dt-bindings: usb: add hisilicon,hi3798mv200-dwc3 usb: dwc3: of-simple: Add compatible for hi3798mv200 DWC3 controller .../bindings/usb/hisilicon,hi3798mv200-dwc3.yaml | 100 +++++++++++++++++++++ drivers/usb/dwc3/dwc3-of-simple.c | 1 + 2 files changed, 101 insertions(+) --- base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d change-id: 20240217-dwc3-697828b480aa Best regards,