Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp111181rbb; Fri, 23 Feb 2024 13:43:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVvhBVdi/Z+rQtxK0PlVi9MhOqttwfrK1uuVUgnUeROL1SHTEzfUgir8O6Lhsl9ijli0oKO7cUJiqxOTaujA/+08lfd5e0Hpv3I9XHz4Q== X-Google-Smtp-Source: AGHT+IF6inU8CM6pxpoKQ++hTh1CYf7l4Xi4JnOXJKxefKLUdLlcLBSbELX4tFxhv1qvXk3e/eUK X-Received: by 2002:a2e:8410:0:b0:2d1:1de5:3c42 with SMTP id z16-20020a2e8410000000b002d11de53c42mr187501ljg.24.1708724624134; Fri, 23 Feb 2024 13:43:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708724624; cv=pass; d=google.com; s=arc-20160816; b=fGELaIQHf8zDkWwQoNozgm+8/f9SbzqZo5KIOfqp+ZGUTy8cMskSpFJsvjqmSv5hg8 xjS9xWDU1GfKDy7VPMgE5MiTE1hNYQ/kEpgFvzXOQPvF8akpCzhC9AeP1bgs1nX0aGFQ 2n+YYlNo9VF/eKTFDz7ExNNqvaI90Sgm31sUMu76RkwTmh/+XkC0pHUZzdqsWPxhfVCO ZgfjYLzROZ7iV92xdhIE0K84ja8B40uI6P962ihB0fX2x5+AxLy1s8HLabw4yw90nXkZ bYwq4URUbePC9e1IFr3lUfRFII80UzXrIeYEA3VpHg3TducxhXm7dCFlsE3Fo9ZEmyf9 MogQ== 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=ulCggC+fY0n7ZredX+mGWdiTw7EuiOCYKmR2AlyJipQ=; fh=uTI0Psj+XiLXVW33WL9FoLTtwINeDT8RetA5crD6Kps=; b=J24dg7c0u3XRpIrfIQGHJRq11EjQ8hcGoja9jSitRB7Q+XAHjowL0sbhIBSLWsbLWW 9WkRx4fjVgj0y9SI0M/YwvXr3e1Zt+jXkLosqBcfkrFIw9u3mKdZ9SI/d44sEL+yyTDx DawyOdiAm+zlDcaeLA7wQhf2he7tkGOGPo1sLuLJ1+je21KDYmsszTD2ej19LiTy2dOo uAoVi40swF4RfQPSN1F1HpuV7x0AFjcWBu8blxF2bzmXb19i44ABfzFFbWDvk6NqhTCW Al9M5DyT20IyZJT5N4Yd1CE7ZAyPqjcH+JMUjD3PUdX4mlzsC4dL5spUmzkdRQy8Hu9C OXAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ijEGgFni; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79224-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79224-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y37-20020a50bb28000000b0056442cf5b95si5577250ede.501.2024.02.23.13.43.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 13:43:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79224-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ijEGgFni; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79224-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79224-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id CB3791F27400 for ; Fri, 23 Feb 2024 21:43:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1469114CADF; Fri, 23 Feb 2024 21:43:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ijEGgFni" 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 165431493BB; Fri, 23 Feb 2024 21:43:14 +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=1708724595; cv=none; b=tDhElV/N/bWq9umSHH7K5ZpWMPHGrcCiIAcu3u8FFxrYATn/Vpw8T3yLuWsPBHqZFYXjOVYcqgIxcNhkGqkTLTB26MZqFE3JrTMtEc6KycLLxSJJyjInfmINs1olDZjJgcIhd6AWIfZdrdvMhGl+zm7YcAbySDBBLwYoRN1w2r4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708724595; c=relaxed/simple; bh=wxmKrh/Cs57CnGFgC1amvY2Csn44ZKMzdK1MVS66FAw=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=SGgydk0G7jsJVF9Ti9vtjZxPCw+1GilR0IuHXRpcO7rMBDRYtfXd2xiDssuSSI/+gHZbAy8adbenE+0UXZv+LJH6sN9vaL1sqgl0ftmi03Ymea/QzswKByxCQeBKPVhDdomjq5mIjasXRAScOlkDeq7Xd2icYstZ0ABIZyXxN74= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ijEGgFni; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 9B0DFC433C7; Fri, 23 Feb 2024 21:43:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708724594; bh=wxmKrh/Cs57CnGFgC1amvY2Csn44ZKMzdK1MVS66FAw=; h=From:Subject:Date:To:Cc:Reply-To:From; b=ijEGgFni62LEo/HJ95y5Enpmbq4UqSS0FpUbrRqayiHs8RoDRozNP1Ev69P4DwFnv TQygTodvfadMReqSOzTvfvTmozO9XvIF1DOPABGnZHok9MmXD6CcKq/7Ei9rmLJwV1 F6I1PfEaX1V3SqgpazvN4XPMOarSdyOvIl5u+WvRwkNhP/JwdvC8nSBIo9gOE1lBwy lv+SrHQxvIlVkyCLWdlvt61Ck+vXkETY82gZ8fp+4R19LWT6EMOq4K4Z4DS0V/R/J/ L4nUAMvHSus1T0o5ubXekWM75KNFav/SQZatqSJqf95PpE9k7ethBIvNIKeuB1Hr/1 08a0bx/nZeBqA== 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 7DA66C54798; Fri, 23 Feb 2024 21:43:14 +0000 (UTC) From: Yang Xiwen via B4 Relay Subject: [PATCH v2 0/2] usb: dwc3: add glue driver for Hi3798MV200 Date: Sat, 24 Feb 2024 05:43:11 +0800 Message-Id: <20240224-dwc3-v2-0-8e4fcd757175@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAG8R2WUC/y3MQQ7CIBCF4as0sxZDp0TQlfcwXQAFO1GLgYqah ruL1eX/8vItkFwkl+DQLBBdpkRhqoGbBuyop7NjNNQG5Cg4tpINT9ux3V4qVEYorjXU6z06T6+ VOfW1R0pziO9Vze13/QMofkBuGWfSe4MOjdayO4bHfA3hsrXhBn0p5QMPbBkDmgAAAA== 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=1708724592; l=1171; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=wxmKrh/Cs57CnGFgC1amvY2Csn44ZKMzdK1MVS66FAw=; b=/y6KnlSRzutvZJNPU9nmWv2ucnSM2BFbmplrG3GtCQGdIKS/YQ/nnXibiML6lMg3E0yNOw7jS u6eecyQOmGID+ddnSVp2f/Vhm9o3fOUgy6hiT3MZdhEKiAeIII3D4uR 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: 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 --- Changes in v2: - remove histb-clock.h as it's deprecated. - fix bot error (Rob Herring) - add a dummy reg property to make simple-bus parent node happy. (duplicate with subnode, not used in driver) - Link to v1: https://lore.kernel.org/r/20240224-dwc3-v1-0-7ffb2e2baa73@outlook.com --- 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 | 103 +++++++++++++++++++++ drivers/usb/dwc3/dwc3-of-simple.c | 1 + 2 files changed, 104 insertions(+) --- base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d change-id: 20240217-dwc3-697828b480aa Best regards, -- Yang Xiwen