From patchwork Fri Feb 23 21:43:12 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: 205710 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp859513dyb; Fri, 23 Feb 2024 13:44:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVjORzT2xg5re30fNO/IgV4bFcQHfHqS7O0NRqpDCjlLrKYTlxcBIcgDrbmi3L9GY4GRIhIvjH+KUTD2XoZx/yHiHjEiQ== X-Google-Smtp-Source: AGHT+IGOmJFCHXeDBpUQei0vFdIM039y9KPnuf1GDNTvsqyz8thQZf8XFeULehtFFGlwkwYMZXf9 X-Received: by 2002:a2e:91d4:0:b0:2d2:4450:92 with SMTP id u20-20020a2e91d4000000b002d244500092mr190729ljg.20.1708724648117; Fri, 23 Feb 2024 13:44:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708724648; cv=pass; d=google.com; s=arc-20160816; b=XxvhjyOG2f6kJerQgKO35YTfvnoCTFv5CN8BduH5TW5hudY2sndRKBE3OtlDyqwe6O enwVej+GYELAI0X8ECOaAM83UdvyJQu+/t8ObnficdYeERtRpYmfdJinwX6KdhybENtt mQci0OS9bV1w8IVWuQG3BJdbpBKCGGQGfUjFuhfSnCSY4MevtrAS9Zzjn7jVpOn1/zTJ hLAjiwhXzqAUhTeeiMHZ+DpSMvHaRcwYo35TUUSTmxWW25MDXi48qNvRCJpQGh0nEd33 fLlqb1yRdaR2QBacPNPCdT3OZPL9Cm6kJl/DeRgHl/7EvgLtdwM1I/JVq0jqtfPqQI4H gAAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=K38kiQpzaw/wi0Zbf9XZFPd3LnLG553cspeoERkUJqM=; fh=uTI0Psj+XiLXVW33WL9FoLTtwINeDT8RetA5crD6Kps=; b=Vzsc1ATxTULhy+LLYYnjPtXTcnEyFiVgClHXVTaehOtk4cYqBN8fNlDXe3vQ+Sg22x 9EqH4+tBrn92gL46HvnZuVNYBfFABGqDg+fS/UIhFAr6gaDEYP7hY3+VqhvcflzgIlQE ddHZSXfx1MEmTyJCbS9Otf0TtGuJgoPcxiEKid8ZIs/Dm5g6KI/64osms5blOHd7Io/x a2B76TMPnqg9NWdajPRZDu6ygYblDC+AdGqBZ7OySiK5VCeoYuOjI8wqMiGPHEDyOxJ/ sqyI71f/AJUfyAweleOEkQBCrtfA//ugHFWCigVkOOrJILWAibPuGVvslXBb0DBt/Pbe t3Zw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QfHyfDqm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79223-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79223-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e16-20020a056402191000b005642413e271si5957681edz.333.2024.02.23.13.44.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 13:44:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79223-ouuuleilei=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=QfHyfDqm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79223-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79223-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B42241F28BA1 for ; Fri, 23 Feb 2024 21:44:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C993114DFEB; Fri, 23 Feb 2024 21:43:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QfHyfDqm" 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 E24EC1493B1; 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=VYgBQKFjsJ9w4C7dLv8qpBP5sd6OeH8KeUfE8xFhDzPgUUpvcBJEQ5E3BRU2ugi8/toCQeV6RuuRnJP62exTgoOkTTCULMO+l28fEPVu3lfTIMcNyNNRLheyeCxczSoxvJ4LVjuN/g0pqoyTuU+p1J1lrgkswgqe1TRP97w3Lwk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708724595; c=relaxed/simple; bh=JlDIzPVB8g61Il6cA8cxo+FBqhvdebJU8biCKYxI6Dc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=L2Dz3DGydgpuobYjCLfJN4yL/MfMfvRRyhVm/XQ/GZxsHPsHHEdWaHDawr3vY86R0oqV1jgZq9NOGlbWsD+RyXeu3OS8eKfxiNuqraQseMdPnZGPv9PRN1Ys8HfQJOXQcx3ZPtfrwtzKUA8jiOQcr1zQJ9fjdZT0Lg2jycBLvgo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QfHyfDqm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id B9A20C43399; 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=JlDIzPVB8g61Il6cA8cxo+FBqhvdebJU8biCKYxI6Dc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=QfHyfDqmGzHQNKQviFH+J8TSfb20QU++tD5qTpSwYS5lz8Lhidn1UBrO7Mi6oq2k+ V9Jp2mwtO95t3RbrkhNUex3XYv0xjDtvaBLhpxaeERQjMH2l3Q8MOAyfnFK5V/3G6b D/LI5oyCXq4SYcrTkcUf4Bkavl/r5mFGlj5ByWmzqswO2Pc7q27D7xJLU3oP79bMio XswpYRzalUekwDsWqJh1ylMSJzN9yKQwtaNV2KBbB5vhu/VCmhIfM109ao3JU4bA+8 jt9S8th4K131WYNoH+k8U618Jh+EL9yWt1hfeBtF7nFAt88RjEQ79iWbrCm/aInrn3 n0rsasHdqOPqA== 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 A262DC54E49; Fri, 23 Feb 2024 21:43:14 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Sat, 24 Feb 2024 05:43:12 +0800 Subject: [PATCH v2 1/2] dt-bindings: usb: add hisilicon,hi3798mv200-dwc3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240224-dwc3-v2-1-8e4fcd757175@outlook.com> References: <20240224-dwc3-v2-0-8e4fcd757175@outlook.com> In-Reply-To: <20240224-dwc3-v2-0-8e4fcd757175@outlook.com> 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=3287; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=rL7ggdfkzgLl7HD8zLKVvIZ6BF4Gsjs6h7u7dfg1NOA=; b=fIUhTl/a+yP8sRgMXvR8ghG2OF5PEG5WLuu3h1YrqoaaddGF1ygaFfVBffAGOmHMZR5MtWP0e mlF7MO9hxuVDvBvq0kdEKhYisN90w44La89aCns1R1qxhCCCi6hhsYo 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: 1791727656618674050 X-GMAIL-MSGID: 1791727656618674050 From: Yang Xiwen Document the DWC3 controller used by Hi3798MV200. Signed-off-by: Yang Xiwen --- .../bindings/usb/hisilicon,hi3798mv200-dwc3.yaml | 103 +++++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/hisilicon,hi3798mv200-dwc3.yaml b/Documentation/devicetree/bindings/usb/hisilicon,hi3798mv200-dwc3.yaml new file mode 100644 index 000000000000..2a93d659414d --- /dev/null +++ b/Documentation/devicetree/bindings/usb/hisilicon,hi3798mv200-dwc3.yaml @@ -0,0 +1,103 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/hisilicon,hi3798mv200-dwc3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HiSilicon Hi3798MV200 DWC3 USB SoC controller + +maintainers: + - Yang Xiwen + +properties: + compatible: + const: hisilicon,hi3798mv200-dwc3 + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + + reg: true + + ranges: true + + clocks: + items: + - description: Controller bus clock + - description: Controller suspend clock + - description: Controller reference clock + - description: Controller gm clock + - description: Controller gs clock + - description: Controller utmi clock + - description: Controller pipe clock + + clock-names: + items: + - const: bus + - const: suspend + - const: ref + - const: gm + - const: gs + - const: utmi + - const: pipe + + resets: + maxItems: 1 + + reset-names: + const: soft + +patternProperties: + '^usb@[0-9a-z]+$': + $ref: snps,dwc3.yaml# + +additionalProperties: false + +required: + - compatible + - '#address-cells' + - '#size-cells' + - ranges + - reg + - clocks + - clock-names + - resets + - reset-names + +examples: + - | + #include + + usb@98a0000 { + compatible = "hisilicon,hi3798mv200-dwc3"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x98a0000 0x10000>; + ranges; + clocks = <&clk_bus>, + <&clk_suspend>, + <&clk_ref>, + <&clk_gm>, + <&clk_gs>, + <&clk_utmi>, + <&clk_pipe>; + clock-names = "bus", "suspend", "ref", "gm", "gs", "utmi", "pipe"; + resets = <&crg 0xb0 12>; + reset-names = "soft"; + + usb@98a0000 { + compatible = "snps,dwc3"; + reg = <0x98a0000 0x10000>; + interrupts = ; + clocks = <&clk_bus>, + <&clk_suspend>, + <&clk_ref>; + clock-names = "bus_early", "suspend", "ref"; + phys = <&usb2_phy1_port2>, <&combphy0 0>; + phy-names = "usb2-phy", "usb3-phy"; + maximum-speed = "super-speed"; + dr_mode = "host"; + }; + }; From patchwork Fri Feb 23 21:43:13 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: 205709 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp859507dyb; Fri, 23 Feb 2024 13:44:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVpgY/P9ULcavm2Lgvn9pDEpeVXDhiYGQ93xhYyT9UTOO01Ks4QHOUCDjbxWh1CMiniU87rTw8ZheaKIqC0aw0E0iPp1g== X-Google-Smtp-Source: AGHT+IF+g9fXliN2H8T7DDdPps8x452UUWo+EnFTVtiOOGI3AlvR+KBUkzs6iiu2wiB8WxP5+QXN X-Received: by 2002:a05:6870:958d:b0:21e:5a2b:58ac with SMTP id k13-20020a056870958d00b0021e5a2b58acmr1269101oao.15.1708724647328; Fri, 23 Feb 2024 13:44:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708724647; cv=pass; d=google.com; s=arc-20160816; b=i/4+hb7Gf3MigZKqW74KkfCcKgtjw5ge4Iw6tbDbJjS71Njrm8o/E0FkeSVarqbYV/ aZpcCHbJn1h0IrR9PSJLaa+0w96GejpgzvOPtnuX82ErHXZaQz/bBUbjjisXtvWjQzjn YiiQA564p+g2//E62PlNUbHGu/BEFmZjV6Kjk4BU3bCkZbkjwYaTBrIVglcN1hgHau0a dITeSmeab5ZL0bc917G8YIx6J1kvOxcICnrc+eXWqhwU0qw3r7bMYqPYiXlvRHe5/IC1 U92cQA4P8ooTK3B3CUjsbxXUMQjcAnPluQ5/hLOX18AMEeD2GtOYkZ28szFH9g3kugTP tHhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=1WcQZtxU0eIWMF1frmavsLgpJ67HMl7DpZbtZbGjr4c=; fh=uTI0Psj+XiLXVW33WL9FoLTtwINeDT8RetA5crD6Kps=; b=OBGL2yW9euL3nWltBuUal1MK5cGFt0Gw+0lbcrs50gV++xfzSsRSIP1mTZimV6iDbM R3pvSAlRHsGAxKefZGi4ES00DUb7GqqBydl2o/kwGyCFq0P8qZ4e7UQnMCq+8nns+mLr 8D7GnktigL/CKEMoOnTYSOeRXCBcD8aa5Wm6X1i3ltNMbRHsaoQMAY76+KJGRY1DSITK 1FShkM6sZu0BHXPbQgJJ/veaAOOhjM8N2Da6EoYfebYaNHr+ig78GE+BeXFE8ItDAPC3 OHU5vzHndi3uRF025IuRcaoBciIohAnp4dGPiNdQx4wia7KstRqvBuoOFORJ+OeAtp/+ b8Ew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N2jlm2LS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79225-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79225-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m190-20020a633fc7000000b005ceb5338d74si12600895pga.510.2024.02.23.13.44.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 13:44:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79225-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N2jlm2LS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79225-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79225-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 219052888C3 for ; Fri, 23 Feb 2024 21:44:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CEE6014DFEC; Fri, 23 Feb 2024 21:43:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="N2jlm2LS" 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 3C08514AD1C; Fri, 23 Feb 2024 21:43:15 +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=BNcU+ekZf+24To0mQXfDYBxri1KLHvOyYh+Qce3uTEuOHppnWe2+gLnqcslUtB3YcFPomnCYkgMCVffnW3dCUg4iA9L6RH6sn/wjD272ioymshZpLYQXpenARqaSjaZ/vVoJs9Cn+86V1LUUY9D4hjeBHijiXl/fu4BKJ7CFb78= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708724595; c=relaxed/simple; bh=A+X94K8nLPrBsMOn/w5jdCaGJfXT7yw62EcicOP2vgo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aWCt6+EkXyfijJ9mSUWwC8cLhyqSc4+wewE5iSaLPG/+TXcJnzOfG2icMO24loIiV5aoHo/Akx8bJvtW0b6vuljnSwL3lMSO1rg8xnTfxKKpTYAoIOPCE+LGP0Zx/AmV5ynX54XjJz5qJ1ToQwsxbULrKT0N/XsjhPFO1m10B0A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=N2jlm2LS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id CE18EC433A6; 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=A+X94K8nLPrBsMOn/w5jdCaGJfXT7yw62EcicOP2vgo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=N2jlm2LSWwpWIgQoD2l01K7mN4xxRkgRZBgd+l0Cqdsz+VOLi2UbuJy8ULla2QKWZ y8vbwvVJNyKjbOcv6i2i8OoSYPfo9OM7WJ39iHF3ypRYbJF+XODLfs55puUdc4pOkc E9qLwZ8nycmdTg0g7Yvrym/Bz+xtfWy9Sr7kh5sZENMPIiZwAA7ahWyaxwAJJ34Z/S 60wALmy6wrprfOFSzAK8yfpLTzOVmBg7NYDWdhUULw+RGnoEROhuISuQu+YqK5dORi T3NzRddP6PXPbycU0EZND5Ztti2TOnZ8c+RJBR8mju+k/8MK/tTTj5zY0Xvtyb6rfu MlXuO0h1Y/osA== 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 AFA6CC54E4F; Fri, 23 Feb 2024 21:43:14 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Sat, 24 Feb 2024 05:43:13 +0800 Subject: [PATCH v2 2/2] usb: dwc3: of-simple: Add compatible for hi3798mv200 DWC3 controller Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240224-dwc3-v2-2-8e4fcd757175@outlook.com> References: <20240224-dwc3-v2-0-8e4fcd757175@outlook.com> In-Reply-To: <20240224-dwc3-v2-0-8e4fcd757175@outlook.com> 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=809; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=CsDB1ujYdciRCCnGm2g0rfxKORwEFR6rPwogWA69oCs=; b=KkKHeuyBlpvQfJvXcl1xGd95Gd6boVNpwtooXy/M1MormomR7w53c6GZkvmN48t1alclr7B73 bw3agINaGzkBq1DUqv68Eq1RJ+15RdleLVe9rBI4JL4uf8Wuix8qZgx 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: 1791727655427812561 X-GMAIL-MSGID: 1791727655427812561 From: Yang Xiwen Hi3798MV200 uses dwc3 controller with a few more clocks and a dedicated resets. Use of_simple driver for it. Signed-off-by: Yang Xiwen --- drivers/usb/dwc3/dwc3-of-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c index d1539fc9eabd..158acae08af5 100644 --- a/drivers/usb/dwc3/dwc3-of-simple.c +++ b/drivers/usb/dwc3/dwc3-of-simple.c @@ -173,6 +173,7 @@ static const struct of_device_id of_dwc3_simple_match[] = { { .compatible = "sprd,sc9860-dwc3" }, { .compatible = "allwinner,sun50i-h6-dwc3" }, { .compatible = "hisilicon,hi3670-dwc3" }, + { .compatible = "hisilicon,hi3798mv200-dwc3" }, { .compatible = "intel,keembay-dwc3" }, { /* Sentinel */ } };