From patchwork Fri Feb 23 17:17:50 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: 205539 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp725980dyb; Fri, 23 Feb 2024 09:18:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUTiYlVVp67svQD4Df6YilR8uQPPHVlAns39Kh9KJOkZZR4A1vhIWRfIpw/BRx5Nxk4gQS03x751j9cZMbVzGfWdmx1Ug== X-Google-Smtp-Source: AGHT+IEcmI5Kz7oqm2jaTXz79BcqK1ze5ownJLjV9np/aGpJuiVtS+8v0QjCnOP3uQ2a839TzWYE X-Received: by 2002:a5b:d51:0:b0:dcd:63f8:ba41 with SMTP id f17-20020a5b0d51000000b00dcd63f8ba41mr490897ybr.42.1708708720481; Fri, 23 Feb 2024 09:18:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708708720; cv=pass; d=google.com; s=arc-20160816; b=wV5Qox/2I07h8mTQRocNZ3OWUs/LSZAPI4ujZD5GfHs21ESlUxUqniUUEfdzpayNuI IX+m26VexcFTzTlrmzVQFRvI0AjHl2sD8ZPzC9UL/lt0KqGEugEdlwHEiBNYoZiKHwHJ DFY4UPz515YpGr/01qCkRAWd7n3xLyIHVXVBeU3WLDFj0VlKi56/UEp+F/4DlYHYksTx PJWuIJlUEHA9zXnAsKEpLg6KPLvthWpnKyBbAz0DD80qHBHbdL7D/Sic/huimDA85eey Ir30pfuF1MfuvkDTQeeyedJlPDz7BLDSN3H/fqafXnbVmN8sYOVeaMxp7p9/IA21jI1i IrMg== 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=y/zL7OIDeUpPiF/TjqONEA5rQn0hDPgB55/CuZ3VvZ84CauVX9M+TYNo+s+Cftp2OH +5eek/iLk6uEKFdIozM6J0Y5cuOSjRkyTZXyaJ2e8fzWypyLUx/9gx6OQzFBtF/shCxq nlMrvzD3JYH2AeaxDcSYm2UTJBJC5ndyto9awLNQoDrkvpRPlwT2s6PYYbFL+YbpY1lc QCtzpWj7rMWu2794++/fELH4SiFU9A4M2wNVeOQeBvmoddiEMO1J7HefOOz0fIOkv3hK nFW8tfLrG3WKhIw5g3CD8tQxbDY22pJkvAm3bZdiLWkZcc5DQFNFiwQYUmFNuS7+kMje ZcTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AYQ5S7ir; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78815-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78815-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. [147.75.199.223]) by mx.google.com with ESMTPS id m18-20020a05620a24d200b0078722740a3esi16794228qkn.647.2024.02.23.09.18.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:18:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78815-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AYQ5S7ir; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78815-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78815-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 2AEDD1C23B48 for ; Fri, 23 Feb 2024 17:18:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 330F713A86A; Fri, 23 Feb 2024 17:17:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AYQ5S7ir" 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 61022129A76; 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=t2pEA3Llbhd1+E3pRacgwVXZfX8YQwpfwDD5LjgEmTUJZXJF1U2T0yZ4Fr9rHgNzbg96KtaW6vYajIE5W5WtZ/DI20NaSbrwXYogXyeLJmRxguDPaV/Gzy7BpBhCRZUTKgdyuDGG1UuUEV0VHYqyIwkropBEwcoAFW1h0QB5TNc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708708674; c=relaxed/simple; bh=A+X94K8nLPrBsMOn/w5jdCaGJfXT7yw62EcicOP2vgo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=deCf+VdQMHTow24+/vNStUYdyOJPRgLimVB25iSjJuL1L5mhyTFuPXKB4FcEi2REoMQvHPsDofsp8vyqv6qDX6ae+MEWW2ok63XN7hxB+q+rHyQh3eJJWkTTjq1wXtBaonQuWBOZ1pUqF5Xx1sr0T9duNc9suY4bbwkMYOqjLlQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AYQ5S7ir; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 052AEC433A6; Fri, 23 Feb 2024 17:17:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708708674; bh=A+X94K8nLPrBsMOn/w5jdCaGJfXT7yw62EcicOP2vgo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=AYQ5S7iriLvhFbkr/s9vYpH8cXsRC1cZ4/ae1w1dBxqHwQ6iD/VbchoYrbNhTJvZA Q8hqlaA5pv6yChIuz3I6wynk5u+t2qZQJt+BN/xNzqUDx2Mpu/IkvbLdsZV/o7U87E P6zL9hYXaBdI4uRzLaF4dn0F47p1ECEAovP12KPY8xBLguMYmQs924BU98GRksVbR4 6bfpvvtPNiW4wcl11KA+p8yriwAdHuUahQEdky1ycD4XQbQ6XyQDpRlzDhPbTN84NH wU5Ke2akhOhPqKnhPYCYCKBwtzZ7W1OD0Z0lNY0Oh30xkGA58VYTC3ALgGE1/xVlUp Bwm+7X8pHdWMQ== 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 DD5ECC54E4C; Fri, 23 Feb 2024 17:17:53 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Sat, 24 Feb 2024 01:17:50 +0800 Subject: [PATCH 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-v1-2-7ffb2e2baa73@outlook.com> References: <20240224-dwc3-v1-0-7ffb2e2baa73@outlook.com> In-Reply-To: <20240224-dwc3-v1-0-7ffb2e2baa73@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=1708708670; l=809; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=CsDB1ujYdciRCCnGm2g0rfxKORwEFR6rPwogWA69oCs=; b=kcoh+3OR2yb6Nda5qLA0fxQS1yg/KkgJopIiTZA9dyseQ3jAdY9OS150JxrtO5PGYvCJVh8PM wHTXeFJgFoZBNcKqFyUxan0nOs1qU67GVQjo2ooc6Bn3y90cbwKsR2a 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: 1791710955172830725 X-GMAIL-MSGID: 1791710955172830725 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 */ } };